<?xml version="1.0" encoding="utf-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Sending e-mails via SMTP with PHPmailer and Gmail</title>
	<atom:link href="http://www.web-development-blog.com/archives/send-e-mail-messages-via-smtp-with-phpmailer-and-gmail/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.web-development-blog.com/archives/send-e-mail-messages-via-smtp-with-phpmailer-and-gmail/</link>
	<description>Web development tutorials, SEO articles and PHP script resources</description>
	<lastBuildDate>Tue, 09 Mar 2010 21:51:38 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: David McLeary</title>
		<link>http://www.web-development-blog.com/archives/send-e-mail-messages-via-smtp-with-phpmailer-and-gmail/comment-page-1/#comment-118349</link>
		<dc:creator>David McLeary</dc:creator>
		<pubDate>Mon, 21 Sep 2009 10:25:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.web-development-blog.com/?p=393#comment-118349</guid>
		<description>Hi,

Excellent article. I am often having problems with my shared host being blacklisted through genuine email distribution scripts on the accounts within it and this script looks like an excellent way around that.

Of interest, http://mxtoolbox.com/blacklists.aspx is a good resource for checking blacklist status if you&#039;re having trouble sending, as I was.

Regards,


David McLeary
Emerging Innovations</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>Excellent article. I am often having problems with my shared host being blacklisted through genuine email distribution scripts on the accounts within it and this script looks like an excellent way around that.</p>
<p>Of interest, <a href="http://mxtoolbox.com/blacklists.aspx" rel="nofollow">http://mxtoolbox.com/blacklists.aspx</a> is a good resource for checking blacklist status if you&#8217;re having trouble sending, as I was.</p>
<p>Regards,</p>
<p>David McLeary<br />
Emerging Innovations</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Olaf</title>
		<link>http://www.web-development-blog.com/archives/send-e-mail-messages-via-smtp-with-phpmailer-and-gmail/comment-page-1/#comment-118158</link>
		<dc:creator>Olaf</dc:creator>
		<pubDate>Mon, 14 Sep 2009 18:26:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.web-development-blog.com/?p=393#comment-118158</guid>
		<description>Hi Jeff,

lloyd27&#039;s snippet is just to demonstrate the error handling, it&#039;s not related to the mail function in this tutorial.

The code like described works very well.</description>
		<content:encoded><![CDATA[<p>Hi Jeff,</p>
<p>lloyd27&#8217;s snippet is just to demonstrate the error handling, it&#8217;s not related to the mail function in this tutorial.</p>
<p>The code like described works very well.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jeff</title>
		<link>http://www.web-development-blog.com/archives/send-e-mail-messages-via-smtp-with-phpmailer-and-gmail/comment-page-1/#comment-118157</link>
		<dc:creator>Jeff</dc:creator>
		<pubDate>Mon, 14 Sep 2009 17:16:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.web-development-blog.com/?p=393#comment-118157</guid>
		<description>Sorry Olaf and lloyd27 my php isn&#039;t fluent.  Am I missing something?  How is lloyd27&#039;s call to the function attempting to send via gmail?  He&#039;s set the parameter $is_gmail to false.</description>
		<content:encoded><![CDATA[<p>Sorry Olaf and lloyd27 my php isn&#8217;t fluent.  Am I missing something?  How is lloyd27&#8217;s call to the function attempting to send via gmail?  He&#8217;s set the parameter $is_gmail to false.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Olaf</title>
		<link>http://www.web-development-blog.com/archives/send-e-mail-messages-via-smtp-with-phpmailer-and-gmail/comment-page-1/#comment-118034</link>
		<dc:creator>Olaf</dc:creator>
		<pubDate>Mon, 07 Sep 2009 17:54:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.web-development-blog.com/?p=393#comment-118034</guid>
		<description>Nice addition lloyd27, thanks.</description>
		<content:encoded><![CDATA[<p>Nice addition lloyd27, thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: lloyd27</title>
		<link>http://www.web-development-blog.com/archives/send-e-mail-messages-via-smtp-with-phpmailer-and-gmail/comment-page-1/#comment-118031</link>
		<dc:creator>lloyd27</dc:creator>
		<pubDate>Mon, 07 Sep 2009 15:34:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.web-development-blog.com/?p=393#comment-118031</guid>
		<description>I suggest the function could return true in case of succcess, and the error message in case the email is not sent, so not global variable is used, and the outside code would be something like

if (($error = smtpmailer($to, $from, $name, $subj, $msg, false)) === true)
{
  // Everything went fine
}
else
{
  echo $error;
}</description>
		<content:encoded><![CDATA[<p>I suggest the function could return true in case of succcess, and the error message in case the email is not sent, so not global variable is used, and the outside code would be something like</p>
<p>if (($error = smtpmailer($to, $from, $name, $subj, $msg, false)) === true)<br />
{<br />
  // Everything went fine<br />
}<br />
else<br />
{<br />
  echo $error;<br />
}</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Olaf</title>
		<link>http://www.web-development-blog.com/archives/send-e-mail-messages-via-smtp-with-phpmailer-and-gmail/comment-page-1/#comment-118020</link>
		<dc:creator>Olaf</dc:creator>
		<pubDate>Mon, 07 Sep 2009 04:23:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.web-development-blog.com/?p=393#comment-118020</guid>
		<description>hello Chris,

great that you like the tutorial.
You&#039;re right without a SPF record it&#039;s very risky even if you use Google Apps for your domain. check this information from the Google help:
http://www.google.com/support/a/bin/answer.py?hl=en&amp;answer=33786</description>
		<content:encoded><![CDATA[<p>hello Chris,</p>
<p>great that you like the tutorial.<br />
You&#8217;re right without a SPF record it&#8217;s very risky even if you use Google Apps for your domain. check this information from the Google help:<br />
<a href="http://www.google.com/support/a/bin/answer.py?hl=en&#038;answer=33786" rel="nofollow">http://www.google.com/support/a/bin/answer.py?hl=en&#038;answer=33786</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris Henry</title>
		<link>http://www.web-development-blog.com/archives/send-e-mail-messages-via-smtp-with-phpmailer-and-gmail/comment-page-1/#comment-118014</link>
		<dc:creator>Chris Henry</dc:creator>
		<pubDate>Sun, 06 Sep 2009 21:16:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.web-development-blog.com/?p=393#comment-118014</guid>
		<description>Really cool tutorial.  The best way to get into the inbox is not send mail from your own server, and let someone else deal with it.  

That said, there are plenty of other factors that will will put your email in the spam folder.  Reverse PTR, SPF Records, Domain Keys, and various mail headers are things that will still need to be set correctly for your email to make it to the Inbox.</description>
		<content:encoded><![CDATA[<p>Really cool tutorial.  The best way to get into the inbox is not send mail from your own server, and let someone else deal with it.  </p>
<p>That said, there are plenty of other factors that will will put your email in the spam folder.  Reverse PTR, SPF Records, Domain Keys, and various mail headers are things that will still need to be set correctly for your email to make it to the Inbox.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Olaf</title>
		<link>http://www.web-development-blog.com/archives/send-e-mail-messages-via-smtp-with-phpmailer-and-gmail/comment-page-1/#comment-117902</link>
		<dc:creator>Olaf</dc:creator>
		<pubDate>Thu, 03 Sep 2009 04:38:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.web-development-blog.com/?p=393#comment-117902</guid>
		<description>Hi Alexandr,

that&#039;s right port 465 is needed by Gmail&#039;s SMTP server. In my example script this port is only used for that server. The fall-back example is using the default SMTP Port: 25.

The requirements are related to sending mails via Gmail&#039;s SMTP server.</description>
		<content:encoded><![CDATA[<p>Hi Alexandr,</p>
<p>that&#8217;s right port 465 is needed by Gmail&#8217;s SMTP server. In my example script this port is only used for that server. The fall-back example is using the default SMTP Port: 25.</p>
<p>The requirements are related to sending mails via Gmail&#8217;s SMTP server.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alexandr</title>
		<link>http://www.web-development-blog.com/archives/send-e-mail-messages-via-smtp-with-phpmailer-and-gmail/comment-page-1/#comment-117899</link>
		<dc:creator>Alexandr</dc:creator>
		<pubDate>Wed, 02 Sep 2009 23:13:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.web-development-blog.com/?p=393#comment-117899</guid>
		<description>You have misstype in requirements, 
port 465 it is Gmail server port and PHPMailer don&#039;t need to open it on your server. You have set it as server settings in you class configuration.

So you need to verify possibility connections to this port on another server, not your server port.

PS:
port 465 is SMTPs port - secure SMTP</description>
		<content:encoded><![CDATA[<p>You have misstype in requirements,<br />
port 465 it is Gmail server port and PHPMailer don&#8217;t need to open it on your server. You have set it as server settings in you class configuration.</p>
<p>So you need to verify possibility connections to this port on another server, not your server port.</p>
<p>PS:<br />
port 465 is SMTPs port &#8211; secure SMTP</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Olaf</title>
		<link>http://www.web-development-blog.com/archives/send-e-mail-messages-via-smtp-with-phpmailer-and-gmail/comment-page-1/#comment-117859</link>
		<dc:creator>Olaf</dc:creator>
		<pubDate>Wed, 02 Sep 2009 09:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.web-development-blog.com/?p=393#comment-117859</guid>
		<description>Just noticed that I forgot to use the Cc option inside the function. I removed it from the example 

(this information is for people read the tutorial within the last 12 hours)</description>
		<content:encoded><![CDATA[<p>Just noticed that I forgot to use the Cc option inside the function. I removed it from the example </p>
<p>(this information is for people read the tutorial within the last 12 hours)</p>
]]></content:encoded>
	</item>
</channel>
</rss>
