Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $title = 'Email';
- $mess = 'hello';
- $to = '*****@mail.ru'; //
- $mailheaders = "Content-type: text/**plain**; charset=utf-8rn";
- $mailheaders .= "From: "no-reply@example.ru" <no-reply@example.ru>rn";
- $mailheaders .= "Reply-To: no-reply@example.rurn";
- $send = mail($to, $title, $mess, $mailheaders);
- echo $send;
- ?>
- <?php
- $title = 'Email';
- $mess = 'hello';
- $to = '*****@mail.ru'; //
- $mailheaders = "Content-type: text/**html**; charset=utf-8rn";
- $mailheaders .= "From: "no-reply@example.ru" <no-reply@example.ru>rn";
- $mailheaders .= "Reply-To: no-reply@example.rurn";
- $send = mail($to, $title, $mess, $mailheaders);
- echo $send;
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement