Mail not sending

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

Please do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.

This forum is for discussing mojoPortal development

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

You can monitor commits to the repository from this page. We also recommend developers to subscribe to email notifications in the developer forum as occasionally important things are announced.

Before posting questions here you might want to review the developer documentation.

Do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.
This thread is closed to new posts. You must sign in to post in the forums.
8/16/2012 2:44:28 AM
Gravatar
Total Posts 6

Mail not sending

hi joe

this is rajesh

I am facing a problem that user is not receiving any mail from our side'

The following are my settings in web.config

<system.net>
<mailSettings>
<smtp from="sarartes@mahahost.in">
<network host="mail.myhost.com" port="25" password="ar@@02ban" userName="sarartes@mahahost.in" />
</smtp>
</mailSettings>
</system.net>

<add key="SMTPServer" value="mail.myhost.com" />
<add key="SMTPRequiresAuthentication" value="true" />
<add key="SMTPUseSsl" value="false" />
<add key="SMTPPort" value="25" />
<add key="SMTPUser" value="sarartes@mahahost.in" />
<add key="SMTPPassword" value="ar@@02ban" />
<add key="SMTPTimeoutInMilliseconds" value="15000" />
<!-- leave this blank for ascii encoding -->
<add key="SmtpPreferredEncoding" value="" />

And also i have made the following settings in user.config

<add key="SMTPServer" value="mail.myhost.com" />
<add key="SMTPRequiresAuthentication" value="true" />
<add key="SMTPUseSsl" value="false" />
<add key="SMTPPort" value="25" />
<add key="SMTPUser" value="sarartes@mahahost.in" />
<add key="SMTPPassword" value="ar@@02ban" />
<add key="SMTPTimeoutInMilliseconds" value="15000" />
<!-- leave this blank for ascii encoding -->
<add key="SmtpPreferredEncoding" value="" />

I am able to login using above details to the mailbox, but when i try to use recover password, the following error is showing in system log:

2012-08-16 03:48:36,007 ERROR 122.178.208.251 - en-US - /groups/Secure/RecoverPassword.aspx - mojoPortal.Net.Email - error sending email to b.rajesh@radical.co.in from "Artesiaa Groups" <no-reply@artesiaa.com>, will retry
2012-08-16 03:48:39,178 ERROR 122.178.208.251 - en-US - /groups/Secure/RecoverPassword.aspx - mojoPortal.Net.Email - all retries failed sending email to b.rajesh@radical.co.in from "Artesiaa Groups" <no-reply@artesiaa.com>, message was: A request was just submitted to send your password for the User b.rajesh@radical.co.in
Your password is rajesh123

This is your sign in information for http://www.artesiaa.com/groups

System.Net.Mail.SmtpFailedRecipientException: Mailbox unavailable. The server response was: <b.rajesh@radical.co.in> No such user here
at System.Net.Mail.SmtpTransport.SendMail(MailAddress sender, MailAddressCollection recipients, String deliveryNotify, SmtpFailedRecipientException& exception)
at System.Net.Mail.SmtpClient.Send(MailMessage message)
at mojoPortal.Net.Email.Send(SmtpSettings smtpSettings, MailMessage message)

 

help me with this what can i do

Users should receive mail after registration and recover password

plz help me with this....

8/16/2012 3:27:31 AM
Gravatar
Total Posts 32

Re: Mail not sending

Hi Rajesh,

Take a look a this, it worked for me.

https://www.mojoportal.com/emailconfiguration.aspx

Your settings are probably not correct.

This line looks a bit odd: <add key="SMTPServer" value="mail.myhost.com" />

Regards,

Lynton

 

8/16/2012 3:55:34 AM
Gravatar
Total Posts 6

Re: Mail not sending

Hi ojala,

I already tried this link https://www.mojoportal.com/emailconfiguration.asp

In the following line, value is our server name.

<add key="SMTPServer" value="mail.myhost.com" />

8/16/2012 4:16:28 AM
Gravatar
Total Posts 32

Re: Mail not sending

Did you try this?

value="localhost"

Regards,

8/16/2012 4:19:56 AM
Gravatar
Total Posts 6

Re: Mail not sending

Hi ojala,

Thanks a lot. 

<add key="SMTPRequiresAuthentication" value="true" />

value was false for the above line, i made it true. It got worked.

8/16/2012 4:22:14 AM
Gravatar
Total Posts 32

Re: Mail not sending

Rajesh,

Try using the same user account, the error shows this user account no-reply@artesiaa.com and your settings uses this one: sarartes@mahahost.in

Regards,

You must sign in to post in the forums. This thread is closed to new posts.