Как я могу отправить электронное письмо с помощью PHP в Windows Azure?
Как я могу отправить электронное письмо с помощью PHP в Windows Azure?
я использую простую почтовую функцию:
<code>$to .= 'email-Id'; $subject = " Test Subject"; $headers = 'MIME-Version: 1.0' . "\r\n"; $headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n"; $headers .= 'To: '.$to.'' . "\r\n"; $headers .= 'From: '.$name. '<'.$email.'>' . "\r\n"; echo $message='email text here'; @mail($to, $subject, $message, $headers); </code>