This event will be fired as soon as someone subscribes. If double opt-in is enabled on the email list someone is in the process of subscribing to, this event will be fired when the subscription is confirmed.
The event has one public property: $subscriber which is an instance of Spatie\Mailcoach\Models\Subscriber.
You can get the email address of the subscriber like this:
This event will be fired when somebody opens an email. Be aware that this event could be fired many times after sending a campaign to a email list with a large number of subscribers. This event will only be fired for campaigns that have open tracking enabled.
It has one public property: $campaignOpen, which is an instance of the Spatie\Mailcoach\Models\CampaignOpen model.
You can get the email address that opened your email like this:
$email = $event->campaignOpen->subscriber->email;
This is how you can get to the name of the campaign: