У меня есть эта логика
$subject = "something.com Signup -
Please do not reply to this email. It was automatically generated.";
$body = "A new person has signed up to receive something updates:";
$headers = "From: webinquiries@something.com\n";
$headers .= "Reply-To: something@gmail.com\n";
// $headers .= 'Bcc: something@something.com' . "\r\n";
$headers .= "MIME-Version: 1.0\n";
$headers .= "Content-Type: text/plain; charset=ISO-8859-1\n";
mail($email, $subject, $body, $headers);
, что кажется нормальным, но одна вещь ... могу ли я установить информацию SMTP как этот
server="smtp.something.net",
username="webinquiries@somthing.com",
password="asda.1sda",
port="587"