nuSendMail()
Posted: Thu May 17, 2018 5:36 pm
Hi,
I'm playing with this function.
I have completed the setup form with these parameters...
User Name: my gmail email address
Password: my password
Host: smtp.gmail.com
Address: my gmail address
From Name: My name
Port: 465
use SSL: Yes
Use Authentication: Yes
In a form AS section I have typed this..
$to = "myname@mydomain.es";
$from = "myname@gmail.com";
$fromname = "Administrator";
$content = "MessageContentBody";
$subject = "SubjectText";
$filename = "";
$filesource = "";
$html = false;
$sm = nuSendEmail($to, $from, $fromname, $content, $subject, array($filename => $filesource), $html);
nuDebug($sm);
and... nuDebug says..
[0] : Array
(
[0] =>
[1] => Message sent successfully
)
But it doesn't send the email...
Could you please help me?
Thanks in advance...
Before this, I have tried with my own postfix server as well.. and I haven't got good results...
I'm playing with this function.
I have completed the setup form with these parameters...
User Name: my gmail email address
Password: my password
Host: smtp.gmail.com
Address: my gmail address
From Name: My name
Port: 465
use SSL: Yes
Use Authentication: Yes
In a form AS section I have typed this..
$to = "myname@mydomain.es";
$from = "myname@gmail.com";
$fromname = "Administrator";
$content = "MessageContentBody";
$subject = "SubjectText";
$filename = "";
$filesource = "";
$html = false;
$sm = nuSendEmail($to, $from, $fromname, $content, $subject, array($filename => $filesource), $html);
nuDebug($sm);
and... nuDebug says..
[0] : Array
(
[0] =>
[1] => Message sent successfully
)
But it doesn't send the email...
Could you please help me?
Thanks in advance...
Before this, I have tried with my own postfix server as well.. and I haven't got good results...