Tag Archives: Gmail

How to send email in WordPress using Gmail’s SMTP server

Well this question was asked to me for more than a couple of times now. So I thought of documenting it here, instead of answering them individually. πŸ™‚

Long time readers of my blog would know that I use Google App for email. Ever since I moved to Linode for hosting, I stopped running a mail daemon in my server, and instead choose to use Gmail’s SMTP server for sending email.

There were two reasons for it. First most email providers ignore or mark as spam, emails sent from non-SMTP servers. Second, removing mail daemon from server will save some resources and will increase the over all performance of my server.

Using SMTP in WordPress

For WordPress there is an excellent Plugin called WP Mail SMTP, which can be used to send email through Google’s SMTP servers.

Download and install the Plugin and in the settings page you have to set the following options.

  • SMTP Host: smtp.gmail.com
  • SMTP Port: 465
  • Encryption: Use SSL encryption
  • Authentication: Yes
  • Username: Your full Gmail address or Google App email
  • Password: your account password

You can also checkout the following screenshot for reference.

using gmail smtp in WordPress

I am also working on a Plugin to log all emails sent by WordPress. Expect it to be released soon πŸ™‚ (Update: The Plugin to log all emails is ready. It is called Email Log and you can download it from the Plugins page.)

Update (Oct 2012)

I just realized that these days Google has added additional security for logging in using other clients. If your email is not sent properly after giving correct password, then refer to instructions at Gmail help to fix it.

Also if you have enabled two factor authentication, then refer to this Gmail support page.

Posted in WordPress | Tagged , , , , | 66 Comments

Migrating from Gmail to Google Apps

I am one of the early adapters of Gmail and I simply love it. I could still remember how excited I was when I received an invite from my friend Sumod.

A couple of months back I signed up for Google Apps and have set it up in my domain. It’s really cool to have a personalized email address yourname@yourdomain.com which you can have control over instead of having a generic email address like yourname@gmail.com. If you are still not convinced then read this article from lifehacker.

But then I found it very difficult to maintain two different accounts. For some time I was redirecting the mail that I receive in my Google Apps account to my Gmail account and also setup a custom from address to my Google Apps email address. But it was not looking good in some email clients like outlook, which exposed the customized from address. This made me to search for ways to migrate all my emails from Gmail to Google Apps. I have been using my Gmail account for nearly three and half years and have accumulated nearly 2.5 GB of mail.

Finally I found gXFER which actually worked and now all my old emails are backed up in my Google Apps account. So even if you want to move your emails from one Gmail account to another or to a Google Apps account or vice versa then follow these steps.

First, you need to add the Google gadget which is available in gXFER homepage to your Google personalized home page.

Now click the “Start Migration Online” link which is present in the new gadget which you have added to your Google personalized homepage (iGoogle).

Migrating from Gmail to Google Apps

Enter your Gmail account information and Google Apps account information and then click start.

Migrating from Gmail to Google Apps

Migrating from Gmail to Google Apps

If you get this screen then you are done. The migration is started and all your emails from Gmail will start to appear in your Google Apps account, but it might take very long time depending upon your inbox size. For me it took around 3 days for the complete transfer. The transfer rate is around 100 messages per hour.

The following are some of the points which I noted when my emails were migrated.

  • As I said above the transfer rate is very slow, only 100 messages per hour. So it could easily take up days if your inbox size is big.
  • All your contacts will be transferred without any problem.
  • All the labels and filters that you have created will be transferred. If you have set up a filter to automatically assign a label to a message then it will work. But if you have explicitly assigned a label to a message then it will not be transferred.
  • Messages present in the following labels will not be transferred Chats, Spam and trash.
  • Your drafts will not be transferred.
  • Messages will not be stared automatically, which means all your staring will be lost.
  • If any of your attachments is infected with virus then those messages will not be transferred.
  • The process appears to be stopped sometimes but actually it is not stopped and works but very slowly.

Once you have set it up, you can enable mail notification in Google Talk and then sit back and watch it as your messages gets transferred to your Google Apps account.

Happy emailing πŸ™‚

Posted in Google/Yahoo | Tagged , , | 17 Comments

Is Google down?

Is it just me who is not able to access any of the Google sites (Gmail, Google.com, Google.co.in) from India? All Google related sites are returning 404 for me from noon (13-May-07, 7:00 AM GMT, 12:30 PM IST). I could remember this happening to Gmail some time back. But now even Google Talk seems to be down.

Anyone else sharing the same plight like me?

Update: It’s 5 PM (IST) now and all Google sites are working fine.

Posted in Google/Yahoo | Tagged , , | 3 Comments

Google can eat your email

When I talked about the reliability of user data in the web 2.0 style websites, I asked you to just imagine what might happen if you loose all you email from Gmail. But indeed it has happened to few people. Here are few links from reliable sources

Oh my god! I just cannot imagine this happening to me. More over it seems that Google doesn’t retain a copy of your email once you delete it due to privacy issues. This means that there is very little chance that your email can be restored. All say that the solution is to back up you email. But how to back up my 1.5 GB of email? πŸ™

Posted in Google/Yahoo | Tagged , | 7 Comments

BCC in Gmail: a feature or a bug

Update:(15-Aug-2006) Well, it seems that the Bcc filed is displayed only if you are the sender of the message. The confusion is because in Gmail even the sent mails are displayed in Inbox itself for conversation view. Thanks Rajiv for pointing it out.

Recently, one of my friends brought up to my notice that in Gmail even the Bcc field gets displayed. My initial reaction was “No it’s not possible!”. Then I tried to test it by sending myself a mail and to my surprise, even the Bcc field got displayed.

Here is the screen shot.

Bcc field gets displayed in Gmail

I tried Googling around but couldn’t get a satisfying answer. So can anyone throw some light on this and let me know whether it is a feature or a bug or am doing something wrong.

PS: Yuvi, can you gather any information about my browsing activities from this screenshot as you did for Aswin? πŸ˜‰

Posted in Google/Yahoo, Random/Personal | Tagged , | 21 Comments

Google Calendar – CL2

The long waited Google’s version of calendar is out for some beta testing now. It’s been named as CL2. TechCrunch has some exclusive screenshots. Looks really sleek and a lot similar to Gmail. It’s also said that it will be very tightly integrated with GMail (which is expected).

Here is the expert about CL2

CL2 makes it easy – even effortless to keep track of all the events in your life and compare them to what your friends and family have going on in theirs. We’ve designed a calendar that works for you, helping you add events from email, friends, and other public calendars so you don’t have to spend all your time maintaining your schedule. CL2 even helps you discover new events you might be interested in. We think it’s a great tool for managing your daily schedule, keeping track of what everyone in your family is doing, organizing events for a club or team, or creating public events that you can promote to the world.

Lets hope that it is released to public soon. πŸ™‚

Posted in Google/Yahoo | Tagged , , , | 1 Comment

Gmail has a Delete button now

Finally Gmail has a ‘Delete’ button now.

Gmail Delete button

Just read about it in the ‘What’s New‘ page of Gmail. As with all other feature releases Google hasn’t yet added this button for every one. I think they are testing it out before they could enable it for everyone. Even I am yet to see it appear in my account.

I was waiting for long time for this. I had a doubt that this is going to happen when Google changed the text for the delete option.

But I would be still more happy if Google could introduce a new keyboard shortcut to delete a message in addition to the Delete button so that I need not take my had away from the keyboard.

Hmm, I think the feedback that I gave to Matt is really working. Keep it up Matt and don’t forget the keyboard shortcut in addition to the delete button.

Update: Delete button has started to appear in my account too.

Posted in Google/Yahoo | Tagged | 5 Comments

Matt, Here is my Feedback

Matt Cutts, (the-guy-next-to-God for SEO’s) is a asking for feedback about various Google products and services at his blog.
Initially I thought of giving the feedback as a comment in his blog itself. But it was only after I gave the comment I realized that I need more from Google. So Matt here is my feedback


  • Gmail as my default mail application – I want to read mail from my other POP3 accounts
  • DELETE button and also a keyboard shortcut to delete the message
  • Keyboard shortcut to assign a label to a message.
  • Single keyboard shortcut to do a couple of things like pressing D makes all unread messages as read and achieve them
  • Ability to add my own custom RSS feeds for web clips

Google Talk

  • INVISIBLE mode
  • Offline message
  • Ability to add my webcam too
  • Connect it with telephone like Skype
  • Infinite archive of conversation

Google Pack

  • Ability to add our own software to the list provided

Google Earth/ Maps/ Local

  • Add India and the rest of the world too.

New products/ Services

  • Google Calendar
  • Google Office
  • Google Browser
  • And also Google OS πŸ™‚

So guys, have you ever felt of giving feedback to Google? If so then here is your chance.

Matt’s Feedback url’s

Posted in Google/Yahoo | Tagged , , | 8 Comments

Gmail Delete Option

I was checking my emails in Gmail today and when I wanted to delete a message, I selected it and was searching for the ‘Move to Trash‘ option in the drop down and was surprised when I was not able to find it. On second notice I found only a new option ‘Delete‘.

I still have a feeling that it was ‘Move to trash‘ option before but I am not very sure. Can anyone (Who has better memory than me) confirm it?

Update: Google has also deleted messages in the Trash which are older than 30 days and has freed up the space. I think Google is up to some space-recycling sphere.

Posted in Google/Yahoo | Tagged | 7 Comments

A funny spam mail

Some days ago Jeremy was talking about a funny spam email that has escaped Gmail’s spam filter. And today even I got one such funny spam mail.

Just look at the screen shot.

The funny part is that the email shows my email address in the senders address and also in the subject line. This one was delivered to my inbox ( not in spam). And added to that when I clicked more options, Gmail doesn’t show that it was mailed from some other domain (which means that it was indeed sent from a Gmail address itself)

I am not sure whether I should report this as spam to Gmail. My reason for my fear is that I am not sure whether Gmail will consider my email address itself as spam or not when I report this mail. More over I am not sure yet whether some one else has received this mail with my email address in the from email address.

Posted in Random/Personal | Tagged , | 12 Comments