Making the usage of 3rd party services effective

Technical discussion for developers and service providers

Making the usage of 3rd party services effective

Postby theb3s7 » 6:01pm, Fri 16 Dec, 2011


I started using phplist along with Amazon SES via SMTP and I found an annoyance:
After bumping up my quotas & limits I realized that I can't use them to their full potential because sending one email takes a fairly good amount of time. Since all emails are sent synchronously, I cant send several emails per second, although the paid service does allow me.

With that issue in mind, I stared to fork some bits of code using pcntl_fork() but to no avail..

Any suggestions on how I could parallelize the sending process via smtp?

Thank you!

I changed
Code: Select all
case "smtp":
    $result = $this->SmtpSend($header, $body);


Code: Select all
case "smtp":
    $pid = pcntl_fork();
    if (!$pid) {
        $this->SmtpSend($header, $body);
    } else {
        $result = true;

in admin/phpmailer/class.phpmailer.php but the mysql server keeps going away..
phpList newbie
Posts: 1
Joined: 5:52pm, Fri 16 Dec, 2011

Return to Developers Space

Who is online

Users browsing this forum: No registered users and 1 guest