This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.
FabioOliveiraCosta
Hello All. I am trying to programatically setting the email subject using something like http://laravel.com/docs/4.2/mail#basic-usage , but my email template subject is always used no matter what i put. Is this the desired behaviour?
axomat
What are you using as your subject? It should be something like
subject = "Spammer reported '{{ member.username }}'"
FabioOliveiraCosta
Ok that on the mail template, But there is no way for me to do it larael style?
Mail::send('emails.welcome', array('key' => 'value'), function($message)
{
$message->to('foo@example.com', 'John Smith')->subject('Welcome!');
});
In which the subject would be set on the email sender?
Last updated
1-3 of 3