You want to send Email without using any external Mail Servers (SMTP, SendGrid) ?
just like a plain old PHP mail ( string $to , string $subject , string $message)?
Please do read below...
Brief History of SMTP (E-Mail Protocol)
The Simple Mail Transfer Protocol (SMTP) was a very old Protocol for sending E-Mail over Internet, invented in 1982. The SMTP Protocol doesn't have any strict Standards.
That mean, I can send an SMTP packet over Internet with whatever I want like following cases:
You can clearly see the above cases are absolutely Horrible and the SMTP protocol permits this
Blocking Spam / Scam / False E-Mail
In order to avoid such E-Mail, The E-Mail Receiver Servers (also called as Mail eXchange (MX) Server) like Gmail, Outlook, Yahoo, etcs checks for the Credibility of the received E-Mails by checking the Sender's IP and Security mail headers.
These IP / Sender Verification is done by means of an SPF Record and DKIM Record in the DNS of the respective yourdomain.com. These Record will be pre-populated by every Hosting Provider to allow successful sending of the E-Mail from [email protected].
In case these Records doesn't match with the received E-Mail, the E-Mail providers (Gmail, Outlook) will simply reject the Mail and won't even appear on the Spam folder. This is what happens mostly when we use native php mail() function.
Need for an SMTP Relay for successful E-mails
To avoid, these complications we use SMTP, SendGrid & other services to send E-mail successfully from Laravel.