This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.
I cannot get email to send. I am an extreme nube. I did search, for longer than I should. But, I just cannot find any complete instructions.
The documentation tells me how to implement the Mail::send method, but not how to call it. Can anyone help? I have set this up in Laravel 4; I just cannot figure out how to do it in October.
Last updated
Open /app/config/mail.php and set your driver to 'smtp'. Set your mailgun credentials as provided.
Flynsarmy, I tried your suggestion. Emails are still not sent.
Where is Mail::send implemented? If it is not, and I need to build it, where should I place the logic? In my Laravel implementation it is in my controller. In October, there are multiple controllers....reminder, I am a newbie to both Laravel and October (and somewhat to MVC).
Last updated
Mail is a facade. Just add use Mail
to the top of whatever file you're calling it Mail::send()
in.
Last updated
Flynsarmy, thanks. But, where do I put the call to Mail::send() ? How do I call that function, and send it variables, after I have the function after it is placed wherever I put it?
There are now instructions that tell you to ensure you have the October.Drivers plugin installed when you open the Mail Settings page.
1-6 of 6