Sending emails very slow

Home Forums Porto – Responsive HTML5 Template Sending emails very slow

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #10015878
    asipicki
    Participant

    I’m using the Mailgun SMTP and it takes between 45-60 seconds to send emails. However, if after the 45 seconds you try to resend the email it is sent in 2 seconds.

    If I try to send an email 10 minutes after, it occurs the same (it takes 60 seconds).

    How can it happens?

    I add that I has another site in .NET and I use the same SMTP (Mailgun) and it takes 2 seconds always, so it seems like it’s a PHP issue.

    Maybe, I should try with the Mailgun API instead of SMTP.

    Can you write me the source code to send emails with Mailgun API?

    If you know another alternative, please, let me know.

    Thanks


    #10015881
    Support
    Keymaster

    Hello, thanks for your purchase.

    To be honest, I’ve never used Mailgun before, but looks like they have a API and the “Mailgun’s Official SDK for PHP” in this link: https://github.com/mailgun/mailgun-php

    My suggestion is that you make a standalone page to send a test email using that and see if it works better, so then if it get better it can be integrated with Porto code.

    Best Regards,

    Jonas


Viewing 2 posts - 1 through 2 (of 2 total)

This topic is marked as "RESOLVED" and can not rceive new replies.