Contact forms being sent to junk folder

Issues related to forms.
Post Reply
Trevor Johnson
 
 
Posts: 44
Joined: Sun Dec 21, 2014 6:05 pm

Contact forms being sent to junk folder

Post by Trevor Johnson » Thu Feb 15, 2018 1:56 pm

My email form is being submitted to 2 of the 3 email addresses specified on the page form and has been for years. Recently the school changed it's email provider to Outlook 365 and now the website form submissions to the school's email address go to spam. The provider says to change the 'FROM' address, to the school's email address. Is it ok to do this? I can't do it the page html of the form so how do I do it, or is there another workaround?
Thanks,
Trevor.

User avatar
Pablo
 
Posts: 13567
Joined: Tue Mar 28, 2006 12:00 pm
Location: Europe
Contact:

Re: Contact forms being sent to junk folder

Post by Pablo » Thu Feb 15, 2018 2:20 pm

1. Change the name of the email input field to 'e-mail' (instead of 'email')
2. Set the 'Email address' property in the form to the school's email address.

Trevor Johnson
 
 
Posts: 44
Joined: Sun Dec 21, 2014 6:05 pm

Re: Contact forms being sent to junk folder

Post by Trevor Johnson » Thu Feb 15, 2018 10:15 pm

Hello Pablo,
1) If you mean the text label above the box where the person enters their email address, I've done that and the problem remains.
2) The email address property on the form page is already info@thebritishschoollanzarote.com

Any further ideas please?

User avatar
Pablo
 
Posts: 13567
Joined: Tue Mar 28, 2006 12:00 pm
Location: Europe
Contact:

Re: Contact forms being sent to junk folder

Post by Pablo » Thu Feb 15, 2018 10:27 pm

If you mean the text label above the box where the person enters their email address, I've done that and the problem remains.
No, I meant the email input field name.

Please note that without seeing what you have done it is always difficult to help you.

Trevor Johnson
 
 
Posts: 44
Joined: Sun Dec 21, 2014 6:05 pm

Re: Contact forms being sent to junk folder

Post by Trevor Johnson » Fri Feb 16, 2018 10:06 am

O.k. Pablo,
The contact page is www.thebritishschoollanzarote.com/contact.php
I can't see how to attach a zip of the project.

User avatar
BaconFries
 
 
Posts: 4128
Joined: Thu Aug 16, 2007 7:32 pm

Re: Contact forms being sent to junk folder

Post by BaconFries » Fri Feb 16, 2018 11:01 am

To share simply zip upload to your own host then provide a download link. Or upload to one of the many file sharing sites and again provide a link to download.

User avatar
Pablo
 
Posts: 13567
Joined: Tue Mar 28, 2006 12:00 pm
Location: Europe
Contact:

Re: Contact forms being sent to junk folder

Post by Pablo » Fri Feb 16, 2018 11:30 am

The email address property on the form page is already info@thebritishschoollanzarote.com
Then I see no reason why the server will block the email.
Please contact the host for further assistance.

Trevor Johnson
 
 
Posts: 44
Joined: Sun Dec 21, 2014 6:05 pm

Re: Contact forms being sent to junk folder

Post by Trevor Johnson » Fri Feb 16, 2018 2:15 pm

That's where this thread started, the host says;

'Things are working as expected.

Essentially, the contact form is trying to spoof the 'FROM' address using the address entered. Office 365 is detecting this as a spam email (which is logically correct).

I'd strongly recommend changing the contact form so the end user's email address is a field within the body rather than the 'FROM' address. Our own website contact form comes from sales@unitedhosting.co.uk (an address our server is approved to send from). Perhaps use info@thebritishschoollanzarote.com as the from address?'

But of course I can't change the html.

User avatar
Pablo
 
Posts: 13567
Joined: Tue Mar 28, 2006 12:00 pm
Location: Europe
Contact:

Re: Contact forms being sent to junk folder

Post by Pablo » Fri Feb 16, 2018 2:39 pm

The form script will use the 'from' address that you have entered in form's properties
OR
The specified email address in the 'email' field. This can also be a hidden filed.

Code: Select all

$mailto = 'fromaddress@yourdomain.com';
$mailfrom = isset($_POST['email']) ? $_POST['email'] : $mailto;
If you need different behavior then you will need to implement your own form processing script.

Trevor Johnson
 
 
Posts: 44
Joined: Sun Dec 21, 2014 6:05 pm

Re: Contact forms being sent to junk folder

Post by Trevor Johnson » Fri Feb 16, 2018 9:47 pm

Thank you,
I've changed some of the settings on the advanced part of the form and it now seems to be working properly.

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests