<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Tomislav Mihajlovic (Toma) &#124; SEO and Internet marketing Consultant &#187; from</title>
	<atom:link href="http://www.toma2u.com/tag/from/feed" rel="self" type="application/rss+xml" />
	<link>http://www.toma2u.com</link>
	<description>Tomislav Mihajlovic (Toma) - Search Engine Optimization, First page on Google, AdSense and AdWords consulting, Cheap Websites...</description>
	<lastBuildDate>Tue, 27 Jul 2010 12:12:50 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>PHP sendmail on Bluehost – setting “from” address</title>
		<link>http://www.toma2u.com/internet/229/php-sendmail-on-bluehost-setting-from-address</link>
		<comments>http://www.toma2u.com/internet/229/php-sendmail-on-bluehost-setting-from-address#comments</comments>
		<pubDate>Thu, 07 Jan 2010 14:10:48 +0000</pubDate>
		<dc:creator>toma</dc:creator>
				<category><![CDATA[Internet]]></category>
		<category><![CDATA[bluehost]]></category>
		<category><![CDATA[box]]></category>
		<category><![CDATA[email]]></category>
		<category><![CDATA[from]]></category>
		<category><![CDATA[from email]]></category>
		<category><![CDATA[from field]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[php.ini]]></category>
		<category><![CDATA[reply]]></category>
		<category><![CDATA[sendmail]]></category>
		<category><![CDATA[sendmail_from]]></category>
		<category><![CDATA[username]]></category>

		<guid isPermaLink="false">http://www.toma2u.com/internet/229/229</guid>
		<description><![CDATA[I am using PHP sendmail on my site, hosted on bluehost to send email messages thorugh contact forms, and confirmation messages also. After moving to Bluehost i noticed that From field in email messages looks like [username]@box[nn].bluehost.com, which i don&#8217;t like. I can spot not only the username, but also the return address pointing to [...]


Related posts:<ol><li><a href='http://www.toma2u.com/internet/google-analytics/65/how-to-schedule-email-delivery-of-your-google-analytics-traffic-report' rel='bookmark' title='Permanent Link: [How-To] Schedule Email Delivery of your Google Analytics Traffic Report'>[How-To] Schedule Email Delivery of your Google Analytics Traffic Report</a></li>
<li><a href='http://www.toma2u.com/uncategorized/196/ms-office-creating-email-signature-with-photo-or-logo-in-ms-outlook-2007' rel='bookmark' title='Permanent Link: [MS Office] Creating email signature with photo or logo in MS Outlook 2007'>[MS Office] Creating email signature with photo or logo in MS Outlook 2007</a></li>
<li><a href='http://www.toma2u.com/internet/110/send-free-sms-online-with-chawt' rel='bookmark' title='Permanent Link: Send Free SMS Online With Chawt'>Send Free SMS Online With Chawt</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.toma2u.com/wp-content/uploads/logo_BlueHost.gif.jpg"><img class="alignleft size-full wp-image-228" style="margin-left: 3px; margin-right: 3px;" title="Bluehost php mail send" src="http://www.toma2u.com/wp-content/uploads/logo_BlueHost.gif.jpg" alt="Bluehost - php mail send" width="200" height="166" /></a>I am using <strong>PHP sendmail</strong> on my site, hosted on bluehost to send email messages thorugh contact forms, and confirmation messages also. After moving to <strong>Bluehost</strong> i noticed that From field in email messages looks like <strong>[username]@box[nn].bluehost.com,</strong> which i don&#8217;t like<strong>.</strong></p>
<p>I can spot not only the username, but also the return address pointing to the default mail id&#8230; ie. username@boxxx.bluehost.com, and more smtp details, like</p>
<p><em>Received: from unknown (HELO boxxx.bluehost.com) (70.103.189.xx)<br />
by mailproxy1.bluehost.com with SMTP; 06 Jan 2010 14:49:44 -0000<br />
Received: from localhost ([127.0.0.1])<br />
by boxxx.bluehost.com with esmtp (Exim 4.52)<br />
id 1FDNDT-0002Cq-Nf<br />
for</em><em> xxxxxxx@hotmail.com; Wed, 06 Jan 2010 07:49:43 -0700</em></p>
<p>I wanted to show my own email instead of  <strong>[username]@box[nn].bluehost.com</strong>, so after some research i discovered that PHP consults the server for that data, and it can be changed in your <strong>PHP.ini file</strong>.</p>
<p>To do this:</p>
<ol>
<li>Open your PHP.ini file (from public_html/ directory)</li>
<li>Search for<strong> ;sendmail_from =</strong></li>
<li>Change the value to desired email (in my case it was <span style="text-decoration: underline;"><em>me@localhost.com</em></span>, and i changed it to <span style="text-decoration: underline;"><em>adresar-noreply@smestaj.info</em></span>)</li>
<li>Now all the emails send using PHP send mail on your Bluehost site should have &#8216;From&#8217; field the same like you set in your PHP .ini file.</li>
</ol>
<p>I hope this works for you.</p>
<img src="http://www.toma2u.com/?ak_action=api_record_view&id=229&type=feed" alt="internet, PHP sendmail on Bluehost – setting “from” address,  "  title="PHP sendmail on Bluehost – setting “from” address" />

<p>Related posts:<ol><li><a href='http://www.toma2u.com/internet/google-analytics/65/how-to-schedule-email-delivery-of-your-google-analytics-traffic-report' rel='bookmark' title='Permanent Link: [How-To] Schedule Email Delivery of your Google Analytics Traffic Report'>[How-To] Schedule Email Delivery of your Google Analytics Traffic Report</a></li>
<li><a href='http://www.toma2u.com/uncategorized/196/ms-office-creating-email-signature-with-photo-or-logo-in-ms-outlook-2007' rel='bookmark' title='Permanent Link: [MS Office] Creating email signature with photo or logo in MS Outlook 2007'>[MS Office] Creating email signature with photo or logo in MS Outlook 2007</a></li>
<li><a href='http://www.toma2u.com/internet/110/send-free-sms-online-with-chawt' rel='bookmark' title='Permanent Link: Send Free SMS Online With Chawt'>Send Free SMS Online With Chawt</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.toma2u.com/internet/229/php-sendmail-on-bluehost-setting-from-address/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
