Wednesday, June 10, 2015

'send as' Outlook365 e-mail account 2 ur Gmail,











   

This is likely not a problem everyone has (and a nerdy one at that), but just in case, here's how to solve it. If you want to add a new 'send as' Outlook365 e-mail account to your Gmail, sometimes you'll get an annoying error like this in detached, bureaucratic red: [Server response: read error code(0) ]

That's because Google automatically generates a default DNS server based on some information embedded in the domain name your e-mail username is connected to (e.g. your.name@domainname.com). You need to actually ping the Outlook server most local to you in the command Terminal (it's as easy as "ping smtp.office365.com") and use that as the main host instead, along with your *complete* e-mail address and password -- not just your username as indicated in the field.
(Also, this will only work if you have SMTP options enabled.)

VERY sorry if this is mostly jargon, but it took me a good chunk of time and a lot of frustration to figure out! Trying to be productive with this knowledge by passing it on before passing out. Cheers!



kevinmoor -

If you are trying to set up your Office365 account as a Send Mail As address in Gmail, then you are correct that you will need to enter the SMTP server name for the remote account. You will also need the SMTP port number and the security level (SSL,TLS) that the Office365 account requires. These details can be obtained from your other provider. 

You'll then need to enter the full email address of the account you want to set up, including the full domain name, and the password for that account. 

If the remote server still refuses authentication, then you may need to sign in to the other account to see if any security procedures are being required.  If nothing appears to be required, then you'll need to contact your other provider to find out why the SMTP authentication isn't working. 





wdurham said:

Chelsea -

Hello - I am trying to route a new email address from Office365 to Gmail on my mac. 

Can you explain what that actually means?  What exactly are you attempting to do, and how are you attempting to do it? 

How do you access Gmail on your Mac? Your browser? Or Apple Mail? 






11/4/14

kevinmoore said:

Thanks wdurham-
I spent some time working through some of the Office 365 settings including connecting to the Exchange server through PowerShell without any luck. Since I'm assuming that there are many people looking to use their gmail account to "SendAs" an alternate Office 365 one, I was hoping that you might have some tips on making that happen.  I don't expect Microsoft to be all that helpful with how to set up a Google client to send/receive email for their accounts, but I'll try giving it a whirl.





11/4/14

wdurham said:

Kevin - MS do document the POP, IMAP and SMTP server names, port numbers and required security settings in their own support pages for Office 365 accounts - see the help page here:


If you still cannot make the Office365 SMTP server authenticate, then I'm afraid you'll need to contact either your administrator or Microsoft. 







Thanks wdurham.
I've already followed all of the instructions you've linked to and get the error as shown from gmail in my original post.  I suspect that there is some sort of trouble between gmail and office365 with authorization.  Note that while the Microsoft documentation you link to describes how to access Office365 from various third-party email clients, gmail is conspicuously not one of them.  If I have the time, I'll follow up with Microsoft.  I appreciate your time.
Sincerely, Kevin
Hope you can fix it, Kevin.






11/5/14

Marcelo Alcocer said:

I had the same issue accessing an Outlook365 institutional e-mail address from gmail. Changing the SMTP server address from smtp.outlook365.com to smtp.outlook.office365.com seemed to solve it for me though.
+3





1

Hi Marcelo-
Thanks for your post.  I tried using smtp.outlook.office365.com and got the same message.  I'm currently trying to set up "SMTP relay" with Office 365 in order to get this to work, but with no luck so far. It's wanting a fixed IP address from which Gmail outbound email will come and I'm thinking that that might be a bit of a hang up. I will report back if I have any success.
Thanks!
Kevin





11/7/14

Rafael SZP said:

I'm having the same issue. If you find the answer please send a reply





11/7/14

Dan Y said:

Same thing here, any solution?





11/7/14

wdurham said:

If you are all trying to use the Office 365 SMTP Relay setup which relies on outgoing mail from Gmail coming from a fixed IP address for authentication purposes, then it is not likely that you will succeed.

Try this MS Help page, or consult MS Support for the best way to handle using your Office 365 SMTP server to send outgoing mail from your Gmail account. 






11/8/14

kevinmoore said:

Thanks wdurham.
The technet link you refer to offers three methods: SMTP Relay, Client SMTP Submission and Direct Send, none of which I'm able to get working.  I'm currently interacting with Microsoft Support via the thread http://community.office365.com/en-us/f/158/p/275192/843762.aspx#843762
I will report back when I have a solution or an understanding that this can't be done.  Don't hesitate to let me know if you have any additional possibilities for solution.
Kevin





11/10/14

DaveHarrison said:

I cant wait to hear what you find kevinmoore - there is only so many times that you can type your username and password without going insane!





11/13/14






Rafael SZP's profile photo
11/14/14

Rafael SZP said:

It simply can't work here yet. I hate office 365. :P





Gmail Help  Forum's profile photo
11/14/14

Gmail Help Forum said:

Thanks so much for your help! In fact, I was having the same problem in Spain and when reading your post, I thought of writing "ping smtp.office365.com" and voila the correct name appears and it worked!
+7





kevinmoore's profile photo
11/14/14

kevinmoore said:

Thanks Fred Wu & Gmail Help Forum!!
I used the "ping smtp.office365.com" at a command prompt in Windows.  In my case, in Wisconsin,US, it returned outlook-namnorth.office365.com as the DNS name. Using this host with my full office365 email address and password worked!
+21





wdurham's profile photo
11/14/14

wdurham said:

Many thanks to the Office365 users who have been troubleshooting this and arrived at what appears to be the solution to finding the correct SMTP server for your accounts.

I've bookmarked and starred these posts for other Office365 users who may encounter the same problem in finding out which SMTP server they should use. 





kgpuzio's profile photo
12/2/14

kgpuzio said:

This worked for me too.  Thanks Fred Wu and Gmail and KevinMoore.  I live in Spokane, WA. I used the command prompt (For Windows 7, Click start in bottom left corner, then search "CMD" and the program will appear).  I typed in "ping smtp.outlook365.com" and "outlook-namnorth.office365.com" turned up.  When I put this into Gmail it finally accepted my password and now lets me send messages from my Gmail account.







rpam's profile photo
12/12/14

rpam said:

I'm from Brazil and it worked also for me. outlook-namsouth.office365.com





dme102's profile photo
12/17/14

dme102 said:

I'm in australia and this also worked for me (outlook-apacsouth.office365.com). Sigh microsoft....




Jan 13

Jean-François Thibault said:

I'm in eastern Canada and found outlook-nameast.office365.com to be the correct server to be used as smtp server in Gmail. Thanks!







CD505's profile photo
Jan 23

CD505 said:

Worked!  Thanks!
+1





ARPAN SARAKR's profile photo
Feb 5

ARPAN SARAKR said:

Hi Man,
 U r God. It worked for me. I am in India. "outlook-apacnorth.office365.com" worked for me.
Edited
+1





ARPAN SARAKR's profile photo
Feb 5

ARPAN SARAKR said:

Hi Man,
 U r God. It worked for me. I am from India. "outlook-apacnorth.office365.com" worked for me. 
+1





Thomas Hauner's profile photo
Feb 9

Thomas Hauner said:

I'm in NYC and none of the following SMTP specifications have worked : ( :

outlook-namnortheast.office365.com (this is the ping'd server)

For each I get the same server response:

[Server response: 334 VXNlcm5hbWU6 334 UGFzc3dvcmQ6 535 5.7.3 Authentication unsuccessful code(535) ]
+2





kevinmoore's profile photo
Feb 11

kevinmoore said:

Hi Thomas-
I had my son living in Brooklyn try it and he gets outlook-namcentral.office365.com which isn't in your list of names you tried.
Kevin
+1





Thomas Hauner's profile photo
Feb 12

Thomas Hauner said:

Thanks for the suggestion Kevin. Unfortunately I can now add outlook-namcentral.office365.com to the list of SMTP servers that give me the same response. (I've triple checked my username and password throughout.)
+1





kevinmoore's profile photo
Feb 13

kevinmoore said:

Sorry to hear Thomas.  When you do find your answer, if you could post it here that would be awesome!  Also, there is a command-line utility "dig" that's not part of (my version at least) Windows, but may work for other OS's (see Fred Wu's post above).

+1





vulgarbulgar's profile photo
Feb 18

vulgarbulgar said:

i am currently attempting to do this from niagara falls, canada, and am getting the outlook-apacnorth.office365.com from the dig command. however, still the same error when attempting to authenticate in gmail.


anyone have a more definitive solution yet? please share with us.


+1





Thomas Hauner's profile photo
Feb 18

Thomas Hauner said:

Unfortunately I'm still in the same position. I triple check my login details, and have even changed the Outlook password to something very simple to be certain, but still no luck.

Is there some Outlook setting that prevents outside logins? I know Gmail can often block login attempts from new/strange servers.

Thomas-
+2





Tonni Hou's profile photo
Mar 12

Tonni Hou said:

Many thanks, man.
+1





W Parot's profile photo
Mar 31

W Parot said:

thank you so much!!! i was so frustrated the past few days trying nearly 100 times!

here's the server name in Hong Kong, in case anyone needs it:

+2





Alexius Santoni's profile photo
Apr 1

Alexius Santoni said:

hello, I have the same problem I am in the Dominican Republic and the namsouth dns does not work neither does the north.
The account that I am trying  to access is in france maybe this has something to do. Is there somebody in france thta can dig the office365 just to check.
thanks
+1







Luke Sparks's profile photo
Apr 1

Luke Sparks said:

This worked for me.
Make sure the username is the complete email address.

For example:
Username: youremai...@gmail.com (make sure the full email address is used here)
Password: "your password"

It would not work for me if only "youremailaddress" was used as the username.
+2





AaronMB's profile photo
Apr 2

AaronMB said:

that's the same DNS name I got in Florida so hopefully it will work country wide. this work around was successful for me!
+1





Alexius Santoni's profile photo
Apr 2

Alexius Santoni said:

Thanks Luke. I had to change my password in the office365 account because of password policy, and the problem stopped. So i am not able to test your solution, hopefully it will work for others. cheers.


.

+1





SheenaP's profile photo
Apr 8

SheenaP said:

I am in Ohio, USA and it also worked for me after I used what Luke suggested..

Good luck!

Username: youremai...@gmail.com (make sure the full email address is used here)
Password: "your password"
+1





skilly7's profile photo
Apr 21

skilly7 said:

Thanks for this.  I'm based in Brussels (though with an Australian domain), and my ping got outlook-emeacenter.office365.com.  No love still - "Your other email provider is responding too slowly. Please try again later or contact the administrator of your other domain for further information.".   If anyone else in Europe manages to solve this, let me know!   
+1





MatthijsH's profile photo
May 8

MatthijsH said:

Thanks for the tip; for me in the Netherlands it lead to outlook-emeasouth.office365.com and that worked like a charm!
+1





baggins1's profile photo
May 9

baggins1 said:

Thanks so much!

I've been trawling the web for answers on this problem after switching our business to office365 and losing all functionality on my business email from the gmail app. 

Most sites say just keep trying, but after about 40-50 tries, I stumbled across this, so had a crack at nslookup which revealed outlook-au.office365.com - still no joy after another 10-20 attempts, then I tried the outlook-apacsouth.office365.com which you mention above, and voila! First time! 

Office - why do you not publish a standard document on this! I've finally found an the answer after 2 weeks of searching! 

The thing that made this problem that much harder, is that I was getting no techincal error descriptions in the emails that were bouncing after the office365 migration... (I had the business email set up previously).

Hopefully this post helps those who have experienced similar issues... 

I found this site to be helpful in that it eventually pointed me here. (I have no affiliation to this site).
+1





nishant vats's profile photo
May 28

nishant vats said:

For ppl like me who pinged smtp.office365.com got the name of outlook server and still couldn't make it work. I tried two things
1. Changed my office365 account password
2. In my office365 account, went to options > general>myaccount and looked at country/region. It had canada, Jean-François Thibault (Thanks Jean) had already mentioned the name of the server for canada. Used that server name and it worked !! Phew ! Finally ! :)





mayank4863's profile photo
Jun 4

mayank4863 said:

Many Thanks. It works for me as well. 





No comments:

Post a Comment