I have followed the mail tutorial and used the web inspector to debug. Initially, I had a 500 error but have sorted that out. But still not receiving a test email. I have tried various connotations (port and such like)
and browsed the community but still unable to sort this. Any help would be appreciated.
The test page is at https://loveyurt.co.uk/formMail.php
formailer.php is as follows…
<?php
require('../../../dmxConnectLib/dmxConnect.php');
$app = new \lib\App();
$app->define(<<<'JSON'
{
"meta": {
"options": {
"linkedFile": "/formMail.php",
"linkedForm": "form1"
},
"$_POST": [
{
"type": "text",
"fieldName": "name",
"name": "name"
},
{
"type": "text",
"fieldName": "email",
"name": "email"
},
{
"type": "text",
"fieldName": "text",
"name": "text"
}
]
},
"exec": {
"steps": [
{
"name": "mail1",
"module": "mail",
"action": "setup",
"options": {
"host": "81.19.183.240",
"username": "info",
"password": "********"
}
},
{
"name": "",
"module": "mail",
"action": "send",
"options": {
"instance": "mail1",
"subject": "test",
"fromName": "{{$_POST.name}}",
"fromEmail": "{{$_POST.email}}",
"toName": "Andre",
"toEmail": "andreletissier@me.com",
"body": "{{$_POST.text}}"
}
}
]
}
}
JSON
);
?>
Thanks in advance