public function ShipmentConfirmationMailInterface::send in Commerce Shipping 8.2
Sends the shipment confirmation email.
Parameters
\Drupal\commerce_shipping\Entity\ShipmentInterface $shipment: The shipment.
string $to: The address the email will be sent to. Must comply with RFC 2822. Defaults to the order email.
string $bcc: The BCC address or addresses (separated by a comma).
Return value
bool TRUE if the email was sent successfully, FALSE otherwise.
1 method overrides ShipmentConfirmationMailInterface::send()
- ShipmentConfirmationMail::send in src/
Mail/ ShipmentConfirmationMail.php - Sends the shipment confirmation email.
File
- src/
Mail/ ShipmentConfirmationMailInterface.php, line 23
Class
Namespace
Drupal\commerce_shipping\MailCode
public function send(ShipmentInterface $shipment, $to = NULL, $bcc = NULL);