php - Laravel send default email ( without SMTP ) -


it's possible in laravel send default php email without smtp config ? in php x-mailer ?

i use standard php mail() function situations when want specify sender email hardly:

$to = env('mail_username');  $subject = $request->title;  $message = $request->message;  $headers = 'from: ' . $request->email . "\r\n" .  'reply-to: ' . $request->email . "\r\n" .  'x-mailer: php/' . phpversion(); 

Comments

Popular posts from this blog

javascript - jQuery: Add class depending on URL in the best way -

caching - How to check if a url path exists in the service worker cache -

Redirect to a HTTPS version using .htaccess -