Add this while declaring headers:
$headers .= 'Cc: [email protected]' . "\r\n";
More Related Contents:
- php form send email
- PHP Errors – Total of four [closed]
- how to send birthday mail from website without opening website [closed]
- Send email using the GMail SMTP server from a PHP page
- How to to send mail using gmail in Laravel?
- PHPMailer – SMTP ERROR: Password command failed when send mail from my server
- Converting HTML to plain text in PHP for e-mail
- PHPMailer GoDaddy Server SMTP Connection Refused
- Sendmail Wamp Php
- SMTP Connect() failed. Message was not sent.Mailer error: SMTP Connect() failed
- Debugging PHP Mail() and/or PHPMailer
- How to setup mail in XAMPP locally?
- How to embed images in html email
- New lines (\r\n) are not working in email body
- How to send emails via cron job usng PHP mysql
- PHP Attaching an image to an email
- What is the format for e-mail headers that display a name rather than the e-mail?
- 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?
- Bounce Email handling with PHP?
- Everytime my mail goes to spam in phpmailer
- Is there a limit when using php mail function?
- Check if email exist php
- 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
- PHP mail() works from command line but not apache
- phpmailer – The following SMTP Error: Data not accepted