No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
Emails from a turnkey app is sent by serverside jobs running in the MDriven server used by the Turnkey site. | Emails from a turnkey app is sent by [[MDrivenServer periodic server-side actions|serverside jobs]] running in the MDriven server used by the Turnkey site. | ||
You can change email settings for a Turnkey Site either in the portal or in the MDriven Servers [[Fill in the email settings in the admin UI|email settings]] | You can change email settings for a Turnkey Site either in the portal or in the MDriven Servers [[Fill in the email settings in the admin UI|email settings]] | ||
When you apply settings from the portal, the MDriven server settings are updated. | When you apply settings from the portal, the MDriven server settings are updated. | ||
Read more about how to create [[Emailing from an app using MDrivenServer|serverside viewmodels]] for sending emails | |||
==== Explanation for input fields ==== | ==== Explanation for input fields ==== | ||
{| | {| class="wikitable" | ||
!Field | !Field | ||
! | !Description | ||
|- | |- | ||
|Email host | |Email host |
Revision as of 11:01, 16 August 2019
Emails from a turnkey app is sent by serverside jobs running in the MDriven server used by the Turnkey site.
You can change email settings for a Turnkey Site either in the portal or in the MDriven Servers email settings
When you apply settings from the portal, the MDriven server settings are updated.
Read more about how to create serverside viewmodels for sending emails
Explanation for input fields
Field | Description |
---|---|
Email host | The name of the server, either IP-address or host name. For example smtp.gmail.com |
Host port | This is usually port 587 when connecting using SSL (can be left blank and default will be used) |
Host SSL | When enabled, the call to the SMTP host will be using encryption |
Email from | The account used to login to the SMTP service, usually an email |
Host password | The password to use when logging in to the SMTP service |
Notes for using Gmail
When using GMail you need to turn on "Less secure app access" (you do NOT need to create a "app password").
Log in to your GMail/Google account. Go to account settings -> Security and then enable "Access for less secure apps".
Note! When you send using a service like GMail, don't forget to use the sender email in your server side job, or you might get an error message like "Incorrect login".