July 27, 2007

Using Gmail SMTP server to send mails

Filed under: Development,FOSS,Linux — mifan @ 8:49 pm

The last couple of weeks I had a horrid time. My favourite past-time: sending emails, was cut short due to some problem in my email client, coupled with our SMTP server, which kept giving me this error message:
Error while performing operation.
Welcome response error: Transaction failed

A number of Googling searches led me knowhere, so I turned to a solution of another sort from Google: The GMail SMTP server. Luckily, I could setup my Evolution Client on my Linux box within no time, to use and send mail via the GMail SMTP server. The steps are below:

  • In your GMail account, goto settings>Accounts
  • Add another email address there, in this case my email addy that complains.. 🙂
  • Verify the email address in GMail
  • In Evolution (or whatever client you use), Edit your mail preferences
  • Under server, add
  • Enable TLS encryption
  • Under authentication, add <yourgmailusername> as your username
  • Click Ok, enter the password when required, and cross your fingers 🙂

Thus, with some simple steps and some faith, I started sending emails again, thus becoming a nuisance to the world once again :p



  1. And you are using TLS so when you hit a public wireless access point you are not giving anyone in the vicinity a read of your email and access to your password and login details.

    Encrypted protocols = good.

    Nice post!

    Comment by Peter — August 31, 2007 @ 1:18 pm | Reply

  2. […] Using Gmail SMTP to send email – a quick guide . […]

    Pingback by - Security Awareness for .orgs. » Blog Archive » Sending SMTP email with Google — August 31, 2007 @ 1:45 pm | Reply

  3. cool

    Comment by abhay — October 15, 2007 @ 7:11 am | Reply

  4. worked for me as well 🙂

    Comment by ishan — October 17, 2007 @ 2:43 pm | Reply

  5. I use a portable version of Thunderbird as my email client, I configured it out side our campus (FIT@UOM) but is not able to access it through the proxy. It took me about good three hours to (I had previously used only web based email only!) to get going (Choosing the right email client, quick study about the protocols (POP, IMAP and SMTP) and to figure out how to configure the client. But still have some problems how all the pieces come alive). Being not just a mail client Thunderbird acts as a RSS Aggregator. (No need of logging into blogline accounts!)

    Comment by Uthpala — October 20, 2007 @ 11:24 am | Reply

    • Hi there,
      I had the same issue as i use Outlook. The thing is that our proxy opens the gate for only the packets coming for the port 3128. So the SMTP and POP applications directly wont work(They use 995 and 465 respectively). Accessing mails through HTTP is the only way(Proxt lets HTTP on port 3128). So can you please elaborate on how you did that.

      Comment by Nitharshan — September 26, 2010 @ 2:47 am | Reply

  6. use port 465

    Comment by Ahmed — February 5, 2008 @ 12:10 pm | Reply

  7. thanks

    Comment by صور مشاهير — August 5, 2008 @ 3:40 am | Reply

  8. thanks

    Comment by صور اطفال — September 23, 2008 @ 7:48 am | Reply

  9. thank you worked perfectly for my vbulletin site

    Comment by Tommy — January 20, 2009 @ 6:48 am | Reply

  10. nice so much 🙂

    Comment by al3boshi — September 16, 2009 @ 9:25 am | Reply

RSS feed for comments on this post. TrackBack URI

Leave a Reply

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

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

Google+ photo

You are commenting using your Google+ 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 )


Connecting to %s

Create a free website or blog at

%d bloggers like this: