Email Class return path |
[eluser]stef25[/eluser]
My CI app is sending out emails to users, which is all going fine. However, in Hotmail the FROM appears as "www-data ([email protected]) on behalf of MySiteName ([email protected])" The only thing that should be shown here is "MySiteName ([email protected])", as is the case in gmail and yahoo. The rest reveals information about the server that is sending the mails. When I look at the "full view" of the received email in gmail (not the normal inbox view which is fine), I see - Return-Path: <[email protected]> - Sender: www-data <[email protected]> "domain" in this case is the company that's hosting the site for us and this data should not be displayed as it is in Hotmail. In my model I have Code: $config['mailtype'] = "html"; Does anyone know how I can set or remove the "“www-data ([email protected]) on behalf of MySiteName ([email protected])" string? In the CI Email Class I see Code: $this->_set_header('Return-Path', '<'.$from.'>'); but afaik $from should never contain that external-domain.com string? Is this something that needs to be set in the email config of the server? |
Messages In This Thread |
Email Class return path - by El Forum - 03-15-2010, 08:09 AM
Email Class return path - by El Forum - 03-15-2010, 11:25 AM
Email Class return path - by El Forum - 03-15-2010, 12:38 PM
|