![]() |
sending emails - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5) +--- Forum: General Help (https://forum.codeigniter.com/forumdisplay.php?fid=24) +--- Thread: sending emails (/showthread.php?tid=75181) |
sending emails - Knutsford - 01-06-2020 I am trying to send an html email but the from and reply to addresses are not coming out correctly The from is arriving in the format name <> <[email protected]> and the reply to is just name I have $this->email->from(trim($this->settings->admin_email), 'name'); $this->email->reply_to(trim($this->settings->admin_email), 'name'); Which looks ok to me Thanks OOPs - Just spotted my mistake. $this->settings->admin_email wasn't being set up. Sorry |