Hello,
I have a gmail email address. I’d like to wrap it in my adminCP (as in: I would like to send emails from my AdminCp using the @gmail.com adress).
Is it feasible, or should I just drop the idea?
Best.
rh
Hello,
I have a gmail email address. I’d like to wrap it in my adminCP (as in: I would like to send emails from my AdminCp using the @gmail.com adress).
Is it feasible, or should I just drop the idea?
Best.
rh
You can specify a from address in the additional headers parameter of the mail() function.
See:
http://www.php.net/manual/en/function.mail.php
Basically you would use something like:
mail($to, $subject, $message, "From: <your@gmail.com>\\r\
");
(the "\r
" has to do with carriage returns and new lines in the message headers)
Gmail is notorious for sending said mails to the Junk folder, so be aware of that.
Thanks for the reply
StarLion: I’m not exactly sure what you mean…