You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've recently restarted my attempts to implement ProjectSend on our website,
having been discouraged by ProjectSend failing to send email notifications.
(I'd been getting the error "E-mail notification couldn't be sent" ever since
upgrading from r514 -- see <a
href="https://code.google.com/p/clients-oriented-ftp/issues/detail?id=439&can=4"
>Issue 439</a>). After some digging this morning, I finally got email
notifications working by modifying some of your code, so I wanted to report it
to you.
I had discovered that ProjectSend utilizes PHPMailer, and recalled that we are
using PHPMailer successfully elsewhere on our site. In that implementation, we
are not using SMTP username/password authentication, so I aimed to recreate
those settings within ProjectSend.
Thus in the file includes/classes/send-email.php, after I commented out the
lines below (property settings on the PHPMailer object), everything worked:
$this->send_mail->SMTPAuth = true;
$this->send_mail->Port = SMTP_PORT;
$this->send_mail->Username = SMTP_USER;
$this->send_mail->Password = SMTP_PASS;
That section of code in send-email.php could be tweaked a little further to
make SMTP authentication optional (if SMTP_USER and SMTP_PASS are blank then
they don't get passed to the PHPMailer object and SMTPAuth is not set to true).
Original issue reported on code.google.com by [email protected] on 20 Nov 2014 at 4:44
The text was updated successfully, but these errors were encountered:
Original issue reported on code.google.com by
[email protected]
on 20 Nov 2014 at 4:44The text was updated successfully, but these errors were encountered: