![]() |
App Engine PHP SDK
v1 rev.445
The PHP runtime is available as an experimental Preview feature.
|
Public Member Functions | |
addBcc ($emails) | |
addCc ($emails) | |
addTo ($emails) | |
clearBcc () | |
clearCc () | |
clearReplyTo () | |
clearTo () | |
send () | |
Protected Member Functions | |
getFunctionArray () | |
validEmailsArray ($email_list, $err_str) | |
Additional Inherited Members |
Allows users to send mail using the App Engine mail APIs.
google\appengine\api\mail\Message::addBcc | ( | $emails | ) |
Adds a "bcc" address, or array of addresses, to the mail object.
mixed | $emails | String email of individual recipient, or array of emails of recipients. |
InvalidArgumentException If any of the input emails are not correctly formatted email addresses. |
google\appengine\api\mail\Message::addCc | ( | $emails | ) |
Adds a "cc" address, or array of addresses, to the mail object.
mixed | $emails | String email of individual recipient, or array of emails of recipients. |
InvalidArgumentException If any of the input emails are not correctly formatted email addresses. |
google\appengine\api\mail\Message::addTo | ( | $emails | ) |
Adds a "to" address, or array of addresses, to the mail object.
mixed | $emails | String email of individual recipient, or array of emails of recipients. |
InvalidArgumentException If any of the input emails are not correctly formatted email addresses. |
google\appengine\api\mail\Message::clearBcc | ( | ) |
Clears all "bcc" addresses from the mail object.
google\appengine\api\mail\Message::clearCc | ( | ) |
Clears all "cc" addresses from the mail object.
google\appengine\api\mail\Message::clearReplyTo | ( | ) |
Clear reply-to address from the mail object.
google\appengine\api\mail\Message::clearTo | ( | ) |
Clears all "to" addresses from the mail object.
|
protected |
Returns the class variable $set_functions array, or the corresponding value in that array if a key is provided.
google\appengine\api\mail\Message::send | ( | ) |
Send the pre-formed email from the Message object.
InvalidArgumentException If a required field (sender, recipient [to, cc or bcc], subject, body [plain or html]) is missing, or if an ApplicationError was thrown by the RPC call due to an unauthorized sender, an invalid attachment type, or an invalid header name. | |
RuntimeException If an ApplicationError was thrown by the RPC call due to an internal error or bad request. | |
ApplicationError | If there was an unknown error in the RPC call. |
|
protected |
Checks that an email input is either:
mixed | $emails | An array of emails string, or a single email string |
InvalidArgumentException If any of the input emails are not correctly formatted email addresses. |