diff --git a/mailer.rst b/mailer.rst index 24eea58ab23..4567b4ac0dc 100644 --- a/mailer.rst +++ b/mailer.rst @@ -157,6 +157,15 @@ Multiple addresses are defined with the ``addXXX()`` methods:: // ... ; +An ``Address`` can be created from a single string:: + + $email = (new Email()) + ->from(Address::fromString('Fabien ')) + + // ... + ; + + Alternatively, you can pass multiple addresses to each method:: $toAddresses = ['foo@example.com', new Address('bar@example.com')]; pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy