getgrav / grav-plugin-email

Grav Email Plugin
http://getgrav.org
MIT License
37 stars 29 forks source link

Sending mails when neither SMTP or Sendmail is available #86

Closed grantbunyan closed 5 years ago

grantbunyan commented 6 years ago

I've recently upgraded allthethings on a client's Grav install and discovered that sending via PHP Mail is now deprecated on the Grav side. This is a very big issue on 1&1 shared hosting packages which appears to have support for neither sendmail or outbound SMTP.

rhukster commented 5 years ago

Time for new hosting!

We use SwiftMailer which is the most popular SMTP package available for PHP. The supported transports are not something we have direct control over.

Seriously though, you should be able to use an external SMTP server no matter the hosting provider, however, you might need to use SSL/TLS and a non-standard port. Most of the email service providers support a variety of ports.