Hexagon Geospatial
MENU

M.App Enterprise

Discuss topics with other M.App Enterprise Product pioneers and experts to get the most out of it.
Showing results for 
Search instead for 
Do you mean 
Reply
Highlighted
Occasional Contributor
Posts: 11
Registered: ‎07-25-2017
Accepted Solution

Mail Server using gmail

Hi,

 

Can I use gmail as Mail Server for MAE?

Can someone give the Host, Port.

 

Thanks..

Technical Evangelist
Posts: 115
Registered: ‎09-01-2015

Re: Mail Server using gmail

[ Edited ]

Yes you can use GMail in M.App Enterprise. You have to replace the <mailSettings> in the web.config in the installation directory with the following code sample. Please change username & password:

 

<mailSettings>
 <smtp from="" deliveryMethod="Network">
  <network defaultCredentials="false" host="smtp.gmail.com" port="587" password="YOURPASSWORD" userName="YOURUSERNAME" enableSsl="true" />
 </smtp>
</mailSettings>

 

 

Contributor
Posts: 70
Registered: ‎05-25-2016

Re: Mail Server using gmail

Just some extra comments on the subject:

 

the code postged by 

 

 

<mailSettings>
 <smtp from="THIS MUST BE SET" deliveryMethod="Network">
  <network defaultCredentials="false" host="smtp.gmail.com" port="587" password="YOURPASSWORD" userName="YOURUSERNAME" enableSsl="true" />
 </smtp>
</mailSettings>

After the changes , you may get a  5.5.1 Authentication Required error, if you do, you must log in to your gmail account and go to https://myaccount.google.com/lesssecureapps there you must check on  "allow less secure apps" in order to allow SME to use the account. 

 

Contributor
Posts: 70
Registered: ‎05-25-2016

Re: Mail Server using gmail

May be a note for  myself but in the last version (2018) the " from" tag must be in a "valid" email format. 

Do you need immediate support?
If you encounter a critical issue and need immediate assistance please submit a Development Ticket through our Development Ticket Portal.