WebSite X5Help Center

 
Bill G.
Bill G.
User

Email replies to user  en

Auteur : Bill G.
Visité 1239, Followers 1, Partagé 0  

psychology-counselling.com 

I have set up a contact us for on the above website. It sends into to me. (after a long discussion with my website host) and works well. However I cannot get it to send a conformation email to the user. I have been assured by my Hosting Companey that I have all the privleges available and is set to 777.

I have also set the website to reply to the user and given the same email address that i used to recieve the data. 

Any advice would be much appreciated.

Keep Save everybody

Sandy

Posté le
15 RéPONSES - 1 CORRECT
Paul M.
Paul M.
Moderator

Hello Bill,

Can you post a screenshot of your email settings for the Contact Form Object please, showing the data you have entered in the following fields:

Kind regards,

Paul

Search the WebSite X5 Help Center

Lire plus
Posté le de Paul M.
Bill G.
Bill G.
User
Auteur

I pasted the screenshot but I am using 2 screens and it became too large to post please tru the attached file.

Thanks

Lire plus
Posté le de Bill G.
Bill G.
Bill G.
User
Auteur

This might be better

Lire plus
Posté le de Bill G.
Paul M.
Paul M.
Moderator

Thanks for the screenshots, Bill.  I can't see that you've done much wrong so far, but email settings can be tricky.  By the way, I sent a brief test message using your Contact Form a few moments ago...  please ignore it.

A few thoughts...

Just to start with simple things...  did you definitely reupload to the server after filling in the fields for the confirmation email?  I'm sure you will have done, but if not then please go ahead and do so now.  The changes won't take effect to the Contact Form Object until the files on the server have been refreshed.

It's also a good idea (when troubleshooting anything within WebSite X5) to hold down the CTRL key and enter the Preview mode in WebSite X5 before uploading to the server.  This regenerates your project files afresh.

As a secondary diagnostic step, can you please remove the tick from the checkbox in the confirmation field entitled 'Include the collected data'  -  some servers can be fussy about this setting, and it will be useful to see if the confirmation email gets through without it selected.

The next step would be to get back in touch with your hosting provider, and ask them to carefully check the error logs on your server.  Each time an email failure occurs, a note is made of this in the server logs.  These notes can be crucial in helping you work out exactly what is going wrong.

Is the email address you are using (sandy_at_psychology-counselling.com) a brand new address by any chance?  I notice that it differs from the other email address listed on your site.  Has the email account been set up fully on the server with SPF, DKIM and DMARC records, and do you have authority to send email from that address?  Your host will be able to advise.

Lire plus
Posté le de Paul M.
Bill G.
Bill G.
User
Auteur

Hi Paul

Still the same can recieve data but not send conformation to the user. Tried all your suggestions. The email address I am using has been around for some time I have used it because the hosting will not recognise anything without the domain present.

Just a thaught. I have another website for our yachat club dinners using e commers to select from the menue. That works fine and sends a reply mesage. Are the settings for the reply email the same as oneanother. 

I also have your message did you get a conformation. 

Lire plus
Posté le de Bill G.
Bill G.
Bill G.
User
Auteur

Hi Paul

I entered a differant user email address in the form and got a reply conformation.

Thank you for your enquiry we will get back to you within 24 hours.

Sandy Gaskins
BA Hons,M.A.Couns,CPsychol,Csci,CQSW,NNEB,EWI,AFBPsS
Chartered Psychologist, Chartered Scientist, Registered Social worker
Accredited Expert Witness (Family Certificate)

I used another email address that has the URL name in it. ?

Bill

Lire plus
Posté le de Bill G.
Bill G.
Bill G.
User
Auteur

Hi Again 

I have use yet another email address for my iclod account. I again recieve the data but no conformation to the sender. I looks increasingly like the host is rejecting everything that does not have the site url name in it.

Best wishes

Bill

Lire plus
Posté le de Bill G.
Paul M.
Paul M.
Moderator

That's quite common nowadays, Bill, as it helps to cut down on spam.

But what do the error logs on the server say?  If you can ask your webhost for this information then you will probably strike gold in terms of a definitive answer to the issue.

Lire plus
Posté le de Paul M.
Bill G.
Bill G.
User
Auteur

This is the error messages I get from the read write file.

[2020-10-29 21:50:02] Could not instantiate mail function.
[2020-10-29 21:47:48] Could not instantiate mail function.
[2020-10-29 21:24:25] Could not instantiate mail function.
[2020-10-29 21:24:25] Could not instantiate mail function.
[2020-10-29 21:14:49] Could not instantiate mail function.
[2020-10-29 21:07:14] Could not instantiate mail function.
[2020-10-29 19:37:10] Could not instantiate mail function.
[2020-10-29 19:22:45] Could not instantiate mail function.
[2020-10-29 19:07:11] Could not instantiate mail function.
[2020-10-29 16:50:55] Could not instantiate mail function.
[2020-10-29 16:44:43] SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting
[2020-10-29 16:44:43] SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting
[2020-10-29 16:15:40] SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting
[2020-10-29 16:15:40] SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting
[2020-10-29 14:52:00] Could not instantiate mail function.
[2020-10-29 12:25:18] Could not instantiate mail function.
[2020-10-29 10:19:16] Could not instantiate mail function.
[2020-10-29 10:16:33] Could not instantiate mail function.
[2020-10-29 10:14:55] Could not instantiate mail function.
[2020-10-28 22:14:34] Could not instantiate mail function.
[2020-10-28 16:08:46] Could not instantiate mail function.
[2020-10-28 16:01:36] Could not instantiate mail function.

The error message when testing the website is roughley: cannot initiate email. (I lost the connectio for testing the site)

Best Bill

Lire plus
Posté le de Bill G.
Bill G.
Bill G.
User
Auteur

I Lied found it.

[2020-10-30 09:34:23] Invalid address: (From): sandy@psychology=counselling.com
[2020-10-29 21:50:02] Could not instantiate mail function.
[2020-10-29 21:47:48] Could not instantiate mail function.
[2020-10-29 21:24:25] Could not instantiate mail function.
[2020-10-29 21:24:25] Could not instantiate mail function.
[2020-10-29 21:14:49] Could not instantiate mail function.
[2020-10-29 21:07:14] Could not instantiate mail function.
[2020-10-29 19:37:10] Could not instantiate mail function.
[2020-10-29 19:22:45] Could not instantiate mail function.
[2020-10-29 19:07:11] Could not instantiate mail function.
[2020-10-29 16:50:55] Could not instantiate mail function.
[2020-10-29 16:44:43] SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting
[2020-10-29 16:44:43] SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting
[2020-10-29 16:15:40] SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting
[2020-10-29 16:15:40] SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting
[2020-10-29 14:52:00] Could not instantiate mail function.
[2020-10-29 12:25:18] Could not instantiate mail function.
[2020-10-29 10:19:16] Could not instantiate mail function.
[2020-10-29 10:16:33] Could not instantiate mail function.
[2020-10-29 10:14:55] Could not instantiate mail function.
[2020-10-28 22:14:34] Could not instantiate mail function.
[2020-10-28 16:08:46] Could not instantiate mail function.
[2020-10-28 16:01:36] Could not instantiate mail function.
[2020-10-28 15:56:28] Could not instantiate mail function.
[2020-10-28 15:56:28] Could not instantiate mail function.
[2020-10-28 15:42:48] Could not instantiate mail function.
[2020-10-28 15:33:36] Could not instantiate mail function.

Lire plus
Posté le de Bill G.
Bill G.
Bill G.
User
Auteur

Put the wrong address in.

These are the correct results

[2020-10-30 09:36:10] Could not instantiate mail function.
[2020-10-30 09:34:23] Invalid address: (From): sandy@psychology=counselling.com
[2020-10-29 21:50:02] Could not instantiate mail function.
[2020-10-29 21:47:48] Could not instantiate mail function.
[2020-10-29 21:24:25] Could not instantiate mail function.
[2020-10-29 21:24:25] Could not instantiate mail function.
[2020-10-29 21:14:49] Could not instantiate mail function.
[2020-10-29 21:07:14] Could not instantiate mail function.
[2020-10-29 19:37:10] Could not instantiate mail function.
[2020-10-29 19:22:45] Could not instantiate mail function.
[2020-10-29 19:07:11] Could not instantiate mail function.
[2020-10-29 16:50:55] Could not instantiate mail function.
[2020-10-29 16:44:43] SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting
[2020-10-29 16:44:43] SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting
[2020-10-29 16:15:40] SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting
[2020-10-29 16:15:40] SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting
[2020-10-29 14:52:00] Could not instantiate mail function.
[2020-10-29 12:25:18] Could not instantiate mail function.
[2020-10-29 10:19:16] Could not instantiate mail function.
[2020-10-29 10:16:33] Could not instantiate mail function.
[2020-10-29 10:14:55] Could not instantiate mail function.
[2020-10-28 22:14:34] Could not instantiate mail function.
[2020-10-28 16:08:46] Could not instantiate mail function.
[2020-10-28 16:01:36] Could not instantiate mail function.
[2020-10-28 15:56:28] Could not instantiate mail function.
[2020-10-28 15:56:28] Could not instantiate mail function.
[2020-10-28 15:42:48] Could not instantiate mail function.
[2020-10-28 15:33:36] Could not instantiate mail function.

Lire plus
Posté le de Bill G.
Incomedia
Stefano G.
Incomedia

Hello Bill

If I understand correctly, it seems like the emails do get sent to some email addresses. It's just some other addressed that do not receive the confirmation email

Can you please provide here to me some examples of emails that receive the confirmation and emails that don't?

I strongly believe this is something related to the hosting's filtering system, so I'm not sure there's anything that can be done software-side, but I would like to verify this for you anyway

Keep me posted here

Thank you

Stefano

Lire plus
Posté le de Stefano G.
Bill G.
Bill G.
User
Auteur

Its every email that does not have psychology-counselling in the address. 

However I have had extensive talks with my hosting companey. They say that I have all the permissions necessary and at thi stage cannot change their settings but will work on it and get back to me.

I have come up with a work round as follows.

1. I hace created an email address with psychology-counselling in the address which i will use exclusivly on the website and not use for general use.

2. I have created a reply rule within that address saying what i wish to say to my visitors.

3. If i turn off the reply to sender within the developer is does not work so the hosting softwere needs that message to work with it. 

4. I have tested it on differant email addresses and it now works fine. (Dont know why)

SORRY about the bad spelling age and dsylexia.

Best wishes

Bill

Lire plus
Posté le de Bill G.
Paul M.
Paul M.
Moderator

I completely agree with Stefano that the issues are server side and hosting related.

Please note the following extract from the error logs in particular:

Invalid address: (From): sandy@psychology=counselling.com

Your domain name has a hyphen between the words psychology and counselling, but something on the server has replaced this with an 'equals sign'.

Could not instantiate mail function  -  this is definitely related to server configuration.  Ref: https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting#could-not-instantiate-mail-function

SMTP connect() failed  -  https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting#smtp-error-could-not-connect-to-smtp-host

Lire plus
Posté le de Paul M.
Bill G.
Bill G.
User
Auteur

You are correct. I have spent just as much time talking to server people. Finally convinced them that the fault is with the, thanks to your good advice. I very much appreciate your time and expertees in solving this problem.

Working absolutely fine now. No problems.

Take care and Safe

Best wishes

Bill

Lire plus
Posté le de Bill G.