rhgiant — 2011-10-04T06:21:45-04:00 — #1
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?
sparek — 2011-10-04T09:58:46-04:00 — #2
You can specify a from address in the additional headers parameter of the mail() function.
Basically you would use something like:
mail($to, $subject, $message, "From: <firstname.lastname@example.org>\\r\
" has to do with carriage returns and new lines in the message headers)
starlion — 2011-10-04T11:05:34-04:00 — #3
Gmail is notorious for sending said mails to the Junk folder, so be aware of that.
rhgiant — 2011-10-05T01:07:05-04:00 — #4
Thanks for the reply
StarLion: I'm not exactly sure what you mean...