Closed non25 closed 7 years ago
It seems Swift has deprecated mail
transport engine and it didn't work anyway in the last few versions of Swift: https://github.com/swiftmailer/swiftmailer/issues/866
I've set the default to sendmail, but really you should use SMTP for maximum reliability. I've updated the docs and also made the debug more robust and it should log out to logs/email.log
if you have debug enabled when sending.
Hi dear devs. I've been enjoying grav so much for the past few days, its amazing. Thanks a lot. But then I tried to configure form emails... Can't get it to send something via PHP Mail and that's my preferable way to do it.
I found out that I could debug using
debug: true
inemail.yaml
. But I haven't found any info on how do I debug. Only that I should use smpt instead of 'unreliable' PHP Mail, which works everytime I tested on the same hosting with the following simple code...All I have found about email logs was quite unhelpful
logs/grav.log
, which got something like this:Here's my form config. form.txt Sending from it saves contents to
user/data/contact-form
as expected.Here's my email.yaml.
Can you help me not to reinvent the wheel and making simpler version of your plugin? :(