SMTP Settings: Difference between revisions
Appearance
Lee Miller (talk | contribs) Created page with "== 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 <code>invoice_send.php</code> and scroll to line 149 and modify as shown below, I've left some of my info in-..." |
Lee Miller (talk | contribs) |
||
| Line 10: | Line 10: | ||
<pre> | <pre> | ||
$mail->Host = 'smtp.hostinger.com'; | $mail->Host = 'smtp.hostinger.com'; // <-- change to your SMTP server | ||
$mail->SMTPAuth = true; | $mail->SMTPAuth = true; // <-- keep as is | ||
$mail->Username = 'info@logistack.co.uk';// <-- your SMTP username | $mail->Username = 'info@logistack.co.uk'; // <-- your SMTP username | ||
$mail->Password = ''; | $mail->Password = ''; // <-- your SMTP password | ||
$mail->SMTPSecure = 'ssl'; | $mail->SMTPSecure = 'ssl'; // <-- keep as is | ||
$mail->Port = 465; | $mail->Port = 465; // <-- keep as is | ||
</pre> | </pre> | ||
Revision as of 16:55, 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.
$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
$mail->Password = ''; // <-- your SMTP password
$mail->SMTPSecure = 'ssl'; // <-- keep as is
$mail->Port = 465; // <-- keep as is