Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- MAIL_DRIVER=mail
- MAIL_HOST=myhosting.com
- MAIL_PORT=587
- MAIL_USERNAME=yousef@hosting.com
- MAIL_PASSWORD=myPassword
- MAIL_ENCRYPTION=tls
- public function html_email(){
- $data = array('name'=>"Data Technology");
- Mail::send('emails.websitePriceRequest', $data, function($message) {
- $message->to('johnef_sh@hotmail.com', 'Data Technology')->subject
- ('Laravel HTML Testing Mail');
- $message->from('johnef_sh@hotmail.com','Data Technology');
- });
- echo "HTML Email Sent. Check your inbox.";
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement