email without content |
[eluser]tfncruz[/eluser]
Hi! I have a function to send an email to a group of users (newsletter). The strange thing is that it sends the email but it goes without content! I already tried HTML email and Plain. Both goes without content. Here's the function: Code: public function send() { Another thing... as you can see I save the email sent on a database table. I checked the record and it stores all the information (including the message)... Any ideas?! Thanks in advance!
[eluser]Twisted1919[/eluser]
try with : Code: if (!$this->email->send())
[eluser]Twisted1919[/eluser]
I know , my suggestion was to set the message body with : $this->email->message($message); You tried like that ?
[eluser]tfncruz[/eluser]
That solved the problem! Thank you very much! I thought he could understand the message as a parameter inside the send function...
[eluser]Twisted1919[/eluser]
Well it doesn't work like that When you set the $this->email->message() etc , you tell to the email class that the param named message has that value , Further , the email class will use that to append to the whole cycle for sending your email . You welcome |
Welcome Guest, Not a member yet? Register Sign In |