This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.

dijo.dill
dijo.dill

Hi,

Is it possible to send the latest blogs as email when someone fills the contact form

Last updated

daftspunky
daftspunky

Hello!

This is a complex requirement that does not have a simple answer. You could start by reading the documentation on Mail: https://octobercms.com/docs/services/mail

Then take a look at the User plugin for an example of sending an email from a component: https://github.com/rainlab/user-plugin/blob/842676037d3e665e6d898f40e0d2d48c3a0c1938/components/Account.php#L577-L592

I hope this helps!

dijo.dill
dijo.dill

Thank you so much!!

1-3 of 3

You cannot edit posts or make replies: the forum has moved to talk.octobercms.com.