<?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>Sean&#039;s Blog &#187; email</title>
	<atom:link href="http://seanbehan.com/tag/email/feed/" rel="self" type="application/rss+xml" />
	<link>http://seanbehan.com</link>
	<description>Web Programming, Ruby on Rails, Wordpress, PHP from Burlington, Vermont</description>
	<lastBuildDate>Wed, 18 Jan 2012 21:44:54 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Carrier Email Addresses for Sending SMS over Email</title>
		<link>http://seanbehan.com/programming/carrier-email-addresses-for-sending-sms-over-email/</link>
		<comments>http://seanbehan.com/programming/carrier-email-addresses-for-sending-sms-over-email/#comments</comments>
		<pubDate>Mon, 29 Mar 2010 16:44:48 +0000</pubDate>
		<dc:creator>bseanvt</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[carrier]]></category>
		<category><![CDATA[email]]></category>
		<category><![CDATA[mobile]]></category>
		<category><![CDATA[phone]]></category>
		<category><![CDATA[sms]]></category>
		<category><![CDATA[txt]]></category>

		<guid isPermaLink="false">http://seanbehan.com/?p=907</guid>
		<description><![CDATA[Just for reference, here are the carrier email addresses for sending email as an SMS. Look up the carrier for the phone in question, then send an email in this format [telephonenumber]@[carrier-name.com] Carrier Email to SMS Gateway Alltel [10-digit phone number]@message.alltel.com Example: 1234567890@message.alltel.com AT&#038;T (formerly Cingular) [10-digit phone number]@txt.att.net [10-digit phone number]@mms.att.net (MMS) [10-digit phone [...]]]></description>
			<content:encoded><![CDATA[<div style="height:33px;" class="really_simple_share robots-nocontent snap_nopreview"><div class="really_simple_share_facebook_like" style="width:px;">
				<iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fseanbehan.com%2Fprogramming%2Fcarrier-email-addresses-for-sending-sms-over-email%2F&amp;layout=button_count&amp;show_faces=false&amp;width=&amp;action=like&amp;colorscheme=light&amp;send=false&amp;height=27" 
						scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:px; height:27px;" allowTransparency="true"></iframe>
				</div><div class="really_simple_share_twitter" style="width:px;">
					<a href="http://twitter.com/share" class="twitter-share-button" data-count="horizontal" 
						data-text="Carrier Email Addresses for Sending SMS over Email" data-url="http://seanbehan.com/programming/carrier-email-addresses-for-sending-sms-over-email/" 
						data-via="" ></a> 
				</div></div>
		<div style="clear:both;"></div><p>Just for reference, here are the carrier email addresses for sending email as an SMS. Look up the carrier for the phone in question, then send an email in this format [telephonenumber]@[carrier-name.com]</p>
<p>Carrier 	Email to SMS Gateway</p>
<p>Alltel 	[10-digit phone number]@message.alltel.com<br />
Example: 1234567890@message.alltel.com<br />
AT&#038;T (formerly Cingular) 	[10-digit phone number]@txt.att.net<br />
[10-digit phone number]@mms.att.net (MMS)<br />
[10-digit phone number]@cingularme.com<br />
Example: 1234567890@txt.att.net<br />
Boost Mobile 	[10-digit phone number]@myboostmobile.com<br />
Example: 1234567890@myboostmobile.com<br />
Nextel (now Sprint Nextel) 	[10-digit telephone number]@messaging.nextel.com<br />
Example: 1234567890@messaging.nextel.com<br />
Sprint PCS (now Sprint Nextel) 	[10-digit phone number]@messaging.sprintpcs.com<br />
[10-digit phone number]@pm.sprint.com (MMS)<br />
Example: 1234567890@messaging.sprintpcs.com<br />
T-Mobile 	[10-digit phone number]@tmomail.net<br />
Example: 1234567890@tmomail.net<br />
US Cellular 	[10-digit phone number]email.uscc.net (SMS)<br />
[10-digit phone number]@mms.uscc.net (MMS)<br />
Example: 1234567890@email.uscc.net<br />
Verizon 	[10-digit phone number]@vtext.com<br />
[10-digit phone number]@vzwpix.com (MMS)<br />
Example: 1234567890@vtext.com<br />
Virgin Mobile USA 	[10-digit phone number]@vmobl.com<br />
Example: 1234567890@vmobl.com<br />
Free Email To SMS Gateways (International + Smaller US)</p>
<p>These are all I could find from Wikipedia and other sources. If you’re aware of any other ones please share them in comments and I’ll add them to the list.</p>
<p>Carrier 	Email to SMS Gateway<br />
7-11 Speakout (USA GSM) 	number@cingularme.com<br />
Airtel (Karnataka, India) 	number@airtelkk.com<br />
Airtel Wireless (Montana, USA) 	number@sms.airtelmontana.com<br />
Alaska Communications Systems 	number@msg.acsalaska.com<br />
Aql 	number@text.aql.com<br />
AT&#038;T Enterprise Paging 	number@page.att.net<br />
BigRedGiant Mobile Solutions 	number@tachyonsms.co.uk<br />
Bell Mobility &#038; Solo Mobile (Canada) 	number@txt.bell.ca<br />
BPL Mobile (Mumbai, India) 	number@bplmobile.com<br />
Cellular One (Dobson) 	number@mobile.celloneusa.com<br />
Cingular (Postpaid) 	number@cingularme.com<br />
Centennial Wireless 	number@cwemail.com<br />
Cingular (GoPhone prepaid) 	number@cingularme.com (SMS)<br />
Claro (Brasil) 	number@clarotorpedo.com.br<br />
Claro (Nicaragua) 	number@ideasclaro-ca.com<br />
Comcel 	number@comcel.com.co<br />
Cricket 	number@sms.mycricket.com (SMS)<br />
CTI 	number@sms.ctimovil.com.ar<br />
Emtel (Mauritius) 	number@emtelworld.net<br />
Fido (Canada) 	number@fido.ca<br />
General Communications Inc. 	number@msg.gci.net<br />
Globalstar (satellite) 	number@msg.globalstarusa.com<br />
Helio 	number@messaging.sprintpcs.com<br />
Illinois Valley Cellular 	number@ivctext.com<br />
Iridium (satellite) 	number@msg.iridium.com<br />
Iusacell 	number@rek2.com.mx<br />
i wireless 	number.iws@iwspcs.net<br />
Koodo Mobile (Canada) 	number@msg.koodomobile.com<br />
LMT (Latvia) 	number@sms.lmt.lv<br />
Meteor (Ireland) 	number@sms.mymeteor.ie<br />
Mero Mobile (Nepal) 	977number@sms.spicenepal.com<br />
MetroPCS 	number@mymetropcs.com<br />
Movicom (Argentina) 	number@sms.movistar.net.ar<br />
Mobitel (Sri Lanka) 	number@sms.mobitel.lk<br />
Movistar (Colombia) 	number@movistar.com.co<br />
MTN (South Africa) 	number@sms.co.za<br />
MTS (Canada) 	number@text.mtsmobility.com<br />
Nextel (United States) 	number@messaging.nextel.com<br />
Nextel (Argentina) 	TwoWay.11number@nextel.net.ar<br />
Orange Polska (Poland) 	9digit@orange.pl<br />
Personal (Argentina) 	number@alertas.personal.com.ar<br />
Plus GSM (Poland) 	+48number@text.plusgsm.pl<br />
President’s Choice (Canada) 	number@txt.bell.ca<br />
Qwest 	number@qwestmp.com<br />
Rogers (Canada) 	number@pcs.rogers.com<br />
SL Interactive (Australia) 	number@slinteractive.com.au<br />
Sasktel (Canada) 	number@sms.sasktel.com<br />
Setar Mobile email (Aruba) 	297+number@mas.aw<br />
Suncom 	number@tms.suncom.com<br />
T-Mobile (Austria) 	number@sms.t-mobile.at<br />
T-Mobile (UK) 	number@t-mobile.uk.net<br />
Telus Mobility (Canada) 	number@msg.telus.com<br />
Thumb Cellular 	number@sms.thumbcellular.com<br />
Tigo (Formerly Ola) 	number@sms.tigo.com.co<br />
Tracfone (prepaid) 	number@mmst5.tracfone.com<br />
Unicel 	number@utext.com<br />
Virgin Mobile (Canada) 	number@vmobile.ca<br />
Vodacom (South Africa) 	number@voda.co.za<br />
Vodafone (Italy) 	number@sms.vodafone.it<br />
YCC 	number@sms.ycc.ru<br />
MobiPCS (Hawaii only) 	number@mobipcs.net</p>
]]></content:encoded>
			<wfw:commentRss>http://seanbehan.com/programming/carrier-email-addresses-for-sending-sms-over-email/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Using the PHP Mail Function with Additional Headers</title>
		<link>http://seanbehan.com/php/using-the-php-mail-function-with-additional-headers/</link>
		<comments>http://seanbehan.com/php/using-the-php-mail-function-with-additional-headers/#comments</comments>
		<pubDate>Sun, 07 Feb 2010 19:12:45 +0000</pubDate>
		<dc:creator>bseanvt</dc:creator>
				<category><![CDATA[php]]></category>
		<category><![CDATA[email]]></category>
		<category><![CDATA[function]]></category>
		<category><![CDATA[headers]]></category>

		<guid isPermaLink="false">http://seanbehan.com/?p=791</guid>
		<description><![CDATA[Pass a fourth parameter to the mail() function with the header information. &#38;lt;?php $to = &#34;jane@example.com&#34;; $subject = &#34;Hello World!&#34;; $body = &#34;This will be sent from email-addr@example.com&#34;; $headers = &#34;From: email-addr@example.com\r\nX-Mailer: php&#34;; mail($to, $subject, $body, $headers);]]></description>
			<content:encoded><![CDATA[<div style="height:33px;" class="really_simple_share robots-nocontent snap_nopreview"><div class="really_simple_share_facebook_like" style="width:px;">
				<iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fseanbehan.com%2Fphp%2Fusing-the-php-mail-function-with-additional-headers%2F&amp;layout=button_count&amp;show_faces=false&amp;width=&amp;action=like&amp;colorscheme=light&amp;send=false&amp;height=27" 
						scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:px; height:27px;" allowTransparency="true"></iframe>
				</div><div class="really_simple_share_twitter" style="width:px;">
					<a href="http://twitter.com/share" class="twitter-share-button" data-count="horizontal" 
						data-text="Using the PHP Mail Function with Additional Headers" data-url="http://seanbehan.com/php/using-the-php-mail-function-with-additional-headers/" 
						data-via="" ></a> 
				</div></div>
		<div style="clear:both;"></div><p>Pass a fourth parameter to the mail() function with the header information.</p>
<pre class="wp-code-highlight prettyprint">
&amp;lt;?php
$to = &quot;jane@example.com&quot;;
$subject = &quot;Hello World!&quot;;
$body = &quot;This will be sent from email-addr@example.com&quot;;
$headers = &quot;From: email-addr@example.com\r\nX-Mailer: php&quot;;
mail($to, $subject, $body, $headers);
</pre>
]]></content:encoded>
			<wfw:commentRss>http://seanbehan.com/php/using-the-php-mail-function-with-additional-headers/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Send Mail in Ruby with a Pony</title>
		<link>http://seanbehan.com/programming/send-mail-in-ruby-with-a-pony/</link>
		<comments>http://seanbehan.com/programming/send-mail-in-ruby-with-a-pony/#comments</comments>
		<pubDate>Wed, 19 Aug 2009 16:33:22 +0000</pubDate>
		<dc:creator>bseanvt</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[email]]></category>
		<category><![CDATA[gems]]></category>
		<category><![CDATA[pony]]></category>
		<category><![CDATA[ruby]]></category>

		<guid isPermaLink="false">http://seanbehan.com/?p=525</guid>
		<description><![CDATA[Great little gem that let&#8217;s you quickly and easily send out mail from your ruby scripts. gem install pony require 'rubygems' require 'pony' Pony.mail :from=&#62;&#34;me@example.com&#34;, :to=&#62;&#34;you@example.com&#34;, :subject=&#62;&#34;hello&#34;, :body=&#62;&#34;world&#34;]]></description>
			<content:encoded><![CDATA[<div style="height:33px;" class="really_simple_share robots-nocontent snap_nopreview"><div class="really_simple_share_facebook_like" style="width:px;">
				<iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fseanbehan.com%2Fprogramming%2Fsend-mail-in-ruby-with-a-pony%2F&amp;layout=button_count&amp;show_faces=false&amp;width=&amp;action=like&amp;colorscheme=light&amp;send=false&amp;height=27" 
						scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:px; height:27px;" allowTransparency="true"></iframe>
				</div><div class="really_simple_share_twitter" style="width:px;">
					<a href="http://twitter.com/share" class="twitter-share-button" data-count="horizontal" 
						data-text="Send Mail in Ruby with a Pony" data-url="http://seanbehan.com/programming/send-mail-in-ruby-with-a-pony/" 
						data-via="" ></a> 
				</div></div>
		<div style="clear:both;"></div><p>Great little gem that let&#8217;s you quickly and easily send out mail from your ruby scripts.</p>
<pre class="wp-code-highlight prettyprint">
gem install pony

require 'rubygems'
require 'pony'

Pony.mail :from=&gt;&quot;me@example.com&quot;, :to=&gt;&quot;you@example.com&quot;, :subject=&gt;&quot;hello&quot;, :body=&gt;&quot;world&quot;
</pre>
]]></content:encoded>
			<wfw:commentRss>http://seanbehan.com/programming/send-mail-in-ruby-with-a-pony/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using sendmail to send mail on ubuntu box</title>
		<link>http://seanbehan.com/linux/using-sendmail-to-send-mail-on-ubuntu-box/</link>
		<comments>http://seanbehan.com/linux/using-sendmail-to-send-mail-on-ubuntu-box/#comments</comments>
		<pubDate>Fri, 07 Aug 2009 23:37:00 +0000</pubDate>
		<dc:creator>bseanvt</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[configuration]]></category>
		<category><![CDATA[email]]></category>
		<category><![CDATA[mta]]></category>
		<category><![CDATA[sendmail]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://seanbehan.com/?p=497</guid>
		<description><![CDATA[I normally install postfix for my MTA. However, I&#8217;ve never really used sendmail so I&#8217;d decide to give it a whirl for a new application I&#8217;m working on. I don&#8217;t use it for anything but handling the mail that the application needs to send out, like new user welcome emails, password resets, etc. apt-get install [...]]]></description>
			<content:encoded><![CDATA[<div style="height:33px;" class="really_simple_share robots-nocontent snap_nopreview"><div class="really_simple_share_facebook_like" style="width:px;">
				<iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fseanbehan.com%2Flinux%2Fusing-sendmail-to-send-mail-on-ubuntu-box%2F&amp;layout=button_count&amp;show_faces=false&amp;width=&amp;action=like&amp;colorscheme=light&amp;send=false&amp;height=27" 
						scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:px; height:27px;" allowTransparency="true"></iframe>
				</div><div class="really_simple_share_twitter" style="width:px;">
					<a href="http://twitter.com/share" class="twitter-share-button" data-count="horizontal" 
						data-text="Using sendmail to send mail on ubuntu box" data-url="http://seanbehan.com/linux/using-sendmail-to-send-mail-on-ubuntu-box/" 
						data-via="" ></a> 
				</div></div>
		<div style="clear:both;"></div><p>I normally install postfix for my MTA. However, I&#8217;ve never really used sendmail so I&#8217;d decide to give it a whirl for a new application I&#8217;m working on. I don&#8217;t use it for anything but handling the mail that the application needs to send out, like new user welcome emails, password resets, etc.</p>
<pre class="wp-code-highlight prettyprint">
apt-get install sendmail
</pre>
<p>Sendmail, unlike postfix, won&#8217;t work out of the box. Postfix will prompt you for the necessary config setup when running the install. Sendmail won&#8217;t, and therefore it&#8217;s not &#8216;out of the box&#8217;. You&#8217;ll have to make some modifications on your own. Nothing major but this is what I&#8217;ve found in order to get it to work, reliably and quickly. The first thing I did was add the fully qualified domain name to my /etc/hosts file</p>
<pre class="wp-code-highlight prettyprint">
#vim /etc/hosts
127.0.0.1 www.mydomain.com
</pre>
<p>After this I added the fully qualified domain name to my apache default configuration file</p>
<pre class="wp-code-highlight prettyprint">
#/etc/apache2/sites-available/default
ServerName www.mydomain.com
#vhost info etc...
</pre>
<p>Reload and restart&#8230;</p>
<pre class="wp-code-highlight prettyprint">
/etc/init.d/apache2 force-reload
/etc/init.d/sendmail restart
</pre>
<p>You can test sendmail like so</p>
<pre class="wp-code-highlight prettyprint">
sendmail email@example.com
hello
from
me
.
</pre>
<p>This should deliver a message to you (the &#8220;.&#8221; on a new line, followed by a new line, closes the message).</p>
]]></content:encoded>
			<wfw:commentRss>http://seanbehan.com/linux/using-sendmail-to-send-mail-on-ubuntu-box/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Email Obfuscation and Extraction from Text with Rails</title>
		<link>http://seanbehan.com/ruby-on-rails/email-obfuscation-and-extraction-from-text-with-rails/</link>
		<comments>http://seanbehan.com/ruby-on-rails/email-obfuscation-and-extraction-from-text-with-rails/#comments</comments>
		<pubDate>Fri, 10 Jul 2009 16:50:29 +0000</pubDate>
		<dc:creator>bseanvt</dc:creator>
				<category><![CDATA[Ruby on Rails]]></category>
		<category><![CDATA[email]]></category>
		<category><![CDATA[hyperlinking]]></category>
		<category><![CDATA[obfuscation]]></category>
		<category><![CDATA[parsing]]></category>
		<category><![CDATA[recipes]]></category>
		<category><![CDATA[regex]]></category>
		<category><![CDATA[regular expressions]]></category>
		<category><![CDATA[security]]></category>

		<guid isPermaLink="false">http://seanbehan.com/?p=423</guid>
		<description><![CDATA[There is a helper method for handling the obfuscation of email addresses in Rails. mail_to &#34;me@domain.com&#34;, &#34;My email&#34;, :encode =&#62; &#34;hex&#34; # =&#62; &#60;a href=&#34;mailto:%6d%65@%64%6f%6d%61%69%6e.%63%6f%6d&#34;&#62;My email&#60;/a&#62; If you want to then extract an email address(or all email addresses) from a block of text here is the code. I created a helper function called &#8220;emailitize&#8221; and [...]]]></description>
			<content:encoded><![CDATA[<div style="height:33px;" class="really_simple_share robots-nocontent snap_nopreview"><div class="really_simple_share_facebook_like" style="width:px;">
				<iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fseanbehan.com%2Fruby-on-rails%2Femail-obfuscation-and-extraction-from-text-with-rails%2F&amp;layout=button_count&amp;show_faces=false&amp;width=&amp;action=like&amp;colorscheme=light&amp;send=false&amp;height=27" 
						scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:px; height:27px;" allowTransparency="true"></iframe>
				</div><div class="really_simple_share_twitter" style="width:px;">
					<a href="http://twitter.com/share" class="twitter-share-button" data-count="horizontal" 
						data-text="Email Obfuscation and Extraction from Text with Rails" data-url="http://seanbehan.com/ruby-on-rails/email-obfuscation-and-extraction-from-text-with-rails/" 
						data-via="" ></a> 
				</div></div>
		<div style="clear:both;"></div><p>There is a helper method for handling the obfuscation of email addresses in Rails.</p>
<pre class="wp-code-highlight prettyprint">
mail_to &quot;me@domain.com&quot;, &quot;My email&quot;, :encode =&gt; &quot;hex&quot;
 # =&gt; &lt;a href=&quot;mailto:%6d%65@%64%6f%6d%61%69%6e.%63%6f%6d&quot;&gt;My email&lt;/a&gt;
</pre>
<p>If you want to then extract an email address(or all email addresses) from a block of text here is the code. I created a helper function called &#8220;emailitize&#8221; and put it in the ApplicationHelper module inside helpers/application_helper.rb</p>
<pre class="wp-code-highlight prettyprint">
module ApplicationHelper
  #takes a string and will return the same string but with email addresses encoded and hyperlinked
  def emailitize(text)
    text.gsub(/([^@\s]+)@((?:[-a-z0-9]+\.)+[a-z]{2,})/i) {|m|
        mail_to(m, m.gsub(&quot;@&quot;, &quot;&lt;small&gt;[at]&lt;/small&gt;&quot;), :encode=&gt;:hex)
    }
  end
end
</pre>
<p>It&#8217;s important to remember that you&#8217;ll need to pass a block to the gsub method. You can&#8217;t do something like this instead</p>
<pre class="wp-code-highlight prettyprint">
text.gsub( /([^@\s]+)@((?:[-a-z0-9]+\.)+[a-z]{2,})/i, mail_to('\\1@\\2', '\\1@\\2', :encode=&gt;:hex) )
</pre>
<p>It will work except the encode will fail. It will evaluate the &#8216;\\1@\\2&#8242; strings rather than as dynamic variables.</p>
<p>You can then use this function in your views</p>
<pre class="wp-code-highlight prettyprint">
&lt;%= emailitize @job.how_to_apply %&gt;
</pre>
<p>More information is available in the Rails and Ruby docs:</p>
<p>http://api.rubyonrails.org/classes/ActionView/Helpers/UrlHelper.html#M001887</p>
<p>http://ruby-doc.org/core/classes/String.html#M000817</p>
]]></content:encoded>
			<wfw:commentRss>http://seanbehan.com/ruby-on-rails/email-obfuscation-and-extraction-from-text-with-rails/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Postfix, ActionMailer and OpenSSL Fix on Ubuntu</title>
		<link>http://seanbehan.com/ruby-on-rails/postfix-actionmailer-and-openssl-fix-on-ubuntu/</link>
		<comments>http://seanbehan.com/ruby-on-rails/postfix-actionmailer-and-openssl-fix-on-ubuntu/#comments</comments>
		<pubDate>Wed, 24 Jun 2009 00:27:40 +0000</pubDate>
		<dc:creator>bseanvt</dc:creator>
				<category><![CDATA[Ruby on Rails]]></category>
		<category><![CDATA[configuration]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[email]]></category>
		<category><![CDATA[postfix]]></category>
		<category><![CDATA[ssl]]></category>

		<guid isPermaLink="false">http://seanbehan.com/?p=390</guid>
		<description><![CDATA[If you run into problems using ActionMailer > 2.2, Postfix and OpenSSL while sending mail from your application, try changing the following: vim /etc/postfix/main.cf Change smtpd_use_tls=yes to smtpd_use_tls=no OpenSSL support with Postfix does not work out of the box. You can either generate valid certificates or tell Postfix not to use the certificates. More information [...]]]></description>
			<content:encoded><![CDATA[<div style="height:33px;" class="really_simple_share robots-nocontent snap_nopreview"><div class="really_simple_share_facebook_like" style="width:px;">
				<iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fseanbehan.com%2Fruby-on-rails%2Fpostfix-actionmailer-and-openssl-fix-on-ubuntu%2F&amp;layout=button_count&amp;show_faces=false&amp;width=&amp;action=like&amp;colorscheme=light&amp;send=false&amp;height=27" 
						scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:px; height:27px;" allowTransparency="true"></iframe>
				</div><div class="really_simple_share_twitter" style="width:px;">
					<a href="http://twitter.com/share" class="twitter-share-button" data-count="horizontal" 
						data-text="Postfix, ActionMailer and OpenSSL Fix on Ubuntu" data-url="http://seanbehan.com/ruby-on-rails/postfix-actionmailer-and-openssl-fix-on-ubuntu/" 
						data-via="" ></a> 
				</div></div>
		<div style="clear:both;"></div><p>If you run into problems using ActionMailer > 2.2, Postfix and OpenSSL while sending mail from your application, try changing the following:</p>
<pre class="wp-code-highlight prettyprint">
  vim /etc/postfix/main.cf
</pre>
<p>Change</p>
<pre class="wp-code-highlight prettyprint">
 smtpd_use_tls=yes
</pre>
<p>to</p>
<pre class="wp-code-highlight prettyprint">
smtpd_use_tls=no
</pre>
<p>OpenSSL support with Postfix does not work out of the box. You can either generate valid certificates or tell Postfix not to use the certificates. More information is available in this discussion forum.</p>
<p>http://forum.slicehost.com/comments.php?DiscussionID=2656</p>
]]></content:encoded>
			<wfw:commentRss>http://seanbehan.com/ruby-on-rails/postfix-actionmailer-and-openssl-fix-on-ubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Sending eMail with Rails on Mac OS X Development Environment</title>
		<link>http://seanbehan.com/programming/sending-email-with-rails-on-mac-os-x-development-environment/</link>
		<comments>http://seanbehan.com/programming/sending-email-with-rails-on-mac-os-x-development-environment/#comments</comments>
		<pubDate>Sun, 10 May 2009 19:45:34 +0000</pubDate>
		<dc:creator>bseanvt</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[email]]></category>
		<category><![CDATA[environment]]></category>
		<category><![CDATA[postfix]]></category>
		<category><![CDATA[sending mail]]></category>

		<guid isPermaLink="false">http://bseanvt.wordpress.com/?p=227</guid>
		<description><![CDATA[You&#8217;ll need a mail transport agent (MTA). I installed and used postfix using Mac Ports. sudo port install postfix You&#8217;ll need to start postfix, to send mail from your Rails application. You can set it as a startup item and it will start on boot. However, since I don&#8217;t send too much mail from my [...]]]></description>
			<content:encoded><![CDATA[<div style="height:33px;" class="really_simple_share robots-nocontent snap_nopreview"><div class="really_simple_share_facebook_like" style="width:px;">
				<iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fseanbehan.com%2Fprogramming%2Fsending-email-with-rails-on-mac-os-x-development-environment%2F&amp;layout=button_count&amp;show_faces=false&amp;width=&amp;action=like&amp;colorscheme=light&amp;send=false&amp;height=27" 
						scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:px; height:27px;" allowTransparency="true"></iframe>
				</div><div class="really_simple_share_twitter" style="width:px;">
					<a href="http://twitter.com/share" class="twitter-share-button" data-count="horizontal" 
						data-text="Sending eMail with Rails on Mac OS X Development Environment" data-url="http://seanbehan.com/programming/sending-email-with-rails-on-mac-os-x-development-environment/" 
						data-via="" ></a> 
				</div></div>
		<div style="clear:both;"></div><p>You&#8217;ll need a mail transport agent (MTA). I installed and used postfix using Mac Ports.</p>
<pre class="wp-code-highlight prettyprint">sudo port install postfix</pre>
<p>You&#8217;ll need to start postfix, to send mail from your Rails application. You can set it as a startup item and it will start on boot. However, since I don&#8217;t send too much mail from my Rails app, just for testing normally, I start it manually.</p>
<pre class="wp-code-highlight prettyprint">
sudo postfix start
</pre>
<p>That should do it!</p>
]]></content:encoded>
			<wfw:commentRss>http://seanbehan.com/programming/sending-email-with-rails-on-mac-os-x-development-environment/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

