Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 5.0.1
-
Component/s: None
-
Labels:None
Description
In version 6 of SwiftMailer they removed support for Swift_MailTransport which used php's mail(). Now they recommend using SMTP or Sendmail. We updated Blesta to use sendmail in place of mail() but we need to make a couple more updates for it to work for as many users as possible:
- Call in Sendmail instead of PHP in the mail settings
- Add a field for setting the system's sendmail path
- Auto-populate using ini_get('sendmail_path') if possible
- Update app/models/emails.php in the sendEmail() method to use the setting if available, then ini_get('sendmail_path'), then the default '/usr/sbin/sendmail -bs'