Transport Types
A Transport is the component which actually does the sending. You need to provide a Transport object to the Mailer class and there are several possible options.
Typically you will not need to know how a Transport works under-the-surface, you will only need to know how to create an instance of one, and which one to use for your environment.
-
The SMTP Transport
The SMTP Transport sends messages over the (standardized) Simple Message Transfer Protocol. It can deal with encryption and authentication. -
The Sendmail Transport
The Sendmail Transport sends messages by communicating with a locally installed MTA – such as sendmail. -
The Mail Transport
The Mail Transport sends messages by delegating to PHP's internal mail() function.
Parent topic: Sending Messages
Previous topic: Quick Reference for Sending a Message
Next topic: Available Methods for Sending Messages