SMTP

Common smtp/email functions

version 1
package wikindx4\core\smtp
author Mark Grimshaw

 Methods

SMTP

__construct() 

Get scriptPath

scriptPath() : string

Returns

string

Send the email

sendEmail(mixed $addresses, string $subject, string $message) : boolean

Parameters

$addresses

mixed

Either array of addresses or a single address (which might be ,|; delimited string of addresses)

$subject

string

the email subject

$message

string

the email message

Returns

boolean

Actually send mail using either mail() or PEAR::Mail

expedite(array $addresses, string $subject, string $message) : boolean

Parameters

$addresses

array

$subject

string

the email subject

$message

string

the email message

Returns

boolean

Create email header

header() 

 Properties

 

$config 
 

$db 
 

$headers 
 

$messages 
 

$session