your server dosen’t allow different sender and username
you should config: $mail->From
like $mail->Username
More Related Contents:
- PHPMailer – SMTP ERROR: Password command failed when send mail from my server
- Send email using the GMail SMTP server from a PHP page
- Sending email with PHP from an SMTP server
- Sending email with gmail smtp with codeigniter email library
- Failed to connect to mailserver at “localhost” port 25
- How to change from-address when using gmail smtp server
- Unable to send email using Gmail SMTP server through PHPMailer, getting error: SMTP AUTH is required for message submission on port 587. How to fix?
- php.ini & SMTP= – how do you pass username & password
- How do I prevent mails sent through PHP mail() from going to spam? [duplicate]
- PHPMailer GoDaddy Server SMTP Connection Refused
- PHPMailer – SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
- SMTP Connect() failed. Message was not sent.Mailer error: SMTP Connect() failed
- PhpMailer vs. SwiftMailer? [closed]
- Phpmailer error “Could not instantiate mail function”
- smtp configuration for php mail
- Could not instantiate mail function. Why this error occurring
- require(vendor/autoload.php): failed to open stream
- Send email with PHPMailer – embed image in body
- PHP on GoDaddy Linux Shared trying to send through GMAIL SMTP
- Sent mails with phpmailer don’t go to “Sent” IMAP folder
- PHPMailer character encoding issues
- Setting up PHPMailer with Office365 SMTP
- How to send email with SMTP in php
- Could not connect to SMTP host
- Everytime my mail goes to spam in phpmailer
- phpMailer – How do you Remove Recipients
- PHPMAILER Not sending and not giving error
- Add attachment through PHPMailer
- PHPMailer error: SMTP -> ERROR: Failed to connect to server
- Given an email as raw text, how can I send it using PHP?