from abstract method

MailerInterface from(
  1. String address, [
  2. String? name
])

Sets the email sender (from address).

If not set, uses the default from address from configuration.

Implementation

MailerInterface from(String address, [String? name]);