Welcome Guest, Not a member yet? Register   Sign In
How can I make SMTP send mail asynchronous?
#1

[eluser]Aether[/eluser]
hello, I searched a little but my english is not good enough to find out the right way, so sorry for a addtional question.

I know _send_with_smtp using _smtp_connect with fsockopen, but still when I click the send button, I need wait about 4-5s to continue ,like this:

$this->email->send();
redirect("talkpage);

Is there anything simple way I should do to make the method "send()" execute asynchronous in background, and my users can access the next page at once?
#2

[eluser]Aether[/eluser]
it looks toooo simple or too hard....?
can anyone point out a way?
thanks...
#3

[eluser]Réjôme[/eluser]
Maybe this could help : http://netevil.org/blog/2005/may/guru-multiplexing




Theme © iAndrew 2016 - Forum software by © MyBB