SMTP Configuration on DiscountAsp.net

Post here for help with installing or upgrading mojoPortal pre-compiled release packages. When posting in this forum, please provide all relevant details. You may also want to review the installation or upgrading documentation.

If you have questions about using the source code or working with mojoPortal in Visual Studio, please post in the Developer forum.

Post here for help with installation of mojoPortal pre-compiled release packages

When posting in this forum, please try to provide as many relevant details as possible. Particularly the following:

  • What operating system were you running when the bug appeared?
  • What database platform is your site using?
  • What version of mojoPortal are you running?
  • What version of .NET do you use?
  • What steps are necessary to reproduce the issue? Compare expected results vs actual results.

You may also want to review the installation or upgrading documentation.

If you have questions about using the source code or working with mojoPortal in Visual Studio, please post in the Developer forum.

This thread is closed to new posts. You must sign in to post in the forums.
3/13/2010 3:06:43 PM
Gravatar
Total Posts 19

SMTP Configuration on DiscountAsp.net

I am having a heck of a time setting the smtp configuration using DoscountASP.net as a host.  I am using IIS7.

I tried about every combination I could think of before writing this.

Has anyone set this up to work at DiscountAsp.net?  I need an example of the 2 smtp sections if you have them.

Thanks,

Scott

3/13/2010 3:30:28 PM
Gravatar
Total Posts 19

Re: SMTP Configuration on DiscountAsp.net

Half way there.  This setting works for recovering the email.  Now I need to figure out the SMTP section at the top of web.config

<system.net>
<mailSettings>
<smtp from="admin@xxxx.com">
<network host="localhost" port="25"/>
</smtp>
</mailSettings>
</system.net>

3/13/2010 4:05:25 PM
Gravatar
Total Posts 19

Re: SMTP Configuration on DiscountAsp.net

Those Mojo Logs really help - should have checked earlier!

I had to log into SmarterMail and disable greylisting under the user tab.

Log Message

2010-03-13 13:41:51,901 ERROR mojoPortal.Net.Email - all retries failed sending email to admin@xxxx.com from admin@xxxx.com, message was: Scott<br />scottxxx@xxx.com<br /><br /><p>
TEST from IGS contact form - should get forwarded to xxxxx@yahoo.com</p>
<br /><br />HTTP_USER_AGENT: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2) Gecko/20100115 Firefox/3.6 (.NET CLR 3.5.30729)<br />REMOTE_HOST: 68.14.231.134<br />REMOTE_ADDR: 68.14.231.134<br />LOCAL_ADDR: 96.31.33.27<br />
System.Net.Mail.SmtpException: Error in processing. The server response was: Greylisted, please try again in 900 seconds
at System.Net.Mail.RecipientCommand.CheckResponse(SmtpStatusCode statusCode, String response)
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, String from, String replyTo, String to, String cc, String bcc, String subject, String messageBody, Boolean html, String priority, String[] attachmentPaths, String[] attachmentNames) in C:\TempProjects\Mojo_IGS\mojoPortal.Net\Email.cs:line 725
2010-03-13 13:42:00,231 INFO mojoPortal.Web.WebTaskManager - started WebTaskManager task
 

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