I am sending an email from my website, and in GMail it's showing:
mailed-by: prs.ionicware.com
As I am using Toasted Penguin as hosting.
Is there a way I can change that to my website URL or something like that via a parameter or something?
Thanks
Mailing Question
Started by TcM, May 13 2008 07:25 AM
14 replies to this topic
#1
Posted 13 May 2008 - 07:25 AM
|
|
|
#3
Posted 13 May 2008 - 12:37 PM
#4
Posted 13 May 2008 - 01:02 PM
When using the mail function, the From header must be set. If you do not explicitly set it, it will use the server's default [prs.ionicware.com]. You can set it either by
$headers = 'From: webmaster@example.com' . "\r\n"; mail($to, $subject, $message, $headers);or by defining the the sendmail_from directive in your personal php.ini file.
#5
Posted 13 May 2008 - 01:15 PM
John said:
When using the mail function, the From header must be set. If you do not explicitly set it, it will use the server's default [prs.ionicware.com]. You can set it either by
$headers = 'From: webmaster@example.com' . "\r\n"; mail($to, $subject, $message, $headers);or by defining the the sendmail_from directive in your personal php.ini file.
Bump, Jordan, remember my problem? lol
Checkout my new forum! http://adminreference.com/
#6
Posted 13 May 2008 - 01:21 PM
John said:
When using the mail function, the From header must be set. If you do not explicitly set it, it will use the server's default [prs.ionicware.com]. You can set it either by
$headers = 'From: webmaster@example.com' . "\r\n"; mail($to, $subject, $message, $headers);or by defining the the sendmail_from directive in your personal php.ini file.
But that sets the email address it's emailed from right? (So if anyone presses reply it will reply to that email) but the mailed-by in GMail is not the from field. I already set the from field as my email.
Where is the php.ini?
phpforfun said:
Bump, Jordan, remember my problem? lol
What's that?
Edited by TcM, 13 May 2008 - 01:24 PM.
#7
Posted 13 May 2008 - 02:09 PM
You have to make/define your own php.ini. Where is the mailed-by label in gmail? If I know what you are actually talking about, I can probably answer your question better :)
#8
Posted 13 May 2008 - 02:23 PM
well it was to jordan, but here.
at one time, I had a mail script, worked PERFECT!, sent HTML, and would be sent from Whoever@analyzethathost.com
then something happened, and it changed, jordan and I worked on it for a while, he reset everything, but now, it sends from whoever@prs.ionicware.com, and it will show the HTML in the body
at one time, I had a mail script, worked PERFECT!, sent HTML, and would be sent from Whoever@analyzethathost.com
then something happened, and it changed, jordan and I worked on it for a while, he reset everything, but now, it sends from whoever@prs.ionicware.com, and it will show the HTML in the body
Checkout my new forum! http://adminreference.com/
#9
Guest_Jordan_*
Posted 13 May 2008 - 04:09 PM
Guest_Jordan_*
Your problem was fixed though after I reinstalled exim. Your email came through to my gmail correctly (with HTML and the correct from address). Are you still having a problem with it?
I'd also like to point out that it is working correctly from CodeCall to gmail. I suppose it has something to do with the PHP coding - TcM, can you post your email code?
I'd also like to point out that it is working correctly from CodeCall to gmail. I suppose it has something to do with the PHP coding - TcM, can you post your email code?
#10
Posted 14 May 2008 - 02:46 AM
John said:
You have to make/define your own php.ini. Where is the mailed-by label in gmail? If I know what you are actually talking about, I can probably answer your question better :)
Sure. See the attached pictures. This is a mailing list, and I sent it to two email addresses one is fine and the other one came with that 'mailed-by' field.. I don't know why.. it's the same script and both were sent at the same time.
phpforfun said:
well it was to jordan, but here.
at one time, I had a mail script, worked PERFECT!, sent HTML, and would be sent from Whoever@analyzethathost.com
then something happened, and it changed, jordan and I worked on it for a while, he reset everything, but now, it sends from whoever@prs.ionicware.com, and it will show the HTML in the body
at one time, I had a mail script, worked PERFECT!, sent HTML, and would be sent from Whoever@analyzethathost.com
then something happened, and it changed, jordan and I worked on it for a while, he reset everything, but now, it sends from whoever@prs.ionicware.com, and it will show the HTML in the body
Not actually my problem. Your is showing in the from field....
Jordan said:
I'd also like to point out that it is working correctly from CodeCall to gmail. I suppose it has something to do with the PHP coding - TcM, can you post your email code?
send_mail($row[email],$title,$content,$checkhtml);This code in a loop (as it's a mailing list)
Attached Files
#11
Posted 14 May 2008 - 03:34 AM
Try
send_mail($row[email],$title,$content,$checkhtml,"-f <your email here>");
#12
Posted 14 May 2008 - 03:54 AM
I have my email stored as a variable in the admin panel. how do I include the -f if I will use the variable? And isn't that the from field?


Sign In
Create Account


Back to top










