You must be using double quotes, and you use \r\n
to make a new line.
Example:
"Something\r\nOn\r\nA\r\nNew\r\nLine"
That doesn't work ... it simply adds "\r\n" into the output
The issue turned out to be that if only sending text, one must explicitly pass an array to the Mail::(send/queue) call as follows:
Mail::send(array('text' => $text_view), ...
If you:
Mail::send($text_view, ...
The message is assumed to be HTML
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community