Website Email Address
Posted: Thu Jul 23, 2009 6:07 pm
Hello everyone,
Lets say, every time my website sends out an automated email notification to the members, these emails appear as eg. info@mysite.com in their email inbox email list.
This is actually before you click on the email to open it. I tested it in Yahoo! and Hotmail and both show info@mysite.com, but Gmail is even worst, it takes the first part of the email and only shows info when previewing your emails. instead of the plain email address or just showing the word "info" like the case in Gmail.
This is more a cosmetic thing but I would like it to work like any other professional website by simply showing eg. MY SITE <info@sitename.com>, this way when people receive an email from my website, they can see MY SITE in their email preview list.
Checking my config.inc.php I see the following related lines for FROM EMAIL:
I am not a programmer but I would assume this is done here at the config.inc.php file.
I tried replacing the site email to:
and the emails are now showing correctly in email previews, but now I am getting duplicated email in my info@mysite.com email for every email that is sent to users.
Any idea how this is done?
I appreciate your feedback and comments in advance.
Lets say, every time my website sends out an automated email notification to the members, these emails appear as eg. info@mysite.com in their email inbox email list.
This is actually before you click on the email to open it. I tested it in Yahoo! and Hotmail and both show info@mysite.com, but Gmail is even worst, it takes the first part of the email and only shows info when previewing your emails. instead of the plain email address or just showing the word "info" like the case in Gmail.
This is more a cosmetic thing but I would like it to work like any other professional website by simply showing eg. MY SITE <info@sitename.com>, this way when people receive an email from my website, they can see MY SITE in their email preview list.
Checking my config.inc.php I see the following related lines for FROM EMAIL:
Code: Select all
// Name of the site
$site_name = "MY SITE";
// Site email address
$site_email = "info@mysite.com";
// From address to use for mails sent using the contact form.
// Set to $site_email to make it the same as the site email set above.
$contactmail_from = $site_email;
I tried replacing the site email to:
Code: Select all
$site_email = "SITE NAME <info@mysite.com>";Any idea how this is done?
I appreciate your feedback and comments in advance.