<?php
mail("[email protected]", "My Subject", "Line 1\nLine 2\nLine 3");
?>
We don't need to specify the email/password/mail server address && port
,but it can be sent .
<?php
mail("[email protected]", "My Subject", "Line 1\nLine 2\nLine 3");
?>
We don't need to specify the email/password/mail server address && port
,but it can be sent .
That is because the email/password/mail server address/port is defined in your PHP.ini file.
PHP's mail()
does not support SMTP authentication. If you need SMTP authentication check out http://pear.php.net/package/Mail