Jump to content

vikas

New Members
  • Posts

    2
  • Joined

  • Last visited

    Never

Everything posted by vikas

  1. sorry, but this doesn't work if i use $second_email = "mymail@gmail.com"; $this->email->to($em, $second_email); email is sent to only $em and if i use $second_email = "mymail@gmail.com"; $this->email->to($second_email, $em); email is sent to only $second_email any more suggestions?
  2. I want to send confirmation email to 2 different email boxes. this is the code sending to one box: { $this->load->library('email'); //$config['mailtype'] = 'html'; //$this->email->initialize($config); $this->email->from('no-reply@mymail.com 'Site team'); $this->email->to($em); $this->email->subject('Welcome'); $msg = 'You have registered'; $this->email->message($msg); $this->email->send(); } thanks and what should be the code sending same email to one more email box (example: mymail@gmail. com)
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.