MonoX support board

Start the conversation, ask questions and share tips and solutions with fellow developers.

Non-registered users can only browse through our support boards. Please register now if you want to post your questions. It takes a second and it is completely free. Alternatively, you can log in without registration using your credentials at major sites such as Google, Microsoft Live, OpenId, Facebook, LinkedIn or Yahoo.

Can't send activation email  (Mono Support )

Viewed 34325 time(s), 13 post(s) 5/31/2011 3:25:11 PMby gonzalom
Terfex

Terfex

4/27/2014 9:23:38 AM
Please note that GoDaddy is moving over to Plesk now so you'll need to move your site soon if you have not already. I'm told to just point towards the localhost without authentication.
This content has not been rated yet. 
71 Reputation 7 Total posts
BaiJessie

BaiJessie

5/19/2015 4:28:08 AM
Thank you for your discussion. following Denis's method, it solved  problem about Ssl,but it still can't send email. it report error as below:
This event has been logged and will be addressed by the maintenance department. We appreciate your patience.

An uexpected error has occured while sending you an activation e-mail. Your account has been successfully created but you can't login until you activate it via activation e-mail. To resend your activation e-mail please go to the Activation e-mail recovery page. If the problem persists, please contact us.
at MonoSoftware.MonoX.ModuleGallery.MembershipEditor.#Jp(Object sender, EventArgs e) at MonoSoftware.MonoX.Controls.StyledButton.OnClick(Object sender, EventArgs e) at MonoSoftware.MonoX.Controls.StyledButton.#Ho(Object sender, EventArgs e) at System.Web.UI.WebControls.LinkButton.RaisePostBackEvent(String eventArgument) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

An error has occured while sending you an e-mail. Please try again, if the problem persists, please contact us.
at MonoSoftware.MonoX.Mail.MonoXMailSender.SendMail(MailMessage mailMsg) at MonoSoftware.Core.Mail.MailSender.SendMail(MailAddress fromAddress, String toAddress, String title, String htmlContent, String plainContent) at MonoSoftware.Core.Mail.MailSender.SendMail(String toAddress, String title, String htmlContent, String plainContent) at MonoSoftware.MonoX.ModuleGallery.MembershipEditor.#Jp(Object sender, EventArgs e)

The operation has timed out.
at System.Net.Mail.SmtpClient.Send(MailMessage message) at MonoSoftware.Core.Mail.MailSender.SendMail(MailMessage mailMsg)

How can I do? I can't access any classes mentioned above.
This content has not been rated yet. 
5 Reputation 1 Total posts
QQB

QQB

5/23/2015 6:42:07 AM
I doubted if it is problem from my environment? So I tried code below:
            SmtpClient smtp = new SmtpClient();
            smtp.Port = 587;
            smtp.UseDefaultCredentials = false;
            smtp.DeliveryMethod = SmtpDeliveryMethod.Network;
            smtp.Host = "smtp.gmail.com";
            smtp.EnableSsl = true;
            smtp.Credentials = new NetworkCredential("xxxxxx@gmail.com","mypassword");
            
            MailMessage mail = new MailMessage();
            mail.From = new System.Net.Mail.MailAddress("xxxxxx@gmail.com");
            mail.To.Add(new MailAddress("xxxxxx@gmail.com"));
 
            mail.IsBodyHtml = true;
            string st = "Test";
            mail.Body = st;
            smtp.Send(mail);

It works well. But when I tried the same setting in web.config in Monox like this:
<mailSettings>
      <smtp deliveryMethod="Network" from="xxxxxx@gmail.com">
        <network host="smtp.gmail.com" userName="xxxxxx@gmail.com"  password="mypassword" port="587" enableSsl="true" defaultCredentials="false" />
      </smtp>
    </mailSettings>

it reports:
The SMTP server requires a secure connection or the client was not authenticated. The server response was: 5.7.0 Must issue a STARTTLS command first. rx6sm3897305pbc.54 - gsmtp

when change port to 465:
it still report :the operation has timeout.
This content has not been rated yet. 
5 Reputation 1 Total posts
1 2