app/maguttiCms/Notifications/NewsletterSubscriberAdminNotification.php
/**
     * Get the mail representation of the notification.
     *
     * @param  mixed  $notifiable
     * @return \Illuminate\Notifications\Messages\MailMessage
     */
Get the mail representation of the notification.
@param  mixed  $notifiable
@return \Illuminate\Notifications\Messages\MailMessage
Get the mail representation of the notification . @param mixed $notifiable @return \ Illuminate \ Notifications \ Messages \ MailMessage
public function toMail($notifiable): MailMessage
    {
        return (new MailMessage)
            ->subject(trans('website.mail_message.subscribe_newsletter_subject').' - '.config('maguttiCms.website.option.app.name'))
            ->greeting(trans('website.mail_message.greeting_admin'))
            ->line(trans('website.mail_message.subscribe_newsletter_text'))
            ->line($this->data->email)
            ->line('')
            ->salutation(' ');
    }
public function toMail ( $ notifiable ) : MailMessage { return ( new MailMessage ) -> subject ( trans ( 'website.mail_message.subscribe_newsletter_subject' ) . ' - ' . config ( 'maguttiCms.website.option.app.name' ) ) -> greeting ( trans ( 'website.mail_message.greeting_admin' ) ) -> line ( trans ( 'website.mail_message.subscribe_newsletter_text' ) ) -> line ( $ this -> data -> email ) -> line ( '' ) -> salutation ( ' ' ) ; }
Get the mail representation of the notification.
Get the mail representation of the notification .