Welcome Guest, Not a member yet? Register   Sign In
Sending bulk email with comma separated
#1

Hi;

I send comma separated (or array) as $recepients. Emails get sent as bulk and everyone gets their copy. But everyone sees the receives as benscopy@***.com. They don't see it as their own email. How can I do it so they see it as their own email it's kinda confusing.

Thanks
PHP Code:
public function send_email($recepients$template)
 {
 
$this->load->library('email');
 
$config['bcc_batch_mode'] = true;
 $this->email->initialize($config);
 
$this->email->clear(TRUE);
 
$this->email->from('support@**.com''Ben ***'); 
 
$this->email->to('benscopy@***.com');
 
$this->email->bcc($recepients);
 
$message $this->load->view('email_template',$data,TRUE);
 
$this->email->message($message);
 
$this->email->send();
 } 
Reply


Messages In This Thread
Sending bulk email with comma separated - by behnampmdg3 - 03-31-2015, 07:12 AM



Theme © iAndrew 2016 - Forum software by © MyBB