Note that there are some explanatory texts on larger screens.

plurals
  1. POSend email with Codeigniter but note see in mail box
    primarykey
    data
    text
    <p>I am using CodeIgniter to send email and use CPanel. And here is my code in email.php file in application/library folder and set email to auto load. </p> <pre><code>$config['protocol'] = 'sendmail'; $config['mailpath'] = '/usr/sbin/sendmail'; $config['charset'] = 'iso-8859-1'; $config['wordwrap'] = TRUE; $config['mailtype'] = 'html'; $config['smtp_host'] = 'localhost'; $config['smtp_port'] = '25'; $config['smtp_user'] = 'info@mydomain.com'; $config['smtp_pass'] = 'mypassword'; $config['validation'] = TRUE; </code></pre> <p>And below is code when I send email.</p> <pre><code>$this-&gt;email-&gt;from('noreply@mydomain.com', 'mydomain.com'); $this-&gt;email-&gt;to($rescue_email); $this-&gt;email-&gt;bcc('support@mydomain.com'); $this-&gt;email-&gt;subject('mydomain- Request a new password'); $this-&gt;email-&gt;message($message); $this-&gt;email-&gt;send(); </code></pre> <p>I don't know why it cann't send?. Before it send correctly.</p> <p>When I use,</p> <pre><code>echo $this-&gt;email-&gt;print_debugger(); </code></pre> <p>It's display,</p> <pre><code>Your message has been successfully sent using the following protocol: sendmail User-Agent: CodeIgniter Date: Wed, 20 Feb 2013 08:31:42 +0100 From: "mydomain.com" Return-Path: To: recipient@email.com Bcc: support@mydomain.com Subject: =?iso-8859-1?Q?mydomain_-_Request_a_new_password?= Reply-To: "noreply@mydomain.com" X-Sender: noreply@mydomain.com X-Mailer: CodeIgniter X-Priority: 3 (Normal) Message-ID: &lt;51247bdee59ff@mydomain.com&gt; Mime-Version: 1.0 </code></pre> <p>email send successfully. I check in mailbox nothing i can see, but in spambox.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload