(10-02-2017, 10:54 AM)wormsunited Wrote: Hi so sorry, well i have a code to submit a form, very simple one just to send a notification by email. This is my code:
PHP Code:<?php
// the message
$msg = "New Item submitted";
// use wordwrap() if lines are longer than 70 characters
$msg = wordwrap($msg,70);
// send email
mail("someone@example.com","Pay attention you got a new Submission",$msg);
?>
Now this code comes right after a query to insert in MySQL and before an echo function to notifiy that was sent. All passes just fine and the query works like a charm. But the system does not send the email. It seems that my PHP its using the sendmail option, so i think i gotta edit the sendmail? That's the thing, i dont know were or how to edit this.
Thanks in advance and my best regards mate!
Late reply wormsunited. you can check in Admin>Sentora Config. Scroll down and you will see what the server is using as default for mail provider. the options you r have SMTP/PHPMAIL/sendmail
-BetaTester3.0 || Just Another Sentora User.
Did you know, Sentora has a full Support Documentation ?
If I helped +rep & Thanks is appreciated.
BTC: 1Bps3ZerDFDDnXJ9XdWtHhdhwsV4MVGLkw
If I helped +rep & Thanks is appreciated.
BTC: 1Bps3ZerDFDDnXJ9XdWtHhdhwsV4MVGLkw