Skip to content

Sendgrid SMTP on DigitalOcean server

edited January 2018 in Troubleshooting

Hi Ben,

I've been using Sendy with SendGrid for a while now without any troubles at all. A few days ago I noticed it's not sending emails. If I hit the "Test Send this newsletter" it gets stuck for a while and then shows the Sent sign but the email is not sent. On the Apache Log I'm seeing this:

PHP Notice:  Undefined variable: month in /var/www/html/sendy/send-to.php on line 85, referer: https://some_url/sendy/app?i=1
PHP Notice:  Undefined variable: day in /var/www/html/sendy/send-to.php on line 85, referer: https://some_url/sendy/app?i=1
PHP Notice:  Undefined variable: year in /var/www/html/sendy/send-to.php on line 85, referer: https://some_url/sendy/app?i=1

(obfuscated the URL on purpose)

I haven't changed any configuration that I recall but an automatic update could have done it.

Could you point me to where should I look into to solve this? Does the PHP Notice has something to do with emails not sending?

Thank you!

Patricio

Comments

  • Hi,

    Try checking with Sendgrid to see if your Sendgrid account is in good standing.

    Also please check with your hosting support if they have started restricting sending of emails via third party SMTP on their servers.

    Thanks.

    Best regards,
    Ben

  • Thanks for your answer!

    Sendgrid account is healthy. The hosting is a self managed VPS on Digital Ocean. I haven't changed a thing on the server although an update could have changed something without me noticing.

    Anywhere else you could think off I could look?

    Thanks.

    Patricio

  • Hi,

    If your Sendgrid account is in good standing, I suggest contacting Digital Ocean support to find out why you aren't able to send emails via third part SMTP.

    Thanks.

    Best regards,
    Ben

  • edited January 2018

    You were right. Digital Ocean had block SMTP for us due to an automatic trigger on something to do with the payment method (I have no clue how they are related). They have unblocked us now and everything is back to normal.

    Thanks for your help and sorry I bothered you on something that wasn't on the Sendy side but I knew you would point in the right direction.

    Best regards,
    Patricio

This discussion has been closed.