I'm using FormIt to send emails and it isn't working... but I'm not convinced it's FormIt's fault.
FormIt chunk:
[[!FormIt?
&hooks=`spam,email,redirect,FormItAutoResponder`
&redirectTo=`66`
&emailTpl=`ServiceFormReport`
&emailTo=`[[++emailsender]]`
&emailUseFieldForSubject=`1`
&fiarFrom=`[[++emailsender]]`
&fiarTpl=`ServiceFormReport`
&fiarSubject=`auto response`
&submitVar=`submitContact`
]]
I ran QuickEmail in debug mode and got the following results:
System Settings (used if property is missing):
emailsender System Setting:
[email protected]
site_name System Setting: Destructive Customs
Properties (from parameters, property set, or snippet default properties:
Tpl chunk name:
subject:
to:
fromName:
replyTo:
emailSender:
allowHtml: 1
message:
Final Values (actually used when sending email):
subject: Default Subject
to:
[email protected]
fromName:
[email protected]
replyTo:
[email protected]
emailSender:
[email protected]
allowHtml: 1
Message Body: Default Message
Send reported successful
I didn't get an email though, and nothing came up in my spam folder.
I tried this as well in a snippet:
mail('
[email protected]', 'test', 'test')
...and nothing happened. Now the weird thing is that the auto responder hook in the above FormIt snippit WORKS. So, does anyone have some ideas on why regular email sending mechanisms don't seem to work, but auto responder does?