Problem with returnpath and Mailfrom using php mail()

0 replies
Hi

Please I have a problem with returnpath and Mailfrom, so when I put an input at returnpath, it takes the Mailfrom value automaticly,

This is a part of php code:

$vars = [
'from' => $this->input->post('from'),
'to' => $this->input->post('to'),
'reply_to' => $this->input->post('reply_to'),
'mail_from' => $this->input->post('mail_from'),
'return_path' => $this->input->post('return_path'),
'subject' => $this->input->post('subject'),
'headers' => $this->input->post('headers'),
'body' => $this->input->post('body'),
'server_id' => serialize($this->input->post('server_id')),
'user_id' => session('user_id'),
'delay' => $this->input->post('delay'),
'unsub' => $this->input->post('unsub'),
];

So when I put anything at returnpath it takes the input of mailfrom, like this varibale of returnpath is not working

Could you help me please ??


Thanks
#mail #mailfrom #php #problem #returnpath

Trending Topics