Is it possible to use different email address in sendEmail() routines? other than the one i used in the SMTP configuration.
for example:
1. sendEmail("admin@mail.com","me@mail.com","","Admin email","template.tpl");
2. sendEmail("user@mail.com","me@mail.com","","User email","template.tpl");
in my SMTP configuration i used support@mail.com as the email address.
because i tried to send email using sendEmail() routines using other email it didnt send at all/ its not working at all but if I use the email that i put in smtp configuration the support@mail.com it works well. i come up with the thinking that sendEmail() routines is just running with the email that i use in smtp configuration.
Any answer will be appreciated,
Thank you,
Randy