Form question
Permalink
My form is not currently sending the information to the email address I entered. I was told I need to change some info in the contact form script. Where do I find the contact form script?
Thanks!
Thanks!
My site is not sending forgotten password emails. Had to look that up in the logs when I experienced that.
Here is what my webhost sent me:
The contact form script is
current set to "send" using and external email address..
From: "youremail"@yahoo.com
You'll need to update the script so that from address is using the
"yourdomain".com domain.
Here is what my webhost sent me:
The contact form script is
current set to "send" using and external email address..
From: "youremail"@yahoo.com
You'll need to update the script so that from address is using the
"yourdomain".com domain.
You can define a default from address (for the site) in the file 'root/config/site.php'
Just add this line of code in there:
or use the below code for default form sender address:
Just add this line of code in there:
define('EMAIL_DEFAULT_FROM_ADDRESS', 'youremail@yourdomain.com');
or use the below code for default form sender address:
define('FORM_BLOCK_SENDER_EMAIL', 'youremail@yourdomain.com');
No, somethings still not right. When I submit the form, I don't get it in my email but it shows up in the logs in the database.
Any other ideas?
Thanks for all your help!
Any other ideas?
Thanks for all your help!
i have the same problem i dont solve this help please
it might also be a MX record issue. If your mail is hosted on a different server than your website, sometimes your website's server has DNS records that makes it think it is its own mail server. Great way to test this is if you get emails to other domains (like gmail.com) but not mail to your own website domain - thats what's going on.
Yes I have the same issue. No mail from either the forgotten password OR the basic Contact Form Block.
I tried this solution, and all it did was cause this error to appear when you go to the site:
define('EMAIL_DEFAULT_FROM_ADDRESS', 'michael@studiobard.com'); define('EMAIL_DEFAULT_FROM_ADDRESS', 'michael@studiobard.com');
Warning: Cannot modify header information - headers already sent by (output started at /home1/studioc0/public_html/concrete/config/site.php:2) in /home1/studioc0/public_html/concrete/updates/concrete5.6.0.2/concrete/core/libraries/view.php on line 901
I tried this solution, and all it did was cause this error to appear when you go to the site:
define('EMAIL_DEFAULT_FROM_ADDRESS', 'michael@studiobard.com'); define('EMAIL_DEFAULT_FROM_ADDRESS', 'michael@studiobard.com');
Warning: Cannot modify header information - headers already sent by (output started at /home1/studioc0/public_html/concrete/config/site.php:2) in /home1/studioc0/public_html/concrete/updates/concrete5.6.0.2/concrete/core/libraries/view.php on line 901
Can you see if your site log shows any errors related to emails ('/index.php/dashboard/reports/logs/')?
Are you using the built-in php mail() or an external smtp (check 'index.php/dashboard/system/mail/method/')?