How to get header information of a sent mail in Codeigniter
Answers
-
you can simply use print_debugger();
$this->load->library('email'); $this->email->from(FROM_MAIL_EMAIL, FROM_MAIL_USER); $this->email->to($this->input->post('email', TRUE)); $this->email->bcc(CRM_MAIL); $this->email->subject('New Account'); $message = $this->Email_model->temp_body_mail($data); $this->email->message($message); $this->email->set_mailtype("html"); $this->email->send(); echo $this->email->print_debugger();
0
Howdy, Stranger!
Categories
- 94 All Categories
- 20 VoIP
- 7 SIP
- 16 asterisk
- 44 Programming
- 1 Nodejs
- 4 javascript
- 19 PHP
- 8 Codeigniter
- 14 database
- 1 UI/UX
- 2 Flutter
- 28 OS
- 26 Linux
- 1 Virtualization
- 1 Android
- 1 Windows
- 2 legal