I have an issue with setting up kentico to use an SMTP server. My settings are correct in CMSSiteManager > Settings > Emails because I am able to send out test emails from the email queue and from Administration > System > Email. Now under Administration > System > Email, the form keeps retaining the old SMTP server name but all the other information has been updated to the new SMTP server creds (production).
An event from the event log:
Message: Failure sending mail.
Stack Trace:
at System.Net.Mail.SmtpClient.Send(MailMessage message)
at CMS.EmailProvider.EmailProvider.SendEmail(String siteName, MailMessage message, String server, String username, String password, String encoding, Boolean useSSL)
at CMS.EmailProvider.EmailProvider.SendEmail(String siteName, MailMessage message)
at CMS.EmailEngine.EmailSender.SendQueuedEmail(EmailInfo ei, Int32 userId)
at System.Net.ServicePoint.GetConnection(PooledStream PooledStream, Object owner, Boolean async, IPAddress& address, Socket& abortSocket, Socket& abortSocket6, Int32 timeout)
at System.Net.PooledStream.Activate(Object owningObject, Boolean async, Int32 timeout, GeneralAsyncDelegate asyncCallback)
at System.Net.PooledStream.Activate(Object owningObject, GeneralAsyncDelegate asyncCallback)
at System.Net.ConnectionPool.GetConnection(Object owningObject, GeneralAsyncDelegate asyncCallback, Int32 creationTimeout)
at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
at System.Net.Mail.SmtpClient.Send(MailMessage message)
I have also tried changing the global setting from email type to "both", "html", and "plain". None of these options seem to help.
Any ideas?