-
Posted in : impressivCard WP
-
Hi, I don’t receive email from the web form. Could you let me know whether I made a mistake in the code or need to contact my host? I know Dreamhost does accept this method… Thanks
PHP mail() function is used. You can contact with your host.
Hi Mehmet,
Hello Ivar,
Please see the response from Dreamhost below. I don’t know how to actually make those changes, but I can imagine that it makes sense to change these in the standard theme files as probably more hosts will have similar policies.
Having said that, can you help me make the relevant changes in the send-mail.php (I guess that is the one)? I’ve created the “no-reply@ivarzantinge.com” address to be used (see below).
THANKS!
DREAMHOST RESPONSE
============================================Thanks for writing in!
> Hi, I’m using a mail form on my website
> (http://www.ivarzantinge.com/#/contact) it’s part of a wordpress theme.
> Unfortunately I don’t actually receive email that is being send from the
> form. I’ve contacted the developer and he says the settings are correct and
> it’s most likely a server issue and I should contact you. Can you please help
> me out?Upon inspection, it looks like your contact form isn’t using the proper
‘From’ address when sending email. Here’s a look at the headers from the
test that I performed:Received: by banshee.dreamhost.com (Postfix, from userid 15963) id
7B260AC1B9; Fri, 5 Jul 2013 06:51:22 -0700 (PDT)
To: info@ivarzantinge.com
Subject: Testing!
From: Dreamhost
Reply-To: dreamhosttest@gmail.com
Message-Id:
Date: Fri, 5 Jul 2013 06:51:22 -0700 (PDT)See how the ‘From’ address is dreamhosttest@gmail.com? It looks like the
contact form/script is marking the site visitor’s email address (I
entered dreamhosttest@gmail.com into the form) as the “From” address when
sending mail. This doesn’t jive too well with our system’s anti-spam
policy, which states that any email you send out from our shared servers
MUST come from an email address that’s hosted here at Dreamhost. You can
read more about this policy here on our wiki:http://wiki.dreamhost.com/Sender_Domain_Policy_and_Spoofing
Any messages that have failed to send from your site are viewable in your
mail directory under your FTP/Shell user (/home/ivar/Maildir/new). You’ll
know messages that have failed for this reason by looking at the
diagnostic code:Diagnostic-Code: smtp; 550 5.7.1 Sender domain not allowed. Please read:
http://dhurl.org/20bThe fix here is actually fairly simple. You just need to make sure that
your contact form is configured to hard-code the ‘From’ address to one
you have hosted here at Dreamhost (you could set up something like
no-reply@ivarzantinge.com specifically for this). How do you make sure
you can reply to the person that filled out the form? Easy! Just assign
the site visitor’s email address (the one they put in the form) to the
‘Reply-to’ header (Looks like you’re already doing this).If you have any questions or concerns, feel free to let us know!
Just tested the latest version on my host and it is working fine. My host is HostGator.
You’re suggesting I change hosts? If it’s not working with Dreamhost (and many others), it means it is flawed…
Yes, you are right. Just tested on a Dreamhost server. I will try to fix this issue. Thanks for the feedback.
Thanks, let me know what I need to change. When is this done, you think?
When is this done you think? Contact form is not working so I can’t properly use the theme right now
I’m currently improving the contact form. I will try to complete it in a week.
Hi, it’s been a week. Is there any progress on this? Tx
Mehmet, I installed the new version and when that didn’t work created a new custom menu and even a new contact page, however the mail form does not work on my page, it now remains in ‘spinning pinwheel’ mode, please see http://www.ivarzantinge.com/#/contact
I tested the new version on a Dreamhost server and worked.
So, have you tested the link I provided? Why is it not working for me? http://www.ivarzantinge.com/#/contact
There is no access to the send-mail.php file in your site. Contact with your host.
Form not working
The forum ‘impressivCard WP’ is closed to new topics and replies.