New: Learn Statamic on Laracasts!

We've retired the forum in favor of GitHub Discussions.

New conversations can be started on GitHub. Existing conversations will remain for a while longer.

Head over to GitHub →

Email not sending after form submit

Immense February 15, 2021 by Immense

I'm stuck so i hope one of you can help me. I'll keep getting this error Call to a member function field() on string message after i submit a form where, after the form is submitted, a email needs to be send. The error comes from \vendor\statamic\cms\src\Forms\Email.php

I've tried a lot of things like removing the vendor folder and the composer.lock but nothing seems to help. I hope i explained it clearly enough, but if you need some more info just give a shout

Answered by Duncan McClean!
>>>>>>> Answered <<<<<<<
2 Replies