-
☆ A M B ☆
- 24,524 Posts
the default site email address in set in the Configuration, in the User tab, the Email Address field. It would be used with the [(emailsender)] tags in HTML code (templates, chunks), and with $modx->config[’emailsender’] in snippet code.
This may have nothing to do with your problem, however. Many shared hosting providers block the php mail() function from sending mail outside of the server for security reasons. And there are other reasons why mail sending could fail.
Thanks for responding so quickly. I have that email address but it’s still not sending out any emails. Any other ideas why this is happening to me?
-
☆ A M B ☆
- 24,524 Posts
Many shared hosting providers block the php mail() function from sending mail outside of the server for security reasons.
Oh, Is there a workaround for this or a way for me to find out if it’s being blocked?
-
☆ A M B ☆
- 24,524 Posts
Ask your hosting provider, or check their forums.
You can edit the form mailing script to use the phpmailer class that comes with MODx, and use SMTP. The eForm snippet uses the class, and can easily be edited to use SMTP.
http://modxcms.com/SPForm-1945.html SPForm makes it easier.
Thanks alot. I’ll take a look and hopefully I can get something working.