Shamoon
Shamoon

Reputation: 43491

CodeIgniter with SMTP for Gmail is very, very, very slow

I'm using ssl://smtp.gmail.com over port 465 with gmail, and when I try to send mail in my CodeIgniter application, it just hangs. There's no error and no warning - it literally just hangs.

What am I doing wrong?

Upvotes: 2

Views: 1230

Answers (2)

Sigismund
Sigismund

Reputation: 1082

I had the same problem. After trying to change every possible setting avaible in CI->email I added

$this->email->set_newline("\r\n");

and it worked.

Upvotes: 1

Håkan
Håkan

Reputation: 186

From the little information you gave in the question, you're not doing anything wrong.

Upvotes: 0

Related Questions