Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

SMTP outgoing email not work on SharePoint 2010

Posted on 2013-06-28
20
Medium Priority
?
3,106 Views
Last Modified: 2014-02-01
I installed sharePoint server 2010 on windows server 2008 R2. The SharePoint is running on a test server. I configured SMTP to point to google mail. I also went to the SharePoint administration site and configured SMTP outgoing emails. When I create a task it does not send the notification. Connecting to the server on a telnet client works and I can send emails. What could be the problem.?
0
Comment
Question by:Atouray
18 Comments
 
LVL 38

Expert Comment

by:Justin Smith
ID: 39284097
Do you need to authenticate to send from Google mail?  I really don't see how Google could allow open relay from their server.

SharePoint can't authenticate with SMTP servers.  You can get around it by using a local IIS SMTP server and configuring Google as a smart host.
0
 

Author Comment

by:Atouray
ID: 39284306
I configured the local smtp as a smart host for google mails. The local smtp works when I connect using telnet. I was able to send emails from the telnet interface to gmail users.
0
 
LVL 38

Expert Comment

by:Justin Smith
ID: 39284316
Is this correct?

You have the SMTP service running on a web server.  You have that service configured to connect to Google mail to send all outbound email.  In Central Admin, you have your web server set in the Outgoing Email setting (and not Google).
0
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 

Author Comment

by:Atouray
ID: 39284328
Yes @achilles I have the SMTP services running locally on that server. Convert as a smart host send all outbound to google. And the Central Admin SMTP settings points to the localhost smtp services. The smtp services on II6 is set to anonymous authentication.

Thank you
0
 
LVL 38

Expert Comment

by:Justin Smith
ID: 39284334
Ok.  

Tasks aren't a good way to test outbound email, since they can be a bit flaky.  The best way to test is to add a user to a SharePoint group and choose to "Notify the user".  The outbound email will be generated immediately and there are hardly ever any issues with this type of notification.
0
 

Author Comment

by:Atouray
ID: 39284361
Hi @achilles thanks for that I used  adding user to a group and got this message

The user or users have been added successfully, but there was an error in sending the e-mail message. The server may not be set up correctly to send e-mail. To verify that e-mail is configured correctly, contact your server administrator.

Troubleshoot issues with Microsoft SharePoint Foundation.

Correlation ID: 95a78f7f-6d21-46dd-94d4-32ba896a7764

Date and Time: 6/28/2013 6:42:09 AM
0
 
LVL 38

Expert Comment

by:Justin Smith
ID: 39284384
That's typically because you have a bad SMTP server address configured in the Outgoing Email box.  Also, verify it's not a different address on the web app.

You can set individual web app outgoing emails in APp Managment - Manage Web APplications - General Settings - Outbound Email
0
 

Author Comment

by:Atouray
ID: 39284428
Everything seem to be ok. Went to the web application mangement and verify the settings. I have my smtp server pointed to my IP address of the machine (the server itself) my from to address is the same address used at the IIS 6 smtp configuration which is the same as the reply to address.

I forgot to made mention of this, when I was configuring the II6 smtp, it refused to work on port 25. I saw an article online saying changing the port from 2525 will solve it. I did that and the SMTP started running. Could this be the case?
0
 
LVL 38

Expert Comment

by:Justin Smith
ID: 39284990
Can google use a non 25 port?
0
 

Author Comment

by:Atouray
ID: 39284995
Well on the telnet interface I can send send email to google using that port. So I think they do
0
 
LVL 38

Expert Comment

by:Justin Smith
ID: 39285012
0
 

Expert Comment

by:wish_C
ID: 39286078
How did you create the task?
0
 

Author Comment

by:Atouray
ID: 39286994
@achillis sorry for the late reply. I followed a similar article when I was doing the configuration but insteas of MS smtp I used that of Google's.

@wish_C I used the normal task creation. Added a title, an assignee (the individual the alert is to be sent) details, start date.
0
 

Author Comment

by:Atouray
ID: 39296655
I have changed the port to 25 and I have noticed that my messages are dumped to the queue directory but never delivered. Any idea what is going on?
173.194.68.109, OutboundConnectionCommand, 7/3/2013, 5:45:11, SMTPSVC1, PHOENIX, -, 78, 0, 4, 0, 0, EHLO, -, name.mydoamin.com,
173.194.68.109, OutboundConnectionResponse, 7/3/2013, 5:45:11, SMTPSVC1, PHOENIX, -, 140, 0, 51, 0, 0, -, -, 250-mx.google.com at your service, [-----------------------],
173.194.68.109, OutboundConnectionCommand, 7/3/2013, 5:45:11, SMTPSVC1, PHOENIX, -, 140, 0, 8, 0, 0, STARTTLS, -, -,
173.194.68.109, OutboundConnectionResponse, 7/3/2013, 5:45:11, SMTPSVC1, PHOENIX, -, 219, 0, 28, 0, 0, -, -, 220 2.0.0 Ready to start TLS,
173.194.68.109, OutboundConnectionCommand, 7/3/2013, 5:45:11, SMTPSVC1, PHOENIX, -, 422, 0, 4, 0, 0, EHLO, -, phoenix.isecured.com,
173.194.68.109, OutboundConnectionResponse, 7/3/2013, 5:45:11, SMTPSVC1, PHOENIX, -, 484, 0, 51, 0, 0, -, -, 250-mx.google.com at your service, [-------------------],
173.194.68.109, OutboundConnectionCommand, 7/3/2013, 5:45:11, SMTPSVC1, PHOENIX, -, 484, 0, 4, 0, 0, AUTH, -, -,
173.194.68.109, OutboundConnectionResponse, 7/3/2013, 5:45:11, SMTPSVC1, PHOENIX, -, 547, 0, 16, 0, 0, -, -, 334 UGFzc3dvcmQ6,
173.194.68.109, OutboundConnectionResponse, 7/3/2013, 5:45:11, SMTPSVC1, PHOENIX, -, 797, 0, 79, 0, 0, -, -, 534-5.7.9 Please log in with your web browser and then try again. Learn more at,

Open in new window

0
 
LVL 19

Expert Comment

by:Richard Daneke
ID: 39298086
Read the HELP files on your gmail account.  Some applications are now challenged with a 2-step authentication process.  SMTP is now using 567 and not 25.  
You are intending an sending all email messages from the same account?  or are you trying to use SMTP un-authenticated?
0
 

Accepted Solution

by:
Atouray earned 0 total points
ID: 39811376
Folks the problem was solved long time ago. Sorry I couldn't reply mainly because my account was locked. I had to open a browser on that server and logged in with my gmail account. Thats all I did and it worked.

Thank you all for your suggestions.
0
 
LVL 38

Expert Comment

by:Justin Smith
ID: 39811992
Close the ticket.
0
 

Author Closing Comment

by:Atouray
ID: 39826065
It was solved by signing in to my account on that server. A suggestion that was not given by any of the experts
0

Featured Post

Simplify Active Directory Administration

Administration of Active Directory does not have to be hard.  Too often what should be a simple task is made more difficult than it needs to be.The solution?  Hyena from SystemTools Software.  With ease-of-use as well as powerful importing and bulk updating capabilities.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article explains how to install and use the NTBackup utility that comes with Windows Server.
After seeing many questions for JRNL_WRAP_ERROR for replication failure, I thought it would be useful to write this article.
This tutorial will walk an individual through configuring a drive on a Windows Server 2008 to perform shadow copies in order to quickly recover deleted files and folders. Click on Start and then select Computer to view the available drives on the se…
This tutorial will show how to configure a new Backup Exec 2012 server and move an existing database to that server with the use of the BEUtility. Install Backup Exec 2012 on the new server and apply all of the latest hotfixes and service packs. The…

879 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question