CodeIgniter Forums
How to solve the send mail slow in codeIgniter? - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forum-20.html)
+--- Forum: Archived General Discussion (https://forum.codeigniter.com/forum-21.html)
+--- Thread: How to solve the send mail slow in codeIgniter? (/thread-57152.html)



How to solve the send mail slow in codeIgniter? - El Forum - 02-21-2013

[eluser]Unknown[/eluser]
Anyone can help me? I’ve been using codeIgniter mail concept in my project it works fine,

but it will take more time to send the email,

how to reduce the time?

Thanks.


How to solve the send mail slow in codeIgniter? - El Forum - 02-21-2013

[eluser]John Murowaniecki[/eluser]
Ravi, is very possible that this isn't a CodeIgniter (or PHP) failure or misconfiguration. Maybe your mail server (or domain) isn't configurated properly. Try to track your mail log (if you're using Linux or Unix run this on you terminal `tail -f /var/log/mail.*` and send your e-mails again).

Did you tryed using some external server?


How to solve the send mail slow in codeIgniter? - El Forum - 02-22-2013

[eluser]sandeepkhokher[/eluser]
Do one thing, Check out the response time of your mail function.

Though I am quite sure that it is due to your mail server. Also try once using Gmail SMTP server.

That can give you a clear idea about the source of the problem..


How to solve the send mail slow in codeIgniter? - El Forum - 02-22-2013

[eluser]John Murowaniecki[/eluser]
[quote author="sandeepkhokher" date="1361535568"]..Also try once using Gmail SMTP server..[/quote]

..It's an excellent idea.


How to solve the send mail slow in codeIgniter? - El Forum - 02-25-2013

[eluser]Unknown[/eluser]
@john Murowaniecki and @sandeepkhokher thank q for ur replay sir,

i used my Gmail SMTP server then email send it very fast,

so my mail server only problem.


Thankyou