Welcome Guest, Not a member yet? Register   Sign In
sending emails
#1

(This post was last modified: 01-06-2020, 03:59 AM by Knutsford.)

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
Reply




Theme © iAndrew 2016 - Forum software by © MyBB