Posted by dtuser on May 22, 2009 at 5:43am
Jump to:
| Project: | |
| Version: | 4.7.x-1.x-dev |
| Component: | Code |
| Category: | task |
| Priority: | critical |
| Assigned: | Unassigned |
| Status: | active |
Issue Summary
"From: email" header reflects host email and I can't change it. I made changes in mail.inc file but its not working at all.
$default_from = "myname@mycompany.com";
if ($default_from) {
$defaults['Reply-To'] = $defaults['Sender'] = $defaults['Return-Path'] = $defaults['Errors-To'] = $default_from;
$defaults['From'] = "From: "myname@mycompany.com";
}Also i have uploaded a normal standalone .php file with the php mail function to my site and it is working perfect. Problem is with the mails which was sending from my Drupal core. Can anyone help me in solving this issue.
Comments
#1