For contact forms and website notifications, we recommend sending email via authenticated SMTP instead of PHP mail(). SMTP improves reliability and deliverability and reduces the chance of your messages being rejected or marked as spam.
This article is tailored for GARMTECH Hosting and GARMTECH.Email / hosting mailboxes.
Use the secure SMTP settings below:
| Setting | Value |
|---|---|
| SMTP server | Service server hostname (check in My.GARMTECH for your email/hosting service) |
| Port | 465 |
| Encryption | SSL/TLS |
| Authentication | Required |
| Username | Your full email address |
| Password | The mailbox password (or an app password if 2FA is enabled) |
If your site uses PHPMailer or a similar library, configure it with SMTP authentication:
$mail->isSMTP();
$mail->Host = 'YOUR_SERVICE_HOSTNAME';
$mail->Port = 465;
$mail->SMTPSecure = 'ssl';
$mail->SMTPAuth = true;
$mail->Username = 'you@yourdomain.com';
$mail->Password = 'YOUR_PASSWORD';