Hello everyone, i moved my post to here.
I've been having problems with the registration part, it always gives me the exception in the photos.Also i set this statements in my web.config page, using my gmail account and password.
<mailSettings>
<smtp deliveryMethod="Network" from="username@gmail.com">
<network host="smtp.gmail.com" userName="username@gmail.com" password="MyPassword" port ="587" defaultCredentials ="false" />
</smtp></mailSettings>
The exception is genarated here:
try
{
MonoXMailSender.GetInstance().SendMail(membershipUser.Email, this.MailSubject, htmlContent, plainContent);
}
catch (Exception exception)
{
throw new ApplicationException(String.Format(Resources.DefaultResources.ErrorMessage_ActivationEmail, Page.ResolveUrl(LocalizationUtility.RewriteLink(ActivationEmailRecoveryPageUrl)), exception));
}
Do i have to activate something in the IIS for the smtp part?
This content has not been rated yet.
659
Reputation
84
Total posts