studius
-
Posts
27 -
Joined
-
Last visited
Posts posted by studius
-
-
I was writing PHP code to send users of my site an automated email for account creation/verification... However, when I tested the code everything worked just fine, except the sender is myusername@myusername.heliohost.org.
How can I change this address so that users see that the email is sent by myusername@mydomain.com instead? I know it has something to do with changing Service Configuration/PHP Configuration but I can't even find that in my cPanel... Please advise on what to do next. Thanks in advance!
How to change sender address for automated emails sent through PHP?
in Questions
Posted · Edited by studius
Hi, thank you so much for the quick response. Obviously, I missed a critical part of the code and jumped to conclusions. I tried it with the header From code added and now the sender email shows as myusername@mydomain.com but is now followed by "via tommy.heliohost.org".
Is there a way to change this or is this as far as PHP can go codewise? I'm thinking that the mail client automatically appends the "via tommy.heliohost.org". If not, how should I proceed? Thanks again!