note 80726 deleted from function.mail by danbrown

From: Date: Sat, 25 Apr 2009 14:57:03 +0000
Subject: note 80726 deleted from function.mail by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-153728@lists.php.net to get a copy of this message
Note Submitter: apdhanushka at yahoo dot com ---- It is a common problem for all using php mail function. To solve this there are so many answers I have seen in the internet and they do not hit problem correctly. Actually the problem here is if we send mails using php mail function we do not have a signature and other mailing systems thinks that we are spamers. So the solution is using a free remote smtp host like gmail to send our mails. It is not hard because we have a free php smtp project called PHPMailer. You can download it from http://sourceforge.net/project/showfiles.php?group_id=26031 . You do not need to install it on your server. It is very easy to understand how it is used to send mails using examples zipped with PHPMailer. The following code is to send emails using gmail and to do that you have to have a gmail mail account. Which can easily be created by visiting http://gmail.com. Your mails will send using that mail account and they will never become spams... To see the complete code for sending emails use following link http://bestdeveloper.blogspot.com

« previous php.notes (#153728) next »