SMTP & Newsletter 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/14/2011 12:53:02 PM
Gravatar
Total Posts 383
Thanks Squire Dude

SMTP & Newsletter settings

Hi,

I am a little confused with reading the docs for setting up the Mail Settings?

In reading the docs it mentions that the web.config, or better user.config, file should be modified to include the following items...

<add key="SMTPServer" value="localhost"/>
    <add key="SMTPRequiresAuthentication" value="false"/>
    <add key="SMTPUseSsl" value="false"/>
    <add key="SMTPPort" value="25"/>
    <add key="SMTPUser" value="UserName"/>
    <add key="SMTPPassword" value="UPassword"/>
    <add key="SMTPTimeoutInMilliseconds" value="30000"/>

and the following...

<system.net>
    <mailSettings>
      <smtp from="noreply@yourdomain.com">
        <network host="localhost" port="25" password="" userName="noreply@yourdomain.com" />
      </smtp>
    </mailSettings>
  </system.net>

Which are already in the web.config file!  Should I move them to the user.config? Do I need to change the UserName & UPassword items to reflect my actual email address and password etc?

OR is the documentation a review of what HAS already changed in the config files!

10/16/2011 2:19:29 PM
Gravatar
Total Posts 18439

Re: SMTP & Newsletter settings

This is explained in the documentation about email configuration.

In the latest version of mojoPortal you don't need to worry at all about the <system.net section, it is no longer used.

You certainly should not copy that section into user.config it would cause an error.

user.config is only for overriding the <appSettings section of Web.config nothing else from web.config can be put in user.config and trying it would only cause errors.

Hope that helps,

Joe

10/17/2011 10:25:25 AM
Gravatar
Total Posts 383
Thanks Squire Dude

Re: SMTP & Newsletter settings

Hi Joe A,

Thanks.. got it...

ta muchly
Phill

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