def to_mail(self, notifiable): return ( Mailable() .subject("Masonite 4") .from_("*****@*****.**") .text("Hello from Masonite!") )
def to_mail(self, notifiable): return (Mailable().to(notifiable.email).subject("Masonite 4").from_( "*****@*****.**").text(f"Hello {notifiable.name}"))
def to_mail(self, notifiable): return Mailable().text("Welcome")
def to_mail(self, notifiable): return (Mailable().subject(f"Order {self.order_id} shipped !").from_( "*****@*****.**").text( f"{notifiable.name}, your order has been shipped"))
def to_mail(self, notifiable): return (Mailable().subject("Other").from_( "*****@*****.**").text("Hello again!"))