This project is read-only.

Cannot send email to external mailbox

Nov 12, 2012 at 8:40 AM
Edited Nov 12, 2012 at 8:51 AM

I'm trying to send email to my mailbox on google for example, but everything what I receive is following exception:

2012-11-12 11:24:51,384 [26] Orchard.Email.Services.EmailMessagingChannel - An unexpected error while sending a message to xxxx@gmail.com: ActionEmail

System.Net.Mail.SmtpFailedRecipientException: Mailbox unavailable. The server response was: 5.7.1 Unable to relay for xxxx@gmail.com   

at System.Net.Mail.SmtpTransport.SendMail(MailAddress sender, MailAddressCollection recipients, String deliveryNotify, SmtpFailedRecipientException& exception) 

 at System.Net.Mail.SmtpClient.Send(MailMessage message)   

at Orchard.Email.Services.EmailMessagingChannel.SendMessage(MessageContext context)

 

And when I'm trying to send to my internal mailbox in our company domain everything is working well. what can I do with that?

Nov 13, 2012 at 10:27 PM

It sounds like you have ClientCredential issues when trying to leave the network..

http://stackoverflow.com/questions/11285338/unable-to-send-email-from-asp-net-form