<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: PHPMailer and smtp on 1and1 shared hosting</title>
	<atom:link href="http://webolio.wordpress.com/2008/03/02/phpmailer-and-smtp-on-1and1-shared-hosting/feed/" rel="self" type="application/rss+xml" />
	<link>http://webolio.wordpress.com/2008/03/02/phpmailer-and-smtp-on-1and1-shared-hosting/</link>
	<description></description>
	<lastBuildDate>Fri, 06 Nov 2009 20:12:44 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Simo</title>
		<link>http://webolio.wordpress.com/2008/03/02/phpmailer-and-smtp-on-1and1-shared-hosting/#comment-74</link>
		<dc:creator>Simo</dc:creator>
		<pubDate>Fri, 03 Jul 2009 18:21:07 +0000</pubDate>
		<guid isPermaLink="false">http://webolio.wordpress.com/?p=16#comment-74</guid>
		<description>I can&#039;t really tell by the line you sent me.. and even that line has nothing wrong with it really. if you can get to the command line and type:
php -v 
that would return the version info of php that 1and1 uses.

Also it might help to replace phpmailer.php with the latest version which you can get from : http://downloads.sourceforge.net/sourceforge/phpmailer/PHPMailer-ML_v1.5.zip?use_mirror=superb-east

Hope this helps..</description>
		<content:encoded><![CDATA[<p>I can&#8217;t really tell by the line you sent me.. and even that line has nothing wrong with it really. if you can get to the command line and type:<br />
php -v<br />
that would return the version info of php that 1and1 uses.</p>
<p>Also it might help to replace phpmailer.php with the latest version which you can get from : <a href="http://downloads.sourceforge.net/sourceforge/phpmailer/PHPMailer-ML_v1.5.zip?use_mirror=superb-east" rel="nofollow">http://downloads.sourceforge.net/sourceforge/phpmailer/PHPMailer-ML_v1.5.zip?use_mirror=superb-east</a></p>
<p>Hope this helps..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Cameron</title>
		<link>http://webolio.wordpress.com/2008/03/02/phpmailer-and-smtp-on-1and1-shared-hosting/#comment-73</link>
		<dc:creator>Cameron</dc:creator>
		<pubDate>Fri, 03 Jul 2009 14:37:15 +0000</pubDate>
		<guid isPermaLink="false">http://webolio.wordpress.com/?p=16#comment-73</guid>
		<description>Thanks for the quick reply! 

public $Priority = 3;

(This is the first line of the class after the declaration: “class PHPMailer { ” )

I saw on another forum that a user received the same (or similar) error, and I looked into a different version. How do I tell which version of PHP 1and1 is running? Can you tell which one I have/should have based on the above info?</description>
		<content:encoded><![CDATA[<p>Thanks for the quick reply! </p>
<p>public $Priority = 3;</p>
<p>(This is the first line of the class after the declaration: “class PHPMailer { ” )</p>
<p>I saw on another forum that a user received the same (or similar) error, and I looked into a different version. How do I tell which version of PHP 1and1 is running? Can you tell which one I have/should have based on the above info?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Cameron</title>
		<link>http://webolio.wordpress.com/2008/03/02/phpmailer-and-smtp-on-1and1-shared-hosting/#comment-72</link>
		<dc:creator>Cameron</dc:creator>
		<pubDate>Fri, 03 Jul 2009 14:01:17 +0000</pubDate>
		<guid isPermaLink="false">http://webolio.wordpress.com/?p=16#comment-72</guid>
		<description>Thanks for the quick reply!

  public $Priority          = 3;

(This is the first line of the class after the declaration: &quot;class PHPMailer {  &quot; )

I saw on another forum that a user received the same (or similar) error, and I looked into a different version. How do I tell which version of PHP 1and1 is running? Can you tell which one I have/should have based on the above info?</description>
		<content:encoded><![CDATA[<p>Thanks for the quick reply!</p>
<p>  public $Priority          = 3;</p>
<p>(This is the first line of the class after the declaration: &#8220;class PHPMailer {  &#8221; )</p>
<p>I saw on another forum that a user received the same (or similar) error, and I looked into a different version. How do I tell which version of PHP 1and1 is running? Can you tell which one I have/should have based on the above info?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Simo</title>
		<link>http://webolio.wordpress.com/2008/03/02/phpmailer-and-smtp-on-1and1-shared-hosting/#comment-71</link>
		<dc:creator>Simo</dc:creator>
		<pubDate>Fri, 03 Jul 2009 13:57:20 +0000</pubDate>
		<guid isPermaLink="false">http://webolio.wordpress.com/?p=16#comment-71</guid>
		<description>Looks like you have a script error which might be related to a different version of PHP on 1and1 servers..you might just want to upgrade your phpmailer version..can you send me the line at 87 of your phpmailer.php.</description>
		<content:encoded><![CDATA[<p>Looks like you have a script error which might be related to a different version of PHP on 1and1 servers..you might just want to upgrade your phpmailer version..can you send me the line at 87 of your phpmailer.php.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Cameron</title>
		<link>http://webolio.wordpress.com/2008/03/02/phpmailer-and-smtp-on-1and1-shared-hosting/#comment-70</link>
		<dc:creator>Cameron</dc:creator>
		<pubDate>Fri, 03 Jul 2009 13:41:00 +0000</pubDate>
		<guid isPermaLink="false">http://webolio.wordpress.com/?p=16#comment-70</guid>
		<description>I&#039;m actually getting a different error:

Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or &#039;}&#039; in /homepages/13/d191942467/htdocs/includes/classes/phpmailer.php on line 87

I am using the exact same script on many other sites that are not hosted with 1and1 and I&#039;m thinking my host is the problem. I don&#039;t know much about phpMailer, but I don&#039;t have a $mail-&gt;isSmtp() or mail(). I&#039;m only using phpMailer as a contact form, so it&#039;s only trying to send one e-mail, which is supposed to come to me.

Any help would be much appreciated.</description>
		<content:encoded><![CDATA[<p>I&#8217;m actually getting a different error:</p>
<p>Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or &#8216;}&#8217; in /homepages/13/d191942467/htdocs/includes/classes/phpmailer.php on line 87</p>
<p>I am using the exact same script on many other sites that are not hosted with 1and1 and I&#8217;m thinking my host is the problem. I don&#8217;t know much about phpMailer, but I don&#8217;t have a $mail-&gt;isSmtp() or mail(). I&#8217;m only using phpMailer as a contact form, so it&#8217;s only trying to send one e-mail, which is supposed to come to me.</p>
<p>Any help would be much appreciated.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sebastien G.</title>
		<link>http://webolio.wordpress.com/2008/03/02/phpmailer-and-smtp-on-1and1-shared-hosting/#comment-66</link>
		<dc:creator>Sebastien G.</dc:creator>
		<pubDate>Mon, 20 Apr 2009 15:48:56 +0000</pubDate>
		<guid isPermaLink="false">http://webolio.wordpress.com/?p=16#comment-66</guid>
		<description>Wow... just tried the isSendEmail thing... and it worked... after freaking like 4 hours of researches...

thks a LOT !</description>
		<content:encoded><![CDATA[<p>Wow&#8230; just tried the isSendEmail thing&#8230; and it worked&#8230; after freaking like 4 hours of researches&#8230;</p>
<p>thks a LOT !</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Eduardo Bortoluzzi</title>
		<link>http://webolio.wordpress.com/2008/03/02/phpmailer-and-smtp-on-1and1-shared-hosting/#comment-63</link>
		<dc:creator>Eduardo Bortoluzzi</dc:creator>
		<pubDate>Wed, 18 Feb 2009 14:15:54 +0000</pubDate>
		<guid isPermaLink="false">http://webolio.wordpress.com/?p=16#comment-63</guid>
		<description>Thank you very much for sharing the info, i just changed to isSendMail() and it works now, i was proper pissed off with that, waited till the last piece of pacience to change it to isSendMail... but there you go, try it if youre having problems with 1&amp;1! they only had info about mail() and not phpmailer! 

Cheers</description>
		<content:encoded><![CDATA[<p>Thank you very much for sharing the info, i just changed to isSendMail() and it works now, i was proper pissed off with that, waited till the last piece of pacience to change it to isSendMail&#8230; but there you go, try it if youre having problems with 1&amp;1! they only had info about mail() and not phpmailer! </p>
<p>Cheers</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mike</title>
		<link>http://webolio.wordpress.com/2008/03/02/phpmailer-and-smtp-on-1and1-shared-hosting/#comment-62</link>
		<dc:creator>mike</dc:creator>
		<pubDate>Tue, 17 Feb 2009 00:15:23 +0000</pubDate>
		<guid isPermaLink="false">http://webolio.wordpress.com/?p=16#comment-62</guid>
		<description>hey thanks for the solution -- this worked like a charm on 1and1.   we moved a site from a local server that kept crashing to 1and1 and this was the only script that kept failing.</description>
		<content:encoded><![CDATA[<p>hey thanks for the solution &#8212; this worked like a charm on 1and1.   we moved a site from a local server that kept crashing to 1and1 and this was the only script that kept failing.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David</title>
		<link>http://webolio.wordpress.com/2008/03/02/phpmailer-and-smtp-on-1and1-shared-hosting/#comment-60</link>
		<dc:creator>David</dc:creator>
		<pubDate>Wed, 31 Dec 2008 00:41:54 +0000</pubDate>
		<guid isPermaLink="false">http://webolio.wordpress.com/?p=16#comment-60</guid>
		<description>Thank you! You are a savior!</description>
		<content:encoded><![CDATA[<p>Thank you! You are a savior!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: graz</title>
		<link>http://webolio.wordpress.com/2008/03/02/phpmailer-and-smtp-on-1and1-shared-hosting/#comment-57</link>
		<dc:creator>graz</dc:creator>
		<pubDate>Mon, 15 Dec 2008 17:23:04 +0000</pubDate>
		<guid isPermaLink="false">http://webolio.wordpress.com/?p=16#comment-57</guid>
		<description>HI guys, thank you for this thread, that has been quite useful. I am actually using the 1and1 SMTP server as a relay: a PHP app connects to the 1and1 SMTP server to send e-mails to a set of subscribers. I had some initial problems but eventually everything seems to be ok (this scenario, however, is a bit different than the scenario you describe as my &quot;client&quot; is not hosted by 1and1 yet). As you say, 1and1 probably closed its outgoing smtp ports on its shared hosting servers. However,  the following properties setting may be of help:
$mail-&gt;IsSMTP();
$mail-&gt;SMTPAuth   = true;                  // enable SMTP authentication
$mail-&gt;Host         = &quot;auth.smtp.1and1.co.uk&quot;;
$mail-&gt;Port       = 25;                   // set the SMTP port
// do not set $mail-&gt;SMTPSecure !
-of course-
you will need to assign $mail-&gt;Username and $mail-&gt;Password

With this configuration I could consume the SMTP server of 1and1 (uk based, at least).
Last: I have seen that you are using the IP address instead of a hostname - the different behaviour, likely, is not because PHPmailer but it should be due to the overhead in looking up - overhead that you avoid when using the IP address.

Thank you for your post
Regards
daniel</description>
		<content:encoded><![CDATA[<p>HI guys, thank you for this thread, that has been quite useful. I am actually using the 1and1 SMTP server as a relay: a PHP app connects to the 1and1 SMTP server to send e-mails to a set of subscribers. I had some initial problems but eventually everything seems to be ok (this scenario, however, is a bit different than the scenario you describe as my &#8220;client&#8221; is not hosted by 1and1 yet). As you say, 1and1 probably closed its outgoing smtp ports on its shared hosting servers. However,  the following properties setting may be of help:<br />
$mail-&gt;IsSMTP();<br />
$mail-&gt;SMTPAuth   = true;                  // enable SMTP authentication<br />
$mail-&gt;Host         = &#8220;auth.smtp.1and1.co.uk&#8221;;<br />
$mail-&gt;Port       = 25;                   // set the SMTP port<br />
// do not set $mail-&gt;SMTPSecure !<br />
-of course-<br />
you will need to assign $mail-&gt;Username and $mail-&gt;Password</p>
<p>With this configuration I could consume the SMTP server of 1and1 (uk based, at least).<br />
Last: I have seen that you are using the IP address instead of a hostname &#8211; the different behaviour, likely, is not because PHPmailer but it should be due to the overhead in looking up &#8211; overhead that you avoid when using the IP address.</p>
<p>Thank you for your post<br />
Regards<br />
daniel</p>
]]></content:encoded>
	</item>
</channel>
</rss>
