Once you have all this, you can start playing around with HTML email (http://en.wikipedia.org/wiki/HTML_e-mail) and allowing your users to have more control over what gets emmedded in the email.
The best advice I can give is to start small and not get too fancy too quickly.
当您准备好发送时 邮件只需使用 php mail 发送消息的功能(可以 将所有地址放入密件抄送中,或者 向每个人发送一条消息 用户。
Know the mail limits of your mail server that php will be using, this could severely limit your mailing list growth.
Use some sort of database to store list member emails.
When you are ready to send mail just use the php mail function to send your message (can put all the addresses in bcc, or send out a single message to each user.
Do you mean a website Private Messaging system (PM) rather than email? Like many forums use?
If so it's probably too big a question to answer here, I've found this http://sourceforge.net/projects/privatemessagin/ on sourceforge which might give you a head-start. But as a programming project even for a relative beginner it shouldn't be too difficult.
Are your users already sign in with a username and password? If so that's half the problem solved, now all you need is some way to send a message, which should be just a simple form that posts to a database, then when a user logs in he needs to be alerted that they have a mail which is just a case of querying the database. Nothing too complicated.
发布评论
评论(4)
我将从基础知识开始,
一旦你完成了所有这些,你就可以开始使用 HTML 电子邮件(http://en.wikipedia.org/wiki/HTML_e-mail)并允许您的用户更好地控制电子邮件中嵌入的内容。
我能给出的最好建议是从小事做起,不要太快变得太花哨。
I would start with the basics
Once you have all this, you can start playing around with HTML email (http://en.wikipedia.org/wiki/HTML_e-mail) and allowing your users to have more control over what gets emmedded in the email.
The best advice I can give is to start small and not get too fancy too quickly.
如果您想弄清楚如何使用 PHP 发送电子邮件,有无数的选择。最基本的是使用 PHP 的内置邮件功能 (http://php.net/mail)。更严重的是,您可以使用 PHPMailer: http://sourceforge.net/projects/phpmailer/ 如果如果您正在寻找开箱即用的解决方案,可以使用 PHPList: http://www.phplist.com/
如果我误解了您的意思,并且您希望在网站上分发电子邮件地址,您可以查看 Google Apps:http://www.google.com/apps/
我不知道还能向您指出哪里。
If you're trying to figure out how to send email PHP, there are endless options. The most basic is using PHP's built - in mail function (http://php.net/mail). More seriously, you can use PHPMailer: http://sourceforge.net/projects/phpmailer/ If you're looking for an out of the box solution, you can use PHPList: http://www.phplist.com/
If I misundestood and you're looking at handing out email addresses on your website, you can look into Google Apps: http://www.google.com/apps/
I'm not sure where else to point you.
php 将使用的服务器,这个
可能会严重限制您的邮寄
列表增长。
电子邮件。
邮件只需使用 php
mail
发送消息的功能(可以
将所有地址放入密件抄送中,或者
向每个人发送一条消息
用户。
server that php will be using, this
could severely limit your mailing
list growth.
emails.
mail just use the php
mail
function to send your message (can
put all the addresses in bcc, or
send out a single message to each
user.
您是指网站私人消息系统 (PM) 而不是电子邮件吗?像很多论坛都用的?
如果是这样,这个问题可能太大了,无法在这里回答,我发现了这个 http://sourceforge.net/ sourceforge 上的projects/privatemessagin/ 这可能会给你一个良好的开端。但作为一个编程项目,即使对于相对初学者来说也不应该太困难。
您的用户是否已使用用户名和密码登录?如果是这样,问题就解决了一半,现在您需要的只是某种发送消息的方法,这应该只是一个发布到数据库的简单表单,然后当用户登录时,需要提醒他他们有一封邮件只是查询数据库的情况。没什么太复杂的。
Do you mean a website Private Messaging system (PM) rather than email? Like many forums use?
If so it's probably too big a question to answer here, I've found this http://sourceforge.net/projects/privatemessagin/ on sourceforge which might give you a head-start. But as a programming project even for a relative beginner it shouldn't be too difficult.
Are your users already sign in with a username and password? If so that's half the problem solved, now all you need is some way to send a message, which should be just a simple form that posts to a database, then when a user logs in he needs to be alerted that they have a mail which is just a case of querying the database. Nothing too complicated.