dongre6073 2010-04-28 21:28
浏览 103
已采纳

PHP - 如何将数据库中的内容添加到新闻稿中?

Hey guys. I need help for a project for school. Essentially, I need to write a program that sends newsletters. I can send the newsletters and stuff, but the main issue I'm having is that the newsletter needs to contain things that are contained in a database. How exactly do I draw those things and put them into a newsletter? The bulk of it needs to be in PHP, but Java and stuff can be used, if needed. Also, I cant install anything on my portion of the schools server, so I cant use any CMS's and stuff.

  • 写回答

2条回答 默认 最新

  • douhuang9886 2010-04-28 21:42
    关注

    Unless you are writing this for fun and learning, don't do it.

    You will get your IP blacklisted and have lots of problems. there are regulations (CAN SPAM etc) and best practices (SPF, domain keys etc) you need to follow if you want this to be successful. Otherwise you will not get any of your mail delivered, and possibly a call form your ISP.

    How do you handle unsubscribes? How are you going to handle bounces? Mail loops? Blacklisting of problem addresses? This is not a simple topic.

    You would be better off purchasing a email management system;.

    Lyris makes one that you can install. There are other free/open source projects as well (majordomo, mailman etc).

    Heed these words intrepid e-mailer!

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(1条)

报告相同问题?