How to sent message to Gmail ?

22 views
Skip to first unread message

do sokho

unread,
Jan 29, 2015, 11:07:12 AM1/29/15
to codei...@googlegroups.com
Please help me 

Daniel Carrero

unread,
Jan 29, 2015, 11:09:31 AM1/29/15
to do.s...@gmail.com, codei...@googlegroups.com
what do u need?

2015-01-29 13:07 GMT-03:00 do sokho <do.s...@gmail.com>:
Please help me 

--
You received this message because you are subscribed to the Google Groups "codeigniter" group.
To unsubscribe from this group and stop receiving emails from it, send an email to codeigniter...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Daniel Carrero Canales
+56974726453

Marco Monteiro

unread,
Jan 29, 2015, 12:09:57 PM1/29/15
to dcar...@gmail.com, do.s...@gmail.com, codeigniter
Just use the email library provided by Codeigniter.

    $this->load->library('email');
    
    $this->email->from('em...@email.com', 'Name');
    $this->email->to('som...@example.com');
    $this->email->cc('ano...@example.com');
    $this->email->bcc('a...@another.com');
    
    $this->email->subject('subject');
    $this->email->message('message');
    
    $this->email->send();
    



cheers,




Reply all
Reply to author
Forward
0 new messages