Fill in the email settings in the admin UI

In order for your MDrivenServer to be able to send emails it will need access to an SMTP service. You can sign up with gmail and use your information from there to have access to an internet connected SMTP server.

You enter the information in the MDrivenServer interface as described in the image below:

2017-10-28 09h01 09.png

Read how to make your app actually produce emails Emailing from an app using MDrivenServer

Testing you email server outside of the MDriven Server

Start Windows PowerShell and enter the following (pasting is easiest). The example below works for Office365

$From = "<senders address, not login>"
$To = "<destination email address>"
$Subject = "Test 1"
$Body = "This is what I want to say"
$SMTPServer = "smtp.office365.com"
$SMTPPort = "587"
Send-MailMessage -From $From -to $To -Subject $Subject -Body $Body -SmtpServer $SMTPServer -port $SMTPPort -UseSsl -Credential (Get-Credential)

PowerShell will open a Windows dialog box to enter the SMTP credintials. Enter username and password there.

This page was edited 69 days ago on 02/10/2024. What links here