loic-sharma / Messages

A Laravel Bundle for the Swiftmailer library
GNU Lesser General Public License v3.0
39 stars 7 forks source link

Please get me started. #19

Closed xtrasmal closed 11 years ago

xtrasmal commented 11 years ago

I read the code:

        Message::send(function($message)
        {
            $message->to('me@me.com');
            $message->from('you@you.com', 'Bob Marley');

            $message->subject('Hello!');
            $message->body('Well hello Someone, how is it going?');
        }); 

But how can I get this to send out the message?

loic-sharma commented 11 years ago

That code should send a message. Do you get an error message? You'll need to make sure you set the correct configuration too.

I'm closing this off as it isn't a real issue. Feel free to keep asking questions though.

xtrasmal commented 11 years ago

Ok thanks. I had problems with my pc's setup. It works great now. Thank you