Portal Engine Questions on portal engine and web parts.
Version 5.x > Portal Engine > Failure sending mail. View modes: 
User avatar
Member
Member
vinci - 5/4/2011 10:45:41 PM
   
Failure sending mail.
Hi,

I would like to ask why the mail is not send to corresponding email when user submit using a Form on the website.
I have checked the SMTP server and everything looks fine. But all the email are blocked in the email queue for about 1week and already tried to send manually but still failed. I also tried to send the email to my own email account but failed to receive also. May I know what is the problem and is there any way to solve it ?

Below is the event log message:
Event ID: 32001
Event type: Error
Event time: 05.05.2011 11:23:49 AM
Source: Emails
Event code: SENDEMAIL
IP address:

Description: 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(String host, Int32 port)
at System.Net.Mail.SmtpTransport.GetConnection(String host, Int32 port)
at System.Net.Mail.SmtpClient.GetConnection()
at System.Net.Mail.SmtpClient.Send(MailMessage message)
at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
at System.Net.Sockets.Socket.InternalConnect(EndPoint remoteEP)
at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Int32 timeout, Exception& exception)

p/s: The email function is working fine previously.

Thank you.

User avatar
Kentico Developer
Kentico Developer
kentico_helenag - 5/5/2011 5:17:53 AM
   
RE:Failure sending mail.
Hello,

Could you please check the SMTP sever configuration in Site manager?

You can test sending e-mails from Kentico CMS using the CMS Site Manager -> Administration -> System -> E-mail dialog.

Best regards,
Helena Grulichova

User avatar
Member
Member
vinci - 5/5/2011 8:26:47 PM
   
RE:Failure sending mail.
Hi,

After sent email, status still same, Failure sending mail.

Thanks

User avatar
Member
Member
Armysniper89 - 5/6/2011 12:57:27 AM
   
RE:Failure sending mail.
Is the SMTP server located locally? If it is not, you might have issues with being able to send email to it since it is not on the same server or your credentials to the server are not correct.

User avatar
Kentico Developer
Kentico Developer
kentico_helenag - 5/9/2011 8:08:59 AM
   
RE:Failure sending mail.
Hi,

If you are not able to send the e-mail in Site Manager -> Administration -> System -> E-mail, it means that the credentials are not correct.

Best regards,
Helena Grulichova

User avatar
Kentico MVP
Kentico MVP
Jeroen Fürst - 5/6/2011 7:56:44 AM
   
RE:Failure sending mail.
Hi Vinci,

This is probably because you did not setup the SMTP server in the global settings.

Cheers,
Jeroen

User avatar
Member
Member
vinci - 5/15/2011 9:33:45 PM
   
RE:Failure sending mail.
Hi Jeroen,

how to setup the SMTP server as you mention ? Because the system was installed in server but not locally, i did not have the access to the server and the in charge person just ask me to change the port number in kentico setting(usually at SMTP Server will put "localhost" ). May i know how to do this? Thank you.

User avatar
Member
Member
vinci - 5/16/2011 3:05:40 AM
   
RE:Failure sending mail.
*May I know how to change SMTP port in kentico ? Thank you.

User avatar
Kentico Developer
Kentico Developer
kentico_ivanat - 5/16/2011 3:51:43 AM
   
RE:Failure sending mail.
Hi,

Please navigate to the Site Manager - Settings - E-mails. There is a field Server name. The value of this field should be in format serverName:portNumber

Best regards,
Ivana Tomanickova

User avatar
Member
Member
vinci - 5/17/2011 11:23:03 PM
   
RE:Failure sending mail.
Thank you, it's work and everything look fine.

User avatar
Member
Member
ashish.diwaker-technousa - 10/26/2013 1:24:02 AM
   
RE:Failure sending mail.
I also had the same problem, but changing the SMTP Server value to 'Server IP:Port Number' solved the issue.

Thanks

User avatar
Member
Member
ashish.diwaker-technousa - 10/26/2013 1:41:16 AM
   
RE:Failure sending mail.
Hi,

Sorry to interrupt again, but I am having problems sending automatic emails, when a new comment is posted against a Blog-Post.

I have set the "Send comments to e-mail:" field for that Blog, But Email is not sent when a new comment is posted.
Also, there's no entry in "Email Queue" or "Sent Emails" tabs under Sitemanager -> Administration -> E-mail Queue

Can I get any halp about this?

Thanks
Ashish

User avatar
Member
Member
kentico_sandroj - 10/29/2013 5:32:27 PM
   
RE:Failure sending mail.
Hello,

Could you please confirm if this issue is in a version 5 instance of Kentico?

Also, are you able to send any e-mails from within Kentico? Is the Enable e-mails setting enabled under Site Manager > Settings > System > E-mails > E-mail processing?

If so, are you getting any errors under Site Manager > Administration > Event log after submitting the comment?

Please let me know which exact version you are running and I will attempt to reproduce the issue.

Best Regards,
Sandro