Download the PHP package ride/lib-mail without Composer
On this page you can find all versions of the php package ride/lib-mail. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download ride/lib-mail
More information about ride/lib-mail
Files in ride/lib-mail
Informations about the package lib-mail
Ride: Mail Library
Mail library of the PHP Ride framework.
What's In This Library
MailAddress
The MailAddress class is used to deal with email addresses.
All recipients of a MailMessage are set with this class.
It allows straight email addresses but also addresses in the format of name
MailMessage
The MailMessage class is a data container of the mail to send. You can set the recipients through the To, CC and BCC field. You can flag a message as an HTML message, add attachments and more.
MimePart
The MimePart class is internally used to add attachments to a MailMessage. You can use it manually to create a custom multipart message.
Transport
The Transport interface offers a way to implement the actual sending of a mail. It's also the starting point when you want to send a mail with this library as it also acts as a factory for messages.
A generic implentation is provided is this library through the SimpleTransport class. This uses the PHP functions to send a mail.
MessageParser
The MessageParser class is a helper for the Transport implementations. It takes a MailMessage and extracts all information into a structure which can be used by the transport.
Code Sample
Check the following code sample to some of the possibilities of this library.
Related Modules
- ride/app-mail
- ride/app-mail-mandrill
- ride/lib-log
- ride/lib-mail-mandrill
- ride/lib-system
- ride/lib-validation
Installation
You can use Composer to install this library.
All versions of lib-mail with dependencies
ride/lib-system Version ^1.0.0
ride/lib-validation Version ^1.0.0