Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- MAIL_DRIVER=sendmail
- MAIL_HOST=smtp.gmail.com
- MAIL_PORT=587
- MAIL_USERNAME=xxxx@gmail.com
- MAIL_PASSWORD=xxxx
- protected function contactMe() {
- Mail::send('request2e', array(
- 'subject' =>Input::get("subject"),
- 'email' => Input::get("email"),
- 'message1' => Input::get("message1"),
- 'number' => Input::get("number")
- ), function ($message) {
- $message->from('xxxx@gmail.com', 'Contact');
- $message->to('yyyy@gmail.com')->subject('Contact');
- });
- return redirect('/');
- }
- MAIL_DRIVER=smtp
Add Comment
Please, Sign In to add comment