I configure my xampp using the following link Send email from localhost running XAMMP in PHP using GMAIL mail server
I want to change from mail dynamically. It took auth-mail as default.
Configuration:
smtp_server=smtp.gmail.com;
;smtp port (normally 25)
smtp_port=465
smtp_ssl=auto
default_domain=localhost
error_logfile=error.log
auth_username=sanvignesh2015@gmail.com
auth_password=xxxxxxxxxx
pop3_server=
pop3_username=
pop3_password=
force_sender=
force_recipient=
And my from mail id is different one.