SMTP Settings: Difference between revisions
Appearance
Lee Miller (talk | contribs) |
Lee Miller (talk | contribs) No edit summary |
||
| Line 24: | Line 24: | ||
* Gmail: supports 465 & 587 | * Gmail: supports 465 & 587 | ||
* Office 365/Exchange Online: 587 only | * Office 365/Exchange Online: 587 only | ||
== Install Updates == | |||
Once modified, save and upload to your server using the system updater script | |||
Revision as of 17:02, 11 October 2025
Overview
SMTP stands for Simple Mail Transfer Protocol — the standard protocol used to send email between servers (and from apps like PHPMailer to your mail server). PHPMailer is already installed on Logistack, and works out of the box with minimal modification.
Logistack uses PHPMailer to send invoices.
Update your Settings
Open the file called invoice_send.php and scroll to line 149 and modify as shown below, I've left some of my info in-place to make it easier.
Only change the info shown below, any other edits will break the program, and lead to php errors.
$mail->Host = 'smtp.hostinger.com'; // <-- change to your SMTP server
$mail->SMTPAuth = true; // <-- keep as is
$mail->Username = 'info@logistack.co.uk'; // <-- your SMTP username, normally your email
$mail->Password = ''; // <-- your SMTP password
$mail->SMTPSecure = 'ssl'; // <-- keep as is
$mail->Port = 465; // <-- keep as is
External emails
- Gmail: supports 465 & 587
- Office 365/Exchange Online: 587 only
Install Updates
Once modified, save and upload to your server using the system updater script