Message
classe Message (Voir la source)
Constantes
| END | 
                     The mail end of line  | 
            
Méthodes
Message Constructor.
Set the default header
Add personal headers
Compile the mail header
Add Reply-To
Change the value of the boundary
Add Return-Path
Set email priority.
Edit the mail message
Get the headers
Get the list of receivers
Get the subject of the email
Get the sender
Get the email message
Get the email encoding
Get Content-Type
Get the value of a variable that verifies that a sender is registered
Détails
        
                            
    __construct(bool $boundary = true)
        
    
    Message Constructor.
        
                            void
    setDefaultHeader()
        
    
    Set the default header
        
                            void
    addHeader(string $key, string $value)
        
    
    Add personal headers
        
                            Message
    to(string $to, string|null $name = null)
        
    
    Define the receiver
        
                            Message
    toList(array $sendTo)
        
    
    Define the receiver in list
        
                            Message
    addFile(string $file)
        
    
    Add an attachment file
        
                            string
    compileHeaders()
        
    
    Compile the mail header
        
                            Message
    subject(string $subject)
        
    
    Define the subject of the mail
        
                            Message
    from(string $from, string|null $name = null)
        
    
    Define the sender of the mail
        
                            Message
    html(string $html)
        
    
    Define the type of content in text/html
        
                            Message
    text(string $text)
        
    
    Add message body
        
                            Message
    addBcc(string $mail, string|null $name = null)
        
    
    Adds blind carbon copy
        
                            Message
    addCc(string $mail, string|null $name = null)
        
    
    Add carbon copy
        
                            Message
    addReplyTo(string $mail, string|null $name = null)
        
    
    Add Reply-To
        
                    protected        void
    setBoundary(string $boundary)
        
    
    Change the value of the boundary
        
                            Message
    addReturnPath(string $mail, string|null $name = null)
        
    
    Add Return-Path
        
                            Message
    addPriority(int $priority)
        
    
    Set email priority.
        
                            
    setMessage(string $message, string $type = 'text/html')
        
    
    Edit the mail message
        
                            array
    getHeaders()
        
    
    Get the headers
        
                            array
    getTo()
        
    
    Get the list of receivers
        
                            string|null
    getSubject()
        
    
    Get the subject of the email
        
                            string
    getFrom()
        
    
    Get the sender
        
                            string
    getMessage()
        
    
    Get the email message
        
                            string
    getCharset()
        
    
    Get the email encoding
        
                            string
    getType()
        
    
    Get Content-Type
        
                            bool
    fromIsDefined()
        
    
    Get the value of a variable that verifies that a sender is registered