Did you try Quick email with &debug=`1`?
Also, go to System (gear icon) -> System Settings. Put SMTP in the search box at the upper right and press Enter.
Here are my non-blank settings:
SMTP Authentication mail_smtp_auth Yes
SMTP Hosts mail_smtp_hosts tls: //smtp.somewhere.com
SMTP Keep-Alive mail_smtp_keepalive No
SMTP Password mail_smtp_pass ********************
SMTP Port mail_smtp_port 587
SMTP Connection Prefix mail_smtp_prefix tls
SMTP Timeout mail_smtp_timeout 10
SMTP User mail_smtp_user [email protected]
Use SMTP mail_use_smtp Yes
Is your "from" email address authorized to send mail from your server?
afaik, yes. It's one of the addresses created in cPanel
When you turn SMTP on, what does QuickEmail say in debug mode?
just "Unauthorized"
however, with Use SMTP set to "Yes", the Formit form does not redirect, the user is sent back to the form page, and no mail is sent.
with SMTP set to "No", everything works wrt to Formit, but QuickEmail still returns "Unauthorized"
[ed. note: grogorio last edited this post 6 years, 5 months ago.]
QuickEmail only runs if you're logged in -- otherwise, it just returns "unauthorized." So it's not really telling you anything yet. I think it will work if you "view" the page with the QuickEmail tag from the Manager.
SMTP is usually more reliable, but if you have it turned off, MODX uses its version of PhpMailer, which ultimately uses the PHP mail() function. Many hosts have that turned off, but apparently not yours if QuickEmail could send without SMTP.
Debugging SMTP is a pain, so you might want to just use mail(), though there's a chance your host could turn it off at some point.
None of this explains your FormIt problem though. TBH, I never use FormIt for mail (or anything else for that matter). If you're looking for a simple contact form, you might try SPForm. Otherwise, someone who uses FormIt will probably be more help.
The only thing I can suggest is checking all the mail fields reported in QuickEmail against the ones you're using with FormIt.
thanks for the tip Bob I will check out SPForm. Formit is probably overkill for my modest requirements