Cruisecontrol and ant errors using gmail

Out of all the hours I’ve spent writing cruisecontrol, ant, and nant scripts, most of them have been troubleshooting mail tasks.

In attempting to set up cruisecontrol and ant projects for our iPhone application I ran across the following error when trying to send email using gmail:

Could not Connect to smtp host: smtp.gmail.com, port 587

Fixing this was dead easy after scouring the internet. It seems that neither ant or cruisecontrol play well with gmail over 587. Changing the mailport to 465 solved the problem:

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s