Emails from Forms

Permalink
Hi
I am at my wits end here. I have two forms on site, one a contact page should send an email to two addresses. One is an entry submission form, should send an email to the entrant. Neither thing happens. Both forms are gathering records I can see them in the dashboard
The web host support team indicated this might be due to my updated site still being in development and my main domain still pointing to the old site. This is no longer the case, all domains point to the new site but the forms still don't work.

Am I missing something painfully obvious here?
I will be going back to my host to see if they can offer anything new.

View Replies:
mnakalay replied on at Permalink Reply
mnakalay
I know when I answered you in your previous message you said maybe you didn't explain the issue well.

Now I read and read again your problem and I totally stand by what I suggested.

So did you check what you had in your Concrete5 log to see if you were getting errors after each email sending attempt?

Did you check that your email had the correct records so it is not blocked by your users' email providers?
mostrim replied on at Permalink Reply
Hi
Thanks for your reply - my hosting technical support say my problem is the following

The emails are being sent out successfully,however they are being rejected for the email '[email protected]' being used, if the sender email '[email protected]' can be updated to the one associated with your domain, I believe the emails will be successfully received, along with SMTP authentication.

Any idea how i go about fixing this? is this something I need to talk to C5 tech about? I fund other threads talking about editing the SMTP settings on the dashboard and others that i have to edit a php file
ConcreteOwl replied on at Permalink Reply
ConcreteOwl
Login to your site and go to 'System & Settings' ... click on 'System Email Addresses' (found beneath 'Email') and enter your preferred default email address and email from name.
Next fill in the other email settings on that page and save.

To check that the email config settings have been updated on your site...
Go via FTP to application/config/generated_overrides/concrete.php and scroll down to the section that starts with 'email' => [ ...

EDIT As directed by your hosting company, if your domain is called edgeworthstown.net make sure you are using an email address like (for example) [email protected]
mostrim replied on at Permalink Reply 1 Attachment
Hi Thanks for the reply. I wonder if i am a little bit stupid but I don't see that option on my dashboard. Please see attached.

# concrete5 Version
Core Version - 8.2.1
Version Installed - 8.2.1
Database Version - 20170802000000
ConcreteOwl replied on at Permalink Reply
ConcreteOwl
No, you are not stupid...
I assumed you were using 8.5.1
You will probably need to create a concrete.php file in application/config/concrete.php and add this code
<?php
return [
        'email' => [
        'default' => [
            'name' => 'YourName',
            'address' => 'YourEmailAddress',
        ],
        'forgot_password' => [
            'name' => 'YourName',
            'address' => 'YourEmailAddress',
        ],
        'form_block' => [
            'address' => 'YourEmailAddress',
        ],
        'register_notification' => [

Substitute YourName for your actual name and YourEmailAddress for your actual email address.
mostrim replied on at Permalink Reply
Hi
Thank you for your reply. I'm not very comfortable editing files like that so I went to see if i could update to that 8.5.1 version of Concrete5. I have always done updates and installs via Softaculous and the update was available so i installed it, went back to the dashboard and nothing has changed. I did a search and there seems to be a bug in that version and according to what i read I need to do a manual update. So I am going to attempt that and hope I don't break anything. Life is never simple
Thanks again