Trouble Configuring Mail

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.
6/23/2010 6:02:58 PM
Gravatar
Total Posts 13

Trouble Configuring Mail

Operating System: Windows 2008 Server

Database: SQL Server 2008

mojoportal Version: 2.3.4.4

I am having some difficulty getting mail to work on my host WebHost4Life.

I have gotten mail to work when a user registers because I have registered and received mail. Now I want to get mail to work when I make a Web Store purchase, which is working except for the email notification.

There are no records in either database table mp_EmailSendQueue or mp_EmailSendLog. 

Here are my settings:

<add key="SMTPServer" value="mail.mydomain.com"/>
<add key="SMTPRequiresAuthentication" value="true"/>
<add key="SMTPUseSsl" value="false"/>
<add key="SMTPPort" value="110"/>
<add key="SMTPUser" value="noreply@mydomain.com"/>
<add key="SMTPPassword" value="XXXXXX"/>

<mailSettings>
<smtp from="noreply@mydomain.com">
<network host="mail.mydomain.com" port="110" password="XXXXXX" userName="noreply@mydomain.com"/>
</smtp>
</mailSettings>

WebHost4Life says that:

Incoming Mail Server:
pop.mydomain.com
Outgoing Mail Server:
smtp.mydomain.com

And in the noreply@mydomain.com mailbox settings:

SMTP Server: myuserid.webhost4life.com
SMTP Port: 587
POP Server: myuserid.webhost4life.com
POP Port: 110
Outgoing Server Requires SMTP Authentication

So, I assume the mailSettings are working and the SMTP is not.
My question is about SMTP configuration.

Should I use the same mail settings in SMTP?

Should I replace the SMTP settings with what is shown at the end, SMTP Server, Port 587?

Should I replace the SMTP settings with what is shown at the end, POP Server, Port 110?

An finally, if I do use settings in these last two questions, do I use the username and password that I log into WebHost4Life or do I use the noreply@mydomain.com username and password?
 

6/24/2010 6:50:04 AM
Gravatar
Total Posts 18439

Re: Trouble Configuring Mail

Hi,

The registration confirmation email uses the same settings from Web.config/user.config it does not use the system.net.mailsettings, only password recovery uses that.

I would test first using the contact form as discussed here:

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

For WebStore there are settings for the email from address in the store settings that you need to configure.

Hope it helps,

Joe

6/24/2010 7:13:37 AM
Gravatar
Total Posts 13

Re: Trouble Configuring Mail

That helped out a lot. If anyone is interested in WebHost4Life settings:

<add key="SMTPServer" value="smtp.mydomain.com"/>
<add key="SMTPRequiresAuthentication" value="true"/>
<add key="SMTPUseSsl" value="false"/>
<add key="SMTPPort" value="587"/>
<add key="SMTPUser" value="noreply@mydomain.com"/>
<add key="SMTPPassword" value="XXXXXX"/>

6/25/2010 12:22:42 AM
Gravatar
Total Posts 5

Re: Trouble Configuring Mail

Joe,

I've been trying to use the contact form for testing mail.  When I enter one of my email addresses the contact message gets saved and I see them when I go to view messages.  However, I don't get an email confirming that I submitted a message.  Should I?

I do get a message at the email Address that I set up to receive submissions.  If I get messages on the receive submission email account, does this mean my mail is set up correctly?

Thanks.

6/25/2010 6:19:33 AM
Gravatar
Total Posts 18439

Re: Trouble Configuring Mail

No, there is currently no confirmation email to the submitter of the form other than it says thank you we received the message on the page after the form is submitted.

6/25/2010 8:31:10 AM
Gravatar
Total Posts 5

Re: Trouble Configuring Mail

thanks Joe.

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