diff --git a/mailer.rst b/mailer.rst index 3178f3a020f..7189ee77fde 100644 --- a/mailer.rst +++ b/mailer.rst @@ -149,7 +149,7 @@ both strings or address objects:: // defining the email address and name as an object // (email clients will display the name) - ->from(new NamedAddress('fabien@example.com', 'Fabien')) + ->from(new Address('fabien@example.com', 'Fabien')) // defining the email address and name as a string // (the format must match: 'Name ')