SMTP Network Settings

If you have questions about using mojoPortal, you can post them here.

You may want to first review our site administration documentation to see if your question is answered there.

This thread is closed to new posts. You must sign in to post in the forums.
10/17/2017 8:03:02 AM
Gravatar
Total Posts 4

SMTP Network Settings

 

Hello all

Question, being I can't get the SMTP settings to work with godaddy I then setup SMTP virtual server on the same server that IIS8 runs on with mojoportal's site. Now if I drop a email test text in c:\inetpub\mailroot\pickup it sends it right to my email address in my outlook client asap!

I guess the question is one why am I not able to use the old way of just using go daddy's config same as my outlook client and two what would work in the user.config file to get it to my pickup folder?

 

Thanks before hand!

 

Greg

 

 

10/17/2017 10:12:38 AM
Gravatar
Total Posts 2253

Re: SMTP Network Settings

Hello,

I hope I can help you with this.

  1. I am not aware of any issue with mojoPortal working with GoDaddy's SMTP servers. Can you explain what problems you are having? 
  2. mojoPortal sends email using SMTP. It doesn't have a way to drop email into a pickup folder. That said, you could configure the IIS SMTP Virtual Server to relay to another email or send email directly. Then, you just configure mojoPortal to send using localhost. I don't suggest that you have your webserver send email directly, it should be relayed to help with deliverability (your email could look like SPAM otherwise).

 

10/17/2017 11:03:00 AM
Gravatar
Total Posts 4

Re: SMTP Network Settings

Hello Joe

Here is what I get out of the MOJO log file when it is setup in the user.config file to talk directly to GoDaddy, bypassing my virtual SMTP and being off.

 

2017-10-17 12:05:57,569 ERROR 10.1.10.130 - en-US - /ClientScript/greybox/gbcombined.js - mojoPortal.Web.PageNotFoundHttpModule - Referrer(http://gregsyoungblood.com/contact-me)  PageNotFoundHttpModule handled error.
System.Web.HttpException (0x80004005): The file '/404notfound.aspx' does not exist.
   at System.Web.UI.Util.CheckVirtualFileExists(VirtualPath virtualPath)
   at System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate)
   at System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate)
   at System.Web.Compilation.BuildManager.GetVirtualPathObjectFactory(VirtualPath virtualPath, HttpContext context, Boolean allowCrossApp, Boolean throwIfNotFound)
   at System.Web.Compilation.BuildManager.CreateInstanceFromVirtualPath(VirtualPath virtualPath, Type requiredBaseType, HttpContext context, Boolean allowCrossApp)
   at System.Web.UI.PageHandlerFactory.GetHandlerHelper(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath)
   at System.Web.HttpApplication.MaterializeHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
   at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
2017-10-17 12:05:57,835 ERROR 10.1.10.130 - en-US - /ClientScript/greybox/gbcombined.js - mojoPortal.Web.PageNotFoundHttpModule - Referrer(http://gregsyoungblood.com/contact-me)  PageNotFoundHttpModule handled error.
System.Web.HttpException (0x80004005): The file '/404notfound.aspx' does not exist.
   at System.Web.UI.Util.CheckVirtualFileExists(VirtualPath virtualPath)
   at System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate)
   at System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate)
   at System.Web.Compilation.BuildManager.GetVirtualPathObjectFactory(VirtualPath virtualPath, HttpContext context, Boolean allowCrossApp, Boolean throwIfNotFound)
   at System.Web.Compilation.BuildManager.CreateInstanceFromVirtualPath(VirtualPath virtualPath, Type requiredBaseType, HttpContext context, Boolean allowCrossApp)
   at System.Web.UI.PageHandlerFactory.GetHandlerHelper(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath)
   at System.Web.HttpApplication.MaterializeHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
   at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
2017-10-17 12:06:29,768 ERROR 10.1.10.130 - en-US - /contact-me - mojoPortal.Net.Email - error sending email to admin@gregsyoungblood.com from linuxhavok@hotmail.com, will retry
System.Net.Mail.SmtpException: The SMTP server requires a secure connection or the client was not authenticated. The server response was: authentication required
   at System.Net.Mail.MailCommand.CheckResponse(SmtpStatusCode statusCode, String response)
   at System.Net.Mail.MailCommand.Send(SmtpConnection conn, Byte[] command, MailAddress from, Boolean allowUnicode)
   at System.Net.Mail.SmtpTransport.SendMail(MailAddress sender, MailAddressCollection recipients, String deliveryNotify, Boolean allowUnicode, SmtpFailedRecipientException& exception)
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at mojoPortal.Net.Email.Send(SmtpSettings smtpSettings, MailMessage message)
2017-10-17 12:06:33,762 ERROR 10.1.10.130 - en-US - /contact-me - mojoPortal.Net.Email - all retries failed sending email to admin@gregsyoungblood.com from linuxhavok@hotmail.com, message was: Adam Youngblood<br />linuxhavok@hotmail.com<br /><br /><p>TEST</p><br /><br />HTTP_USER_AGENT: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.9) Gecko/20100101 Goanna/3.3 Firefox/52.9 PaleMoon/27.5.1<br />REMOTE_HOST: 10.1.10.130<br />REMOTE_ADDR: 10.1.10.130<br />LOCAL_ADDR: 96.73.44.33<br />
System.Net.Mail.SmtpException: The SMTP server requires a secure connection or the client was not authenticated. The server response was: authentication required
   at System.Net.Mail.MailCommand.CheckResponse(SmtpStatusCode statusCode, String response)
   at System.Net.Mail.MailCommand.Send(SmtpConnection conn, Byte[] command, MailAddress from, Boolean allowUnicode)
   at System.Net.Mail.SmtpTransport.SendMail(MailAddress sender, MailAddressCollection recipients, String deliveryNotify, Boolean allowUnicode, SmtpFailedRecipientException& exception)
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at mojoPortal.Net.Email.Send(SmtpSettings smtpSettings, MailMessage message)
2017-10-17 12:06:36,164 ERROR 10.1.10.130 - en-US - /ClientScript/greybox/gbcombined.js - mojoPortal.Web.PageNotFoundHttpModule - Referrer(http://gregsyoungblood.com/contact-me)  PageNotFoundHttpModule handled error.
System.Web.HttpException (0x80004005): The file '/404notfound.aspx' does not exist.
   at System.Web.UI.Util.CheckVirtualFileExists(VirtualPath virtualPath)
   at System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate)
   at System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate)
   at System.Web.Compilation.BuildManager.GetVirtualPathObjectFactory(VirtualPath virtualPath, HttpContext context, Boolean allowCrossApp, Boolean throwIfNotFound)
   at System.Web.Compilation.BuildManager.CreateInstanceFromVirtualPath(VirtualPath virtualPath, Type requiredBaseType, HttpContext context, Boolean allowCrossApp)
   at System.Web.UI.PageHandlerFactory.GetHandlerHelper(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath)
   at System.Web.HttpApplication.MaterializeHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
   at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

 

 

10/29/2017 10:00:53 AM
Gravatar
Total Posts 2253

Re: SMTP Network Settings

Hi,

The pertinent part of the log file refers to email and I've highlighted the problem.

2017-10-17 12:06:29,768 ERROR 10.1.10.130 - en-US - /contact-me - mojoPortal.Net.Email - error sending email to admin@gregsyoungblood.com from linuxhavok@hotmail.com, will retry
System.Net.Mail.SmtpException: The SMTP server requires a secure connection or the client was not authenticated. The server response was: authentication required
   at System.Net.Mail.MailCommand.CheckResponse(SmtpStatusCode statusCode, String response)
   at System.Net.Mail.MailCommand.Send(SmtpConnection conn, Byte[] command, MailAddress from, Boolean allowUnicode)
   at System.Net.Mail.SmtpTransport.SendMail(MailAddress sender, MailAddressCollection recipients, String deliveryNotify, Boolean allowUnicode, SmtpFailedRecipientException& exception)
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at mojoPortal.Net.Email.Send(SmtpSettings smtpSettings, MailMessage message)

So, you need to be sure that you have the SMTP Settings correct in your user.config or the Site Settings. GoDaddy requires authentication so you need to be sure to turn that on and to provide valid login information. See the Email Configuration document for help with setting the correct values.

Thank you,
Joe

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