SMTP (Simple Mail Transfer Protocol) is the standard protocol for sending email from clients to servers and between mail servers. Applications rely on it for password resets, alerts and receipts. They send either through their own mail transfer agent, such as Postfix or Exim, or through a hosted provider's SMTP relay or API.
Most of the posts tagged here are hands-on. They show how to send mail from Laravel using Gmail SMTP or Mailtrap, including attachments and uploaded images. Others cover sending HTML email from Perl with MIME::Lite, testing Amazon SES SMTP credentials with a Bash script, and sending mail from a GoDaddy VPS running cPanel, WHM and Exim with SPF, DKIM and DMARC configured. Comparisons cover transactional email APIs such as SendGrid, Amazon SES, Mailgun and Postmark, as well as email encryption tools, self-hosted open source mail servers and messaging platform pricing. There is also a set of 50 Postfix interview questions.
The material helps developers adding email to an app, sysadmins running or debugging a mail server, and engineers preparing for interviews that cover mail infrastructure.
Start here
- Top 10 Transactional Email APIs: Features, Pros, Cons & Comparison – Compares SendGrid, Amazon SES, Mailgun, Postmark and others for sending application email.
- How to setup your Gmail account to send emails in Laravel – Step-by-step SMTP setup for sending email from a Laravel app through Gmail.
- Bash/Shell Script to test SMTP SES Credentials – A quick script to confirm Amazon SES SMTP credentials work before wiring them in.
- Sending Emails from GoDaddy VPS with cPanel + WHM – Covers Exim, log checks and SPF, DKIM and DMARC setup on a VPS.
- List of Top Free Open Source & Self Hosted Application for Communication – Email – Complete Solutions – Options like docker-mailserver for running your own SMTP and IMAP server.
- Top 50 Postfix Interview Questions & Answer – Reviews Postfix concepts, ports and queue commands like postqueue and postsuper.
- Using perl send an html email – A short working example of sending HTML email from a script.
Latest SMTP articles
AWS IAM Policy to Protect SES SMTP
You can lock down Amazon SES SMTP credentials with an IAM policy on the IAM user that owns them. A Deny on aws:SourceIp limits which IP addresses…
How to see number of emails sent using smtp in laravel
Laravel does not count or log SMTP emails by default, so a grep will only return a real number once your application writes one log line for…
PHP Code for Godaddy VPS Server SMTP Email Relay
This page shows how to send email from a GoDaddy VPS through GoDaddy's SMTP relay on port 25 with plain PHP sockets and no extra libraries. Below…
Email Authentication & Communication Infrastructure in Modern DevOps: The 2026 Definitive Guide
In the high-stakes world of modern DevOps, we spend our days (and sometimes our nights) obsessing over the “golden signals” of site reliability: latency, traffic, errors, and…
The 5 Most Popular Email APIs Among Developers In 2026
In the modern world, where everything is going digital, email is among the most important means of communication both in personal and business life. As a developer,…
Senior Exchange Administrator: Role Blueprint, Responsibilities, Skills, KPIs, and Career Path
The Senior Exchange Administrator is accountable for the reliability, security, performance, and lifecycle management of the organization’s Microsoft messaging platform, typically spanning Exchange Online (Microsoft 365), Exchange Server (on-premises), or a hybrid configuration. This role ensures email and calendaring services are highly available, compliant, and aligned to business needs while proactively reducing operational risk and improving user experience.
Principal Exchange Administrator: Role Blueprint, Responsibilities, Skills, KPIs, and Career Path
The Principal Exchange Administrator is the senior technical authority responsible for the reliability, security, lifecycle, and operational excellence of the enterprise messaging platform—typically Microsoft Exchange Online/Exchange Server in a hybrid Microsoft 365 environment. This role exists to ensure email and calendaring services remain highly available, performant, compliant, and aligned with enterprise security and governance requirements while enabling modern collaboration capabilities across the organization.
Lead Exchange Administrator: Role Blueprint, Responsibilities, Skills, KPIs, and Career Path
The Lead Exchange Administrator owns the reliability, security, and operational excellence of the organization’s messaging platform, typically Microsoft Exchange Online (Microsoft 365) and/or a hybrid Exchange deployment with on‑premises Exchange servers. This role ensures email and calendaring services remain highly available, performant, compliant, and resilient, while continuously improving automation, monitoring, and service management maturity.
Junior Exchange Administrator: Role Blueprint, Responsibilities, Skills, KPIs, and Career Path
The **Junior Exchange Administrator** supports the day-to-day operation, reliability, and security of the organization’s messaging environment—most commonly **Microsoft Exchange Online (Microsoft 365)** and, in some enterprises, a **hybrid Exchange** footprint with residual on-premises components. The role focuses on executing standard operational tasks (provisioning, troubleshooting, access management, mail-flow support) while learning the deeper engineering and architecture aspects under supervision.
Top 10 Email Encryption Tools: Features, Pros, Cons & Comparison
Introduction Email remains one of the most widely used communication channels in business—but it is also one of the most targeted attack surfaces. From phishing and man-in-the-middle…
Top 10 Transactional Email APIs: Features, Pros, Cons & Comparison
Introduction Transactional Email APIs are specialized services that enable applications to send time-critical, one-to-one emails triggered by user actions or system events. Unlike marketing emails, transactional messages—such…
Top 10 Email Deliverability Tools: Features, Pros, Cons & Comparison
Introduction Email Deliverability Tools are specialized platforms designed to ensure your emails actually reach the inbox, rather than being filtered into spam or blocked entirely. While sending…
Pricing Comparison: Tanla Platform vs Route Mobile vs Twilio
Pricing Comparison: Tanla Platform vs Route Mobile vs Twilio Below is a comparative overview of charges for SMS/OTP, WhatsApp messages, and Email across Tanla Platform, Route Mobile,…
Sending Emails from GoDaddy VPS with cPanel + WHM
Absolutely! Here’s a comprehensive tutorial and troubleshooting guide for sending email from a GoDaddy VPS Server with cPanel + WHM. This includes PHP mail(), SMTP setup, logs,…
How to Configure Amazon SES SMTP on GoDaddy VPS with cPanel – Complete Guide
Absolutely! Here’s a comprehensive blog tutorial that covers everything you experienced — from configuring Amazon SES SMTP on a GoDaddy VPS to resolving port blocks and certificate…
List of Top Free Open Source & Self Hosted Application for Communication – Email – Mail Transfer Agents
Mail Transfer Agents (MTAs) – SMTP servers. chasquid – SMTP (email) server with a focus on simplicity, security, and ease of operation. Apache-2.0 GoCourier MTA – Fast,…
List of Top Free Open Source & Self Hosted Application for Communication – Email – Complete Solutions
Simple deployment of E-mail servers, e.g. for inexperienced or impatient admins. AnonAddy – Open source email forwarding service for creating aliases. MIT PHPDebOps – Your Debian-based data…
Bash/Shell Script to test SMTP SES Credentials
Requirement Rajesh KumarI’m Rajesh Kumar, a DevOps, SRE, DevSecOps, Cloud, and Platform Engineering expert passionate about sharing practical knowledge, real-world experiences, and industry best practices. I have…
GitLab Tutorials: Gitlab integration with Mailgun
Most of the Mailgun service can be accessed through the RESTful HTTP API without the need to install any libraries. It is organized around the four major…
Top 50 Postfix Interview Questions & Answer
1) What Is Postfix And Default Port Used For Postfix ? Postfix is a open source MTA (Mail Transfer agent) which is used to route & deliver…
How to enable jenkins to send an email?
Step 1 – Install following plugins Mailer Plugin – Basic Email Extension Plugin Step 2 – Setup FROM email address on “System Admin e-mail address” http://13.235.81.87:8080/configure Step…
Top 21 free open source tools for Mail
Mail 🔸 smtp-tls-checker – check an email domain for SMTP TLS support. 🔸 MX Toolbox – all of your MX record, DNS, blacklist and SMTP diagnostics in one integrated tool. 🔸 Secure Email – complete…
Upload image in the database with local folder and image send mail.
Step-1 open terminal as a git base here in C:\xampp\htdocs look a pic After click on git base Here it will be open like this look a…
How can send multi email using laravel 5.8
Step:1 open git base in C:\xampp\htdocs Step:2 past this project name in the gitbase here composer create-project –prefer-dist laravel/laravel multimail “5.8.*” Step:3 Make One controller php artisan…
How to setup your Gmail account to send emails in Laravel
In my previous blog, I described how can you send an email with an attachment without saving it in the database you can read that here. Now…
How to send email in laravel with attachment without saving in database.
I was trying to send an email with an attachment that will be uploaded by the user and then sent to an admin email. In this tutorial,…
How to Setup Laravel default password reset mail
Most web applications provide a way for users to reset their forgotten passwords. Rather than forcing you to re-implement this on each application, Laravel provides convenient methods…
Email server set up for Laravel App
Deepak KumarMotoShare.in is your go-to platform for adventure and exploration. Rent premium bikes for epic journeys or simple scooters for your daily errands—all with the MotoShare.in advantage…
How to send email in Laravel.
Deepak KumarMotoShare.in is your go-to platform for adventure and exploration. Rent premium bikes for epic journeys or simple scooters for your daily errands—all with the MotoShare.in advantage…
How can send a mail with Attachment using laravel 5.5
Step:1- composer create-project laravel/laravel mail orcomposer create-project –prefer-dist laravel/laravel mail “5.8.*” Step:2 – Create Controller php artisan make:controller:SendEmailController This command will make SendEmailController.php file in app/Http/Controllers Step:3- Go to the…
SMTP: frequently asked questions
Which port does SMTP use?
Port 25 is used for relay between mail servers. Port 587 is the standard for client submission with STARTTLS, and port 465 is used for submission over implicit TLS. Many cloud providers block or restrict outbound port 25 by default.
What are SPF, DKIM and DMARC?
SPF lists the servers allowed to send mail for a domain. DKIM signs each message with a key published in DNS. DMARC tells receivers what to do when those checks fail and where to send reports. Together they reduce spoofing and improve deliverability.
Should an application use SMTP or an email API?
SMTP works with almost any language or mail library and is easy to switch between providers. HTTP email APIs usually add features such as templates, delivery webhooks and tracking, but they tie your code more closely to one provider.
How can SMTP credentials be tested?
Send a test message from the command line with a tool like mailx or swaks using the host, port, username and password you were given. openssl s_client can also confirm that the TLS connection to the server works.
