Note that there are some explanatory texts on larger screens.

plurals
  1. POCodeIgniter tankauth not working with GMail
    primarykey
    data
    text
    <p>I've WAMP server setup on local dev environment (php_openssl extension enabled). I installed Code Igniter and trying to configure TankAuth, where I want to use GMail (actually Google Apps) to send test mails.</p> <p>I went through following URLs for configuration</p> <ul> <li><a href="http://codeigniter.com/forums/viewthread/84689/P15" rel="nofollow noreferrer">http://ellislab.com/codeigniter/forums/viewthread/84689/P15</a> (comment 30 for CI2)</li> <li><a href="https://stackoverflow.com/questions/3422564/sending-email-to-gmail-with-codeigniter-displays-message-sent-but-there-nothin">Sending email to gmail with CodeIgniter displays &quot;message sent&quot; but there nothing in the inbox?</a></li> <li><a href="https://stackoverflow.com/questions/600725/how-to-configure-wamp-localhost-to-send-email-using-gmail">How to configure WAMP (localhost) to send email using Gmail?</a></li> </ul> <p>Based on input from above, I updated <code>_send_email</code> function of tank auth as follow</p> <pre><code>function _send_email($type, $email, &amp;$data) { $this-&gt;load-&gt;library('email'); $config['protocol'] = "smtp"; $config['smtp_host'] = "ssl://smtp.googlemail.com"; $config['smtp_port'] = "465"; $config['smtp_user'] = "mymail@youthpark.org";//also valid for Google Apps Accounts $config['smtp_pass'] = "mypass"; $config['charset'] = "utf-8"; $config['mailtype'] = "html"; $config['newline'] = "\r\n"; $this-&gt;email-&gt;initialize($config); $this-&gt;email-&gt;from($this-&gt;config-&gt;item('webmaster_email', 'tank_auth'), $this-&gt;config-&gt;item('website_name', 'tank_auth')); $this-&gt;email-&gt;reply_to($this-&gt;config-&gt;item('webmaster_email', 'tank_auth'), $this-&gt;config-&gt;item('website_name', 'tank_auth')); $this-&gt;email-&gt;to($email); $this-&gt;email-&gt;subject(sprintf($this-&gt;lang-&gt;line('auth_subject_'.$type), $this-&gt;config-&gt;item('website_name', 'tank_auth'))); $this-&gt;email-&gt;message($this-&gt;load-&gt;view('email/'.$type.'-html', $data, TRUE)); $this-&gt;email-&gt;set_alt_message($this-&gt;load-&gt;view('email/'.$type.'-txt', $data, TRUE)); //$this-&gt;email-&gt;send(); if ( ! $this-&gt;email-&gt;send()) { show_error($this-&gt;email-&gt;print_debugger()); } else { //echo('DONE'); } } </code></pre> <p>I'm getting message <code>mail sent..</code> but actually mail was not sent. Can someone please point-out where I'm doing the mistake?</p> <p><strong>Popup is also enabled in GMail settings</strong></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.
 

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