[Solved] sending mails with multipart/alternative |
Hello
I've been looking around to no avail to find out how exactly we use the Email Class to send plain and html emails together. I know the general procedure in PHP but it seems stuff like PHP Code: $this->send_multipart PHP Code: $this->email->set_mailtype("html"); I'm stuck at the boundary, I have no idea how to get that variable for usage in the message. Thank you, friend.
05-10-2017, 11:55 AM
(This post was last modified: 05-10-2017, 11:55 AM by InsiteFX. Edit Reason: Correct keyboard mistype )
You can set an alternative message that is text and not html,
after you set your html add this after it. PHP Code: $this->email->set_alt_message('This is the alternative text message'); You can also setup a string variable and pass that also. What did you Try? What did you Get? What did you Expect?
Joined CodeIgniter Community 2009. ( Skype: insitfx )
(05-10-2017, 11:55 AM)InsiteFX Wrote: You can set an alternative message that is text and not html, Thank you, InsiteFX. |
Welcome Guest, Not a member yet? Register Sign In |