Portal Engine Questions on portal engine and web parts.
Version 5.x > Portal Engine > Email queue error message detail View modes: 
User avatar
Member
Member
marc-andre_poulin-ssss.gouv.qc - 2/1/2011 9:47:10 AM
   
Email queue error message detail
I would like to know if it's possible to have more detailled information when an email has a failure sending.

I have an email that keep failing sending, but I don't find the detail on why this email can't be sent.

It could be an too big attachment, invalid extention reject by smtp server, invalid email or something else but I can't tell.

Thanks

User avatar
Kentico Support
Kentico Support
kentico_jurajo - 2/2/2011 2:46:34 AM
   
RE:Email queue error message detail
Hi,

Could you please click on the failure link in the e-mail queue to see if there are any additional details? Also, you can check in Site Manager -> Administration -> Event log if there are any errors logged regarding e-mail sending as well as the windows event viewer or the SMTP server event log.

Best regards,
Juraj Ondrus

User avatar
Member
Member
marc-andre_poulin-ssss.gouv.qc - 2/2/2011 8:24:14 AM
   
RE:Email queue error message detail
Ok great the event log display more informations but only the stack trace :

EventID: 34357

EventType: E

EventTime: 2011-02-02 09:16:32

Source: Emails

EventCode: SENDEMAIL

EventDescription: 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.Base64Stream.EncodeBytes(Byte[] buffer, Int32 offset, Int32 count, Boolean dontDeferFinalBytes, Boolean shouldAppendSpaceToCRLF)
at System.Net.Base64Stream.Write(Byte[] buffer, Int32 offset, Int32 count)
at System.Net.Mime.MimePart.Send(BaseWriter writer)
at System.Net.Mime.MimeMultiPart.Send(BaseWriter writer)
at System.Net.Mail.SmtpClient.Send(MailMessage message)


EventMachineName: TCN00QUBC00660

User avatar
Kentico Support
Kentico Support
kentico_jurajo - 2/7/2011 1:11:55 AM
   
RE:Email queue error message detail
Hi,

Could you please check the SMTP server configuration in Site Manager -> Settings -> E-mails section? Please make also sure that this setting is inherited for your site too.

Are you able to send e-mail from Site Manager -> Administration -> System -> E-mail tab?

Best regards,
Juraj Ondrus

User avatar
Member
Member
marc-andre_poulin-ssss.gouv.qc - 2/7/2011 8:17:06 AM
   
RE:Email queue error message detail
All messages are processed correctly, except this one.

User avatar
Kentico Support
Kentico Support
kentico_jurajo - 2/9/2011 1:45:15 AM
   
RE:Email queue error message detail
Hi,

So only one message fails. What is the difference between this one and the other messages? Are the from/to addresses correct? Is there any attachment?

Have you tried to remove this message and create it and send it again?

Best regards,
Juraj Ondrus

User avatar
Member
Member
marc-andre_poulin-ssss.gouv.qc - 2/9/2011 8:38:28 AM
   
RE:Email queue error message detail
The mail is created using a Form by a visitor on the web site, that submit an attachment and some informations.

The attachments are generally .doc, .docx, .pdf, this one contains a .pdf of arround 4.8Mb, it's a little larger than usual but not near that the 20Gb limit of the SMTP server.

I can also view the PDF if I go in the BizForms and view what the user submitted.

Hum.. after talking with someone here, the email is blocked in the email queue for about two months, and one of the field in the BizForms is a list, but the item that the user has selected and submitted when the email was created is no longer availaible (it has been removed).

That could explain why it fail to recreate the email and send it again.

User avatar
Kentico Support
Kentico Support
kentico_jurajo - 2/18/2011 6:16:14 AM
   
RE:Email queue error message detail
Hi,

Once the message is in e-mail queue, the bizform fields have no effect on it. Have you tried to manually re-send the message?

Moreover, could you please try to send a test message from Site Manager -> Administration -> System -> E-mail tab and attach also some bigger attachment to it?

Also, could you please check the event log on the server or on the SMTP server if there are more details?

Best regards,
Juraj Ondrus