I'm using Swiftmailer for my website's contact form to send the form data via email when it's submitted. I switched to a different hosting company and seemingly everything should be the same, but it no longer works. I'm not getting any error messages. I get status 200 OK when clicking "Submit." I deleted and re-created the email account, but that didn't help. Changed the SMTP authentication information to the new hosting comopany's server, but still no email is sent. Any ideas? Oh, and I switched from Bluehost to A2 hosting. Thanks in advance.
Andrew
1). Check the spam folder
2). Ensure sendmail is installed
3). If reaching to SPAM, allow your server IP in DNS SPF record
Related
I have godaddy's economy hosting based on linux cpanel. I have created an email address as info#mydomai.com and I send my contact form queries to that mentioned email using the php mail function. This works properly. But when I send emails from the mentioned address, it takes around 2 hours to be received on the target address.
How can this time be reduced? Is this a problem on godaddy's side?
If the mail works properly with mail($to,$subject,$message);, I think you should contact Godaddy support team in regards to this issue but before that please double check your Outlook settings.
Check this GoDaddy community topic related to Email Delayed
For the past 2 weeks I am getting problem with my website Contact Us form. My website is built in Joomla. Whenever I filled the form for testing, I got the mail to my Gmail account but not on my domain email ID's.
My joomla website is hosted on AWS and the email server is a dedicated server. My website is running pretty good.
My mail settings in joomla admin are:
Send mail: yes
Mailer: sendmail
Sendmail path: /usr/sbin/sendmail
What is wrong with my Contact Us form?
I think I know what the problem is (we experienced the same issue before with one of our clients). Your website's domain has an SPF entry that doesn't include the IP of your server. This means that when someone tries to fill in a "Contact Us" form and then send it, then it will possibly get caught by your domain's spam filter since the IP of your server is not allowed to send emails on behalf of your domain.
The solution to this problem is to add an SPF entry for your server's IP in your domain's DNS settings.
about a week ago i started to learn how to use Webmin, and Virtualmin. I have an own dedicated server at Server4you, but when i'm trying to send email via PHP mail(), or Roundcube, the messages are displaying in the junk folder (gmail, Hotmail, godaddy's mail).
I started to analyze what's wrong with it, updated my DNS Records at cloudflare (added dmarc, and spf Records as well), turned of SSL mode, repaired my headers in PHP mailer, checked for blacklist (all fine), but nothing changed.
Any tips, somebody had same issues?
Thank you for your help in advance! :)
Mark
Okey, i did it. :)
Under Virtualmin section i enabled Email messages -> DomainKeys Identified Mail, then added domainkey to DNS's TXT record.
I have Drupal 7.18 on my local machine. I've created a contact form on my site and I've also downloaded the SimpleNews module and created a "sign up for our newsletter" block.
I've tested both of these by filling out the contact form with my email and details and it says the form has been submitted. I've also done the same for the newsletter sign-up and it says "thank you for signing up to our newsletter".
However, these emails aren't getting through to my inbox. I've tried using a couple of different emails but still nothing.
Is it because I'm working locally on my machine? If not, what could be causing this?
Many thanks :)
It's because you are working locally. You need to configure an SMTP client to be able to send emails from a local machine.
Consider using Mercury if you wanna be able to send emails from your local machine. it's free.
On my client's website (domain.com) we have a contact form which sends an email to the client an me (client#domain.com and me#gmail.com).
The email is sent using PHP mail() function.
The website is hosted on my web server (MediaTemple DV) but the client has it's own server where Exchange is running (IP: xx.xxx.xx.xx, DOMAIN: server.com). Since the emails are handled by his server, I had to modify the DNS records on domain.com.
A: mail.domain.com -> xx.xxx.xx.xx
MX: (0) domain.com -> mail.domain.com
MX: (10) domain.com -> mail.server.com
When I use the contact form, I don't get any PHP error but only me#gmail.com receives the message.
After a few minutes, qmail (MediaTemple mail system) sends me an error email saying that client#domain.com "no longer accepts mail".
What's weird is that when I send an email to client#domain.com FROM gmail.com, then he gets it. Note that the client can still send email from Outlook with no problem.
Also note that all my other emails on other domains on my MediaTemple server work fine.
Does anyone have an idea why it behaves like this?
Thanks!
Make sure the mail service for the domain is turned off on the (dv) - it's trying to deliver locally and not even checking the DNS. That should immediately solve the problem.
(Also, probably a question for ServerFault?)