Mail
    
            
            in package
            
        
    
    
    
Table of Contents
Properties
- $mail : mixed
Methods
- __construct() : mixed
- attach() : Mail
- Add attachments to your mail from your file system
- connect() : mixed
- Connect to your mail server
- create() : static
- Create a new mail instance
- getMail() : mixed
- send() : mixed
- Send your crafted email
Properties
    protected
        mixed
    $mail
     = []
    
    
    
    
Methods
__construct()
    public
                    __construct([mixed $mail = null ]) : mixed
    Parameters
- $mail : mixed = null
attach()
Add attachments to your mail from your file system
    public
                    attach(mixed $path[, mixed $name = "" ][, mixed $encoding = PHPMailerPHPMailerPHPMailer::ENCODING_BASE64 ][, mixed $type = "" ][, mixed $disposition = "attachment" ]) : Mail
    Parameters
- $path : mixed
- $name : mixed = ""
- $encoding : mixed = PHPMailerPHPMailerPHPMailer::ENCODING_BASE64
- $type : mixed = ""
- $disposition : mixed = "attachment"
Tags
Return values
Mailconnect()
Connect to your mail server
    public
                    connect(array<string|int, mixed> $connection) : mixed
    Parameters
- $connection : array<string|int, mixed>
- 
                    Connection details 
create()
Create a new mail instance
    public
            static        create(mixed $mail) : static
    Parameters
- $mail : mixed
Return values
staticgetMail()
    public
                    getMail() : mixed
    send()
Send your crafted email
    public
                    send() : mixed