Please try this:
$headers ="From:<$from>\n";
$headers.="MIME-Version: 1.0\n";
$headers.="Content-type: text/html; charset=iso 8859-1";
mail($to,$subject,$body,$headers,"-f$from");
More Related Contents:
- What is the format for e-mail headers that display a name rather than the e-mail?
- Which line break in php mail header, \r\n or \n?
- Everytime my mail goes to spam in phpmailer
- php form send email
- PHP Errors – Total of four [closed]
- how to send birthday mail from website without opening website [closed]
- How to to send mail using gmail in Laravel?
- How to fix “Headers already sent” error in PHP
- Converting HTML to plain text in PHP for e-mail
- Why won’t my PHP app send a 404 error?
- PHPMailer GoDaddy Server SMTP Connection Refused
- Sendmail Wamp Php
- SMTP Connect() failed. Message was not sent.Mailer error: SMTP Connect() failed
- Symfony2 – Force file download
- How to setup mail in XAMPP locally?
- Creating a PHP header/footer
- smtp configuration for php mail
- PHP Email sending BCC
- php send e-mail with attachment
- How to send emails via cron job usng PHP mysql
- In PHP, how do I extract multiple e-mail addresses from a block of text and put them into an array?
- How to remove “via” and server name when sending mails with PHP?
- Sending email from localhost
- Why shouldn’t I use PHP’s mail() function?
- Show Curl POST Request Headers? Is there a way to do this?
- PHP Streaming MP3
- Is there a limit when using php mail function?
- Validate Email in php [duplicate]
- How to block Disposable Email Addresses in your website’s registration form? [closed]
- Send emails with international accent and special characters