I know this may of been covered but of all the email related posts I have already read none appeared to be related to what I am experiencing. So bear with me please.
OME is version 1.2.0.3441
I'm not getting any email alerts when I force a trap. OME is receiving the traps and all is working as I expect. No emails though.
So in the rather useful Trouble shooting tool I have setup the email test but keep receiving:
The operation has timed out. Also verify the "To" and "From" fields
Verified those and I can telnet happily to the port of the smtp server from the OME host.
My testing details are -
SMTP Server IP Address: smtp.gmail.com To: From: Use Credentials is selected Domain\Username: \ Passwrod: Port: Use Default is not selected - port set to 465
And that is all the options. At first I had the Domain\Username setup incorrectly and I know the gmail details are correct as I have that already set up on other devices within the environment.
In the OME prefs section, there is an SMTP settings section. In there you can find a logging setting. Can you try to enable logging and see if it has any useful info there? Don't forget to turn logging off when you are done.
Hmmmm....Ok, I think gmail handles SSL slightly differently.
Can you try SSL = true and port 25 & port 587 to see if that helps. Otherwise we may need to review our support of Gmail as an smtp server. Do you have another smtp server to try for debugging purposes?
Thanks for the reply once again. At this point I unfortunately don't have another smtp server I can use for debugging. Google hosts all of our email functions.
Here are my findings:
test one
smtp.gmail.com Use Credentials selected \ port 25 Use SSL yes logging everything
System.Net.Mail.SmtpException: The SMTP server requires a secure connection or the client was not authenticated. The server response was: 5.5.1 Authentication Required.
System.Net.Mail.SmtpException: The SMTP server requires a secure connection or the client was not authenticated. The server response was: 5.5.1 Authentication Required.
I was able to solve this problem by configuring local SMTP server on 2008 R2 to relay to my Gmail account. For instructions on how to do it, use this article: http://codingbliss.com/?p=38. Article fails to mention that you should add smtp.gmail.com in “smart host” . Smart host is mentioned later in the thread though. When local SMPT is configured, you can send to 127.0.0.1 using standard SMTP port 25. I also had to change "Relay Restrictions" from default of "Only the list below" to "All except the list below" for real test to work. Dropping file in pickup directory worked without it, but real test fails.I know it is not very secure. You can specify local IP address to make it more secure if needed.
YoungyLives
29 Posts
2474
0
Posted December 2nd, 2013 20:00
Hi Rob,
With logging set to everything. Here is an extract:
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * EXCEPTION * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * 12/03/2013 15:50:22 Unable to send the email. System.Net.Mail.SmtpException: The operation has timed out. at System.Net.Mail.SmtpClient.Send(MailMessage message) at sendmail.Program.Main(String[] args) ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
Get the same thing if I select SSL or not as well as trying different version of the Domain\Username setup.