The following exception occured when trying to send out notification email: The transport failed to connect to the server.
at System.Web.Mail.SmtpMail.LateBoundAccessHelper.CallMethod(Object obj, String methodName, Object[] args)
at System.Web.Mail.SmtpMail.CdoSysHelper.Send(MailMessage message)
at System.Web.Mail.SmtpMail.Send(MailMessage message)
at Microsoft.BusinessSolutions.BusinessNotification.NotificationService.SmtpDeliveryProtocol.SendSmtpEmail(String senderEmail, String recipientEmail, String subject, String body, String culture) Please make sure that you have configured your SMTP server correctly, and this machine can relay emails through that server, and that the there are no misspellings in the name (IP address) of your SMTP server you have specified.
Answers
"220 MX.gmail.com ESMTP 2sm454475tif.50"
What it mean?
Then follow http://support.microsoft.com/default.aspx/kb/153119to see if you need any authentications on SMTP
How can I configure SMTP on server machine on which BN is installed for gmail so that I can able to send email.
My client dont have any exchange esrver/domain user that why am using smtp.gmail.com
Can I able to send the mails directly to gmail without exchange server/without domain ID from standalone PC?
I had also verified that the messages are created in the messageStore table after turnoff the NS$BusinessNotificationInstance service. But After stating NS$BusinessNotificationInstance service, entries are not created in the Business Notification Log.
I am not able to understand wether the problem is in SMTP server configuration or somewhere else. Please suggest me any solution.
If problem is in SMTP server configuration how can I configure SMTP server properly?
Try running service using administrator account. Then you can check if you have anonnimous access to SMTP connector or add BN server in granted list.
The messages are in "Transmission Log table" but email is not sending.
The services for BN are deployment service and notification instance service should have login "Local System Account" as I installed the navision from local system account. \:D/