Saturday, September 30, 2006

How to Configure Lotus Notes for Gmail Access

I've recently begun a bit more off-site travel and have decided to take VIC with me on my laptop. My email provider has changed their security so that they only accept connections from the range of IP addresses that they serve. How do I work around this?
Simple: set up a Gmail account (if you need an invitation, contact me). Now, you can continue to use your existing email address for your incoming (pop3) mail or you can use the gmail address. For outgoing mail, though, use Gmail's SMTP server. Simple in theory and in fact; however, there aren't any instructions on the Gmail site to tell you how to do this. They tell you how to configure just about everything there is except Notes. Here's how to set it up in Notes 6.5:

1. Go to your Personal Address book, then from the menu select View, then Advanced, then Accounts.
2. Edit your Outgoing Internet Mail document. It's the one where the protocol is SMTP.
3. On the Basics tab, use the following settings:
Account name: Anything you like. Mine is "Outgoing Internet Mail"
Account server name: smtp.gmail.com
Login name: yourAccountName@gmail.com
Password: your Gmail password
Protocol: SMTP
SSL: Enabled
Only from location(s): Anything you like. I've enabled mine for * (all locations)
4. On the Advanced tab, use the following settings:
Port number: 465
Accept SSL site certificates: Yes
Accept expired SSL certificate: Yes
Send SSL certificates when asked: No
Verify account server name with remote server's certificate: Disabled
SSL protocol version: Version 3.0 with 2.0 handshake

Now, you shouldn't have to change your incoming mail server unless you just want to use the Gmail account. Then again, you may want to set up a second account for Gmail so you can pull it into one location (I do it the other way 'round and tell Gmail to forward all of my mail to my normal account). For completeness, here's how to set up POP access (for incoming mail) to the Gmail server:

1. Go to your Personal Address book, then from the menu select View, then Advanced, then Accounts.
2. Edit your Incoming Internet Mail document. It's the one where the protocol is POP. If this is an additional mail account you can create a new document.
3. On the Basics tab, use the following settings:
Account name: Anything you like. Mine is "Incoming Internet Mail"
Account server name: pop.gmail.com
Login name: yourAccountName@gmail.com
Password: your Gmail password
Protocol: POP
SSL: Enabled
Only from location(s): Anything you like. I've enabled mine for * (all locations)
4. On the Protocol Configuration tab, use the following settings:
Leave mail on server: No
5. On the Advanced tab, use the following settings:
Port number: 995
Accept SSL site certificates: Yes
Accept expired SSL certificate: Yes
Send SSL certificates when asked: No
Verify account server name with remote server's certificate: Disabled
SSL protocol version: Version 3.0 with 2.0 handshake
And there you go. You should now be able to send and receive Internet mail from any location without having to jump through hoops.

72 Comments:

Blogger Prem said...

I am still unable to send and recieve gmail emails from Lotus Notes....Is there any other setting which I need to make. I get an error "Configuration settings for the servereither missing or invalid" in the replication window. Please help

January 13, 2007 at 2:16 PM  
Blogger Notes said...

I too have followed your excellent instructions to the letter and have had no success.

The send outgoing internet mail in Replicator has not sent, even though there is a mail in the Outgoing Mail box (no errors marked). In Replicator, the receive internet mail status is POP3 Protocol Error Returned.

Any further insight on this one ?

Thanks

February 11, 2007 at 12:22 AM  
Blogger Dave Leigh said...

I don't know what to say guys. I've tried this again on several versions of Notes, including the R6.5 and the Notes 8 beta, and I just can't make it fail. Make sure you're following the instructions exactly.

Pay particular attention to the port numbers on the Advanced tab, and make sure you enter your entire gmail email address (john.doe@gmail.com) in the Login Name field for the SMTP account.

Also, to successfully send mail, try editing your current location document and in the Mail tab set "Send outgoing mail" to "directly to Internet". (Prem, I suspect this is your problem.)

March 27, 2007 at 9:07 PM  
Anonymous Jason Ungerer said...

good day all, adding this post, dont forget to look at your certificates in security section. i had to accept all of them to be able to send and recieve gmail. you may want to check that out as well.

May 16, 2007 at 10:19 PM  
Anonymous Felix said...

I can't get it working either...
I set up everything exactly like that, but without success.
Receiving mails works, but I can't send anything.
Anyone any further idea?
Thanks,
FELIX

June 13, 2007 at 5:17 AM  
Anonymous Ratko said...

Hi to all
Am from Croatia fyi, and my gmail on Lotus Notes 8 beta 3 is fully operational.
Instructions are perfect.

Tks

June 15, 2007 at 12:38 PM  
Blogger Neeraj said...

Hi All,
i am Neeraj from India. Instruction are too accurate and precise and it is working for me for gmail..
Thanks Dave.
Neeraj Singh
New Delhi, India

June 30, 2007 at 2:38 AM  
Blogger Angel said...

Qucik note to say your steps worked for me using Notes v 7.0.2

Thanks for tips.

Don't understand why Gmail don't put these instructions on their site. 100 million+ users can't be wrong.......

July 17, 2007 at 3:50 AM  
Blogger eprince said...

I have configured in the above mentioned manner, but I am getting the following error message while replication.

The remote server is not a known TCP/IP host - for internet address.

August 3, 2007 at 3:54 AM  
Blogger Dave Leigh said...

eprince, make sure you have access to the two gmail addresses listed. I can't imagine why someone would block them, but I supposed it's possible.

Try pinging pop.gmail.com and smtp.gmail.com. If those come back with a message that they can't be resolved. then try pinging these addresses directly:
209.85.133.109
209.85.133.111

If that DOES work, then look into using another DNS server. I use OpenDNS (208.67.222.222) as my DNS server to prevent blocking of perfectly good addresses by my ISP.

If you're allergic to open systems, then follow the instructions again using 209.85.133.109 in place of pop.gmail.com and 209.85.133.111 in place of smtp.gmail.com.

If pinging the numers directly does NOT work, then you have a network problem that I can't solve in a blog comment. Contact your ISP and tell him you can't ping those addresses and find out why they're unavailable.

Keep in mind that you also need to make sure the indicated ports (465 and 995) aren't blocked by your firewall.

August 3, 2007 at 2:04 PM  
Anonymous Angel P said...

i got it all to work but i cant get my contacts downloaded...tips?

August 16, 2007 at 6:52 PM  
Blogger Anand said...

I followed the instruction n was able to send mail. When i try to replicate i get the error "Replicator error, POP3 protocol error returned, Replicating database". Please help.

Thanking you in anticipation.

August 19, 2007 at 5:12 AM  
Anonymous Anonymous said...

The settings are correct. Thanks so much for sharing this. But I needed more tweaking in order for this to work on my Lotus Notes 6.5.5 client.

I followed your instructions to the dot, but then some items are missing in the location document so I ran the client configuration wizard. After seeing it did not do anything relevant, I went into the location document and woop... the replication was disabled...

So I enabled POP in Gmail, ran the replication again and walah!!! It worked....

Thanks again!

October 2, 2007 at 12:03 PM  
Anonymous Anonymous said...

Perfect!
Many thanks: Peter from Hungary

October 30, 2007 at 3:13 PM  
Blogger Christopher Anderson said...

Works better than fabulon.

Good work, only guide I've found.

Del.icio.us time. :-p

November 24, 2007 at 10:48 AM  
Blogger For said...

Thanks for ur precise indtructions ,. COuld any one guide me how to replicate to my inbox or to new database. My notes is alreday connected to domino server.

December 6, 2007 at 4:59 AM  
Anonymous Bayati said...

I followed the instruction on version 8, now i can send email through Gmail but not able to recieve.

the error is " error returned from remote access dialer"

please advise, thanks

December 30, 2007 at 5:16 AM  
Blogger Dave Leigh said...

Bayati, I've not seen the error you're talking about before, but I've got a couple of ideas...

It sounds like you're trying to connect via dial-up and the problem lies in Windows' remote access services. Possibly you've enabled this account for a dial-up location but you're not dialed in.

Also, check your firewall rules for port 995. This sounds a bit like an RAS error involving a blocked or "in use" port.

December 31, 2007 at 2:09 PM  
Anonymous Anonymous said...

I had problems for some time and gave up - today i decided to give it a final try and found your blog.

And now it works!!

thx

January 26, 2008 at 7:40 AM  
Anonymous Anonymous said...

Hi,

Thanks Dave,

It worked perfectly with my Lotus Notes 7, however there is one more question. When i choose to receive the mails manually they don't show up in my inbox until i change to a different folder although they are there under replications?

Thanks, Hennessy

January 30, 2008 at 8:45 AM  
Blogger Dave Leigh said...

Hennessy, that's probably just because you need to refresh the Inbox. Pressing F9 will do it, or clicking on the little blank space at the upper left corner of the Inbox.

February 4, 2008 at 9:30 AM  
Anonymous Anonymous said...

Hi All, I use Notes 8 Client to send/recieve my google emails and I would like to change my Username. It's currently set as Joe Bloggs/Joe Bloggs. I would like to change it to read something like Joe Bloggs/London/Home or similar. You can see this when you forward a mail in your inbox and it comes up forwarded by Joe Bloggs/Joe Bloggs etc etc. Can anyone assist? Thanks

March 14, 2008 at 3:56 PM  
Blogger Rajive said...

Hi
I,m Rajive from Sri Lanka

Thanks for these settings.But unfortunately i not able to receive email but sending working just as you said.seek your comment

March 15, 2008 at 10:41 AM  
Anonymous Anonymous said...

thanks for your tips. I had some trouble. I changed my gmail ID to just have my name (without gmail.com) and it worked for me..

April 11, 2008 at 12:10 PM  
Blogger Vishal said...

WELL i TRIED OPENING THE GOOGLE A/C IN LOTUS ITS ABLE TO SEND THE OUTGOING MAIL BT THE REPLICATION SHOWS AN ERROR IN POP...

POP3 PROTOCAL ERROR RETURNED
FAILED WITH pop.gmail.com 05:10 AM TODAY

A/C TYPE:- Incoming Internet mail
A/C SERVER NAME:- pop.gmail.com
LOGIN NAME:- vishal.tewetia@gmail.com
PWD:- ***********
PROTOCAL :- POP
SSL:- ENABLED
ONLY FROM LOCATION *

PROTOCOL CONFIGURATION
LEAVE MAL ON SERVER:- NO


ADVANCED
PORT: -995
ACCEPT SITE SSL:- YES
ACCEPT EXPIRED SSL:- YES
SEND SSL CERTIFICATES:- NO
VERIFY A/C SERVER DISABLED
SSL PROTOCOL VERSION: V3.0 WITH V2.0 HANDSHAKE



STILL NO INCOMMING MAIL AND YES
i AM ABLE TO PING THE POP SERVER...

PLEASE HELP @ THIS

May 3, 2008 at 11:38 PM  
Blogger Dave Leigh said...

Rajive & Vishal, go to your settings in Gmail and and enable POP on your account. Make sure the port is 995 (not -995). Also, look at Anonymous' suggestion about your account name.

Remember that Notes is only half of the solution. Your Gmail account settings must be correct as well, and there are instructions on Gmail.com for that.

May 4, 2008 at 12:00 PM  
Blogger Vishal said...

Hello friends,
I am able to send and receive the mails from the ln client to and from internet.
Basically the issue was with the mail settings for pop I did not get it enabled in gmail :P


But a new issue is here now.
Whenever I am sending the mail it is going to a default mail.box location and not going to the selected smtp.box where i am able to send the mails
basically the mail router keeps it in mail.box and shows error on replication as Unable to find path to the server.
Please help me about this.

May 9, 2008 at 10:17 AM  
Blogger Dave Leigh said...

Vishal, go back and review your SMTP connection document. The instructions are at the top of this page. Make sure it's enabled for the location you're using.

May 9, 2008 at 10:51 AM  
Blogger Chandrashekhar said...

I'm quiet new to LoNo. But excited to use it for accessing Gmail. I have a copy of LoNo 7.0.2; where I followed all of your instructions to setup Gmail account. But I'm not able to go through. The mail bookmark gives an error "cannot be opened due to error, 'File does not exists'". The same is happening with Inbox button on Welcome screen. Request you to guide me in detail.

May 15, 2008 at 10:23 AM  
Blogger Dave Leigh said...

Chandrashekhar, I think you need to review my instructions from the beginning.

The instructions are NOT for accessing the Gmail interface from inside the Notes client. You can just use a web browser for that. The instructions ARE for using Gmail as the POP3 server for incoming mail and the SMTP server for outgoing mail for a Notes mail database that exists in Lotus Notes. To do that you would edit the connection documents in your personal address book as I described and continue to use your Notes mail client.

Your Notes client should have been set up for mail during the installation... my instructions would have nothing at all to do with any bookmark errors.

May 17, 2008 at 1:54 PM  
Anonymous Tomster said...

Alright folks,

For those who have LN client as per instructions above but still cannot receive e-mails (no errors, just no mails in inbox even when refreshed):

Open up your web-based gmail account, if POP forwarding is enabled - disable it and enable back.

Replicate again. Should work, worked on my laptop.

May 22, 2008 at 1:56 PM  
Anonymous Seeni&Maddy said...

Dear All,

Its perfectly working.....

please tell how to download gmail contacts in lotus? Is it possible?

please suggest...

June 5, 2008 at 4:42 AM  
Anonymous Anonymous said...

Perfect description!!

You saved my life.

Regards from Malaga

June 26, 2008 at 5:52 AM  
Anonymous Luciano said...

Dave, thanks for your advice. Now I'm able to send emails from LN, but still have problems with incoming mail. When I replicate , I have the following error:

"Replicator error,SSL bad peer certificate. Connection refused, replicating database at 08:06".

I don't know what could be the problem.

Thanks again,

Luciano

Argentina

July 3, 2008 at 5:33 AM  
Blogger Stephanie said...

Who knew you'd still have comments about a 2 year old posting :)

My team is testing the Google Apps, gmail service. So, essentially, I can send e-mails through the web-based gmail client from my work domain name. Google Apps doesn't provide any Lotus Notes instructions on how to get the email sent to my Lotus Application to the gmail client, which is how I found your blog.

I've followed the instructions and have some questions.
1. Which do I want, POP or IMAP, if I want to have all of my e-mails that come in and out to Lotus available on gmail?
2. Do you think the problem is that Lotus thinks (not that Lotus can think) it is incorrectly coordinating with itself because the domain names are the same?
3. Any last suggestion as to why I keep getting POP3 Protocol Errors? I have tried each of the suggestion above with no avail.

Any suggestion would be much appreciated. Thanks in advance.

July 9, 2008 at 4:36 PM  
Blogger Dave Leigh said...

Hi Stephanie,

The answer to your problem is complex enough to warrant its own post. Keep an eye out for it on http://www.cratchit.org or subscribe to the RSS feed. I'll mull it over and have the post up late today or tomorrow.

July 10, 2008 at 5:37 AM  
Blogger Suthesan said...

Hi Dave Leigh and all

I was trying to configure LN, but i really dont understand why its not get connecting, i can send the mail but if i send it to my gmail only its passing through, other all mail...nothing, same time i can not recieve any mail also.

please try to give a full brief of how to configure without any trouble.

Thanks in Advance

Suthesan - Qatar

August 4, 2008 at 2:30 PM  
Anonymous Anonymous said...

Thanks for the post. I am able to send and receive emails but mails in my gmail sent box are also coming to lotus notes inbox. Is there some settings that has to be changed to receive sent mails in lotus notes sent folder.. Thanks again.

October 16, 2008 at 6:21 AM  
Blogger Dave Leigh said...

Anonymous, go to your Lotus Notes mail and create an agent. It should trigger on an event, the event being "after new mail has arrived".

In that agent,
* Add a condition, by field "From" contains your gMail address.
* Add a simple action, "Copy to folder", and select a folder in which to put the sent items.

October 16, 2008 at 8:35 AM  
Anonymous Anonymous said...

Thanks!! now I am receiving and sending without any problem... your help was just I needed... RBoteo from Guatemala, Central America.

November 8, 2008 at 11:57 PM  
Anonymous JoBrad said...

Dave,
Many thanks on the great post. I banged my head against the rock that Lotus Notes is for about an hour before I found your post. I'm still baffled that in the 21st century we can have software that makes it this difficult to perform a common task, and is used so widely. Your post is a lifesaver, though, as I'm sure you can tell from the number of comments through the years. Thanks for the help!

November 11, 2008 at 2:19 PM  
Blogger PAPAS DE OTELO said...

Thanks!!!!!!!

My problem was the tabs related to SSL, and with your guide it was solve... perfect!!!!

BEst regards, from Madrid - Spain.

November 20, 2008 at 4:20 AM  
Blogger rubyfr-ca said...

I'm configured my lotus note when iI send the message is good but I can't receive the message.

can you help me thanks

December 12, 2008 at 7:22 AM  
Blogger rubyfr-ca said...

I'm configured my lotus note with gmail when I send the message is good but when I receive the message not good
can you help me*
thanks

December 12, 2008 at 7:26 AM  
Blogger Dave Leigh said...

Rubyfr-ca, I must confess I don't understand your symptoms. All I can suggest is to try again. Follow ALL of my original instructions EXACTLY. They do work.

December 13, 2008 at 1:20 PM  
Blogger Roland said...

Hi,
I am using Lotus Notes 8.5 Beta 2 and for me, the SMTP works as per your instructions, but the POP side isn't. I've checked and rechecked the settings. Hopefully its just something in the beta that will be addressed in the Gold release which looks to be early Jan 09. If it doesn't work in that version, I'll open a PMR with Lotus. I hope Lotus is interested in their Client being used outside the corporate firewall.

December 23, 2008 at 7:07 AM  
Blogger Nitin said...

Hi

The Post was really Helpful , I followed the Exact instructions . i am able to send mails but Receiving mail is still a issue for me . I have Even Checked with my Firewall .

Please Help
Thanks

December 29, 2008 at 2:19 PM  
Anonymous Anonymous said...

HI

i have Done Everything as it was on the Post . The Issue is i am Not able to receive Mail . I get a Error " Replicator error, POP3 protocol error returned, Replicating database" . I even Changed the Settings in the Location Tab ( Enable Replication ) Still I get the Same Error .

Dave Please Help Me out Here . thanks

December 29, 2008 at 2:46 PM  
Anonymous Anonymous said...

Hi

Your Post Rocks !! Everything Works

Thanks

December 30, 2008 at 2:01 AM  
Blogger Roland said...

OK, for those who could send, not receive and vice versa, here's what worked for me:

I switched from Notes 8.5 beta to Notes 8.5 gold and found I had to delete the Account document and recreate them. Now everything is working for me.

January 6, 2009 at 9:19 PM  
Anonymous Baalu Aanand said...

Hi Dave Leigh

I am working on the Lotus notes 6.5.5. I have followed all the steps which you have guided earlier. But still I am unable to send and receive gmail's mails through Lotus notes. In my gmail account settings I have enabled the POP for all mail and also I have enabled the IMAP. Any further steps I want to do? Please guide me.

Thanks

February 18, 2009 at 11:03 PM  
Blogger NotesTracker said...

Yes, a good explanation. There are other things you might need to check if you can't get it working. For one, remember to set "Transfer outgoing mail if 1 messages pending" (assuming you want the mail to go out as soon as you click the Send button, and not wait for 5 or whatever configured multiple number of SMTP outgoing messages to first become queued up). And maybe, just maybe, your ISP won't handle outgoing and/or incoming SSL enablement properly.

March 9, 2009 at 8:32 AM  
Blogger jondear said...

Fantastic. I followed these instructions before and gave up after many hours. Tonight I played around with the handshake, Handshake 3.0 worked. But I can only see the header of my test emails. The body appears to be missing. And Notes keeps telling me "your administrator has specified that your mail file design should be upgraded... to 6.5", which this is, and I upgrade, only to get the message again later.

March 11, 2009 at 7:03 PM  
Blogger jondear said...

Actually its working now, thanks a lot.

March 11, 2009 at 7:45 PM  
Anonymous Anonymous said...

I wonder how do i change the senders info, it an send the mail out but it arrives with th email address and not the real name, any ideas?

April 7, 2009 at 5:01 PM  
Blogger Dave Leigh said...

Anonymous, go to your GMail account settings. On the second tab ("Accounts") configure your "Send Mail As" option.

April 8, 2009 at 4:20 PM  
Blogger Ricardo said...

WHYYYY!! ISS SOOO HAARDD?

It is just a pop email account with SMTP!

geez...

April 30, 2009 at 1:09 PM  
Anonymous Anonymous said...

Nope, it does not work, still arriving with the user@gmail.com format instead "Jonh Doe" format, and this happends onl with lotus notes, outlook and thunderbid works fine with the second tab on gmail settings. Not sure what is going on, I have Notes 8.0.2. Any more ideas?

May 15, 2009 at 7:55 AM  
Anonymous Anonymous said...

It does not matter what you put on the sender information on the google settings, it still sending user@gmail.com format from Lotus Notes. Any ideas?

June 6, 2009 at 5:48 PM  
Blogger jondear said...

Likewise can't receive or send email in LN 6.5, either on PC or Mac. I did get it working on PC once, but have no idea either why,nor why it stopped. Any chance of going through the other default settings? On the PC I've mangled things so much now by trying every option I could think of I've probably introduced some unnecessary errors. Meanwhile I did a clean reinstall on the Mac, and followed your excellent instruction again, but no deal. Gmail IS correctly setup for pop, I get it from lots of other mail readers, Apple Mail, Outlook etc.
The fact that I got it to work once and received 4 emails really has me thrown.

July 1, 2009 at 6:16 AM  
Blogger jondear said...

And once again, after going back to Address Book / Advanced / Accounts / Incoming Internet mail / Edit Account / Advanced tab/ SSL Protocol version: changing the "Handshake 3.0" back to V3.0 with V2.0 handshake, it worked!?!
Also in Address Book / Advanced / Locations / Internet / Edit Location / Servers tab / Home/mail Server, I edited that to be pop.gmail.com, and thought maybe that got it working, but as I've checked it now and its reverted to a "blank" entry, it couldn't have been that.
Obviously I don't use this app for anything other than testing, and once its running smoothly, its probably fine, but it is a little irritating to set up.
Thanks again for your help!

July 1, 2009 at 6:51 AM  
Anonymous Anonymous said...

Hi Sir,
I have a college LAN connection with proxy settings. Means we have to use proxy server and port number to access internet. I am not able to send or receive or replicate the mails from gmail on Lotus. Also i am not able to ping google.com or smtp.gmail.com or pop.gmail.com from command prompt. I do not know what the problem is.

So can u please help me about this sitution...
Thanking you.....

July 25, 2009 at 8:44 AM  
Blogger Tim said...

Some companies may block the servers necessary to complete this. Mine does. :D

August 5, 2009 at 7:36 AM  
Blogger Dave Leigh said...

Anonymous, the problem is that ping doesn't know anything about proxies.

Tim, the assumption here is that you're using Gmail with the blessing of your company. If you're using Lotus Notes provided by the company, then you should be connecting to their mail server (probably Domino).

In every case, the assumption is that you have access to the ports listed. If you don't, and your company won't provide you that access, I'm not going to tell you how to circumvent that. It's their network, so they get the final say.

August 5, 2009 at 3:01 PM  
Anonymous Anonymous said...

Who knows where to download XRumer 5.0 Palladium?
Help, please. All recommend this program to effectively advertise on the Internet, this is the best program!

November 23, 2009 at 2:39 PM  
Blogger Mahu said...

Hi
Thankyou very much my prb is solved

June 23, 2010 at 11:59 PM  
Blogger Mahu said...

Thankyou very much my prb is solved

June 24, 2010 at 12:00 AM  
Anonymous Flint Stelter said...

Thx from germany, this helped a lot!
I have to optimize a newsletter design for an older version of Notes and configuring it for gmail was more complicated than I initially expected.

Take care
Flint

December 1, 2010 at 8:17 AM  
Blogger Haribabu_chow said...

we are doing a project on lotus notes launcher.can any one send me the code please

February 7, 2011 at 3:22 AM  
Anonymous Angie said...

There is a tool to sync Lotus Notes mail with Gmail - Awesync.Mail (http://www.awesync.com/awesync.mail.beta)

Free trial for 90 days!

August 20, 2013 at 4:26 AM  
Blogger Dave Leigh said...

I don't always go back and revisit these posts, but in this case I should. For that matter, I think I'll distinguish it with a review... I use AWESync every day and have done for a long time now, not just to synchronize mail, but especially to sync my calendar, tasks and notes. It plays very well in a corporate environment, respecting my employer's firewall and proxy. It gets a glowing recommendation from me.

August 20, 2013 at 7:16 AM  
Blogger Randal Oulton said...

Totally exact step by step, updated instructions are here:

http://kiranjadhav1.blogspot.ca/2012/08/how-to-configure-gmail-imap-account-in.html

April 21, 2014 at 6:47 PM  

Post a Comment

<< Home