Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

$t->Email

The Blink Mobility Platform has a simple email helper located at $t->email.

$t->email sends an email to specified email address, from another specified email
 
Parameters #An array of options including the following.
$toEmail address that is to receive the email
$subjectSubject heading of the email
$body

The main body of the email

$from Senders email address. If this is left blank it will send from bmp@blinkmobile.com.au
$cc Email address to send a Carbon Copy to
$bcc Email address to send a Blind Carbon Copy to
$attachments

The attachments to send with the email attachments

 $replyto he reply to email address

 

Notes #

cc - Carbon Copy indicates that you are getting a copy but are not the primary addressee.

Carbon copy also allows all recipients to see who else has received the mail.

bcc - Blind Carbon Copy is the same as Carbon Copy except that the address in bcc: is hidden from all recipients in To: and cc:

 

Code Block
themeRDark
languagephp
linenumberstrue
$email_txt = "This is the body of the email.";
$t->email("reciever.address@email.com","example subject heading",$email_txt,"sender.address@email.com","carbon.copy@email.com","hidden.email@bussiness.com");