Mail Not Sending In Contact Form 7 Submission - wordpress

I am working with contact form 7 but mail is not sending to my gmail id,
can anybody tell me what should i do to send email in inbox not in spam.

The mails sended via the contact form 7 plugin should have a sender with the domain of your wordpress site. If your site url is "https://www.mypage.com", you can use "noreply#mypage.com" or anything else, but make sure to use the same domain. So the sender really is your domain, otherwise gmail will mark it as spam because it "fakes" the domain it is coming from.
If gmail still puts it in the spam folder, please make sure you are using the right syntax for from header:
Yourname Ormessage <noreply#mypage.com>
Your first name and second name, the mail address inside of brackets.
Make sure you have a reply-to set with a real existing mail-adress you are reading:
Reply-To: info#mypage.com
What does the subject of your e-mail look like? This could also be a reason why gmail marks it as spam. Don't use a subject too long and don't use "spam like" words or sentences.
You checked everything but gmail still puts it in your spam folder? Maybe you should use a smtp plugin to send your emails reliably: https://wordpress.org/plugins/wp-mail-smtp/
If nothing works for you, maybe you have marked it as spam inside your gmail by mistake? You can mark it as no-spam again. But this will only affect your mail account. Maybe you try to send the email to someone elses mail address, so you can check if the issue is with your personal account.
Hope this helps.

Related

Firebase Reset Password Link (Not sending/Did not receive)

I have implemented the reset password link for my app (using exactly the same firebase code provided at https://firebase.google.com/docs/auth/web/manage-users). It works well when I tried it using a gmail account that I have registered previously on the app (I received the reset password link on gmail and able to change for a new password). However, when I tried it with other email domains (like professional work or school domains e.g #mycompany.com or #school.edu), it does not seem to receive the email (not in junk/spam too). It is very weird because I do receive the 'email verification' link (from firebase) using other domains when I registered using the app but not when I tried to reset the password? Any ideas on how to approach this problem?
As an FYI, currently in Jan 2023, Microsoft 365 business blocks these emails from ever reaching the target mailbox, even if you change the SMTP settings in firebase.
They still appear in your own SMTP sent section, they just never get delivered by MS
Open firebase console goto Authentication then click on Templates > Password Reset then copy given email address (it seems like, 'noreply#YOUR-PROJECT-NAME.firebaseapp.com') then open your Gmail account and paste that email id in search section the tap on 'view message > move to not spam'
This will surly help you
Thanks
Meet Patel
If the code is the same and you don't get an error message, it is extremely likely that the email gets blocked somewhere along to the way to the target mailbox. You'd have to reach out to the system administrator and see if they can find the message somewhere in their spam filters, and ask them to modify the configuration of those to no longer block these messages.
As ganey stated, the problem is that certain email filters such as MS 365 do not accept mails that contain links that are not in pair with the sender domain.
The solution is to add a customized action url that points to the same domain as your sender domain.
Then you need to redirect from that url to the url generated by firebase.
Note:
If you do this in react or another SPA, don't forget to append the query params.

Contact Form 7 showing sent message but not receiving email

Experiencing issue with WP plugin, contact form 7. When I fill in the form and submit, I receive a success message stating it was sent yet I don't receive it in my emails.
The mail is not in my junk and I only received the message in my email when I input the email its being send to!?
The email it is going to is an exchange account. I can see the emails coming through using a contact form submission on the WP backend. But would like to resolve this issue.
Form
[text* your-name placeholder "Name"]
[email* your-email placeholder "Email Address"]
[text* your-dob placeholder "DOB"]
<p>Which Challenge(s) would you like to enter?</p>
[checkbox* select-challenge "1" "2" "3"]
</br>
Please tick here that you have read and accepted the [popup_trigger
classes="popmake-food-challenge-tcs"]
<u>terms & conditions</u>[/popup_trigger] for entry & participation.
[acceptance acceptance-997]
[submit "Send"]
Mail
To: myname#company.com
From: Website
Subject: Challenge
Reply-To: [your-email]
From: [your-name] <[your-email]>
Eating Challenge Registration
Name: [your-name]
Email: [your-email]
DOB: [your-dob]
Challenge(s): [select-challenge]
I also checked with website host that they use wp_mail() and was confirmed they do. As other contact forms send - bar this one.
Try setting the from: email address to wordpress#yourdomain.com. Contact Form 7 support recommends setting the from address as being on your own domain, so that the website's mailer program doesn't think it is spoofing the email being sent (sending it from an incorrect email address).
If that doesn't work, best to use a plugin like WP Mail SMTP Plugin.
I set it up to send contact form emails through our Gmail account, which worked well. Instructions here.
SMTP Plugins are a Band-aid Solution
The reason people use SMTP plugins is because they have not set up their own domains properly; so, they route their emails through their email hosting company under the expectation that THEIR domain is both set up properly and permissive enough to accept the email that needs to be forwarded. So, let's say your website is at example#mywebsite.com and your email is example#gmail.com, then you can use an SMTP plugin to send an email to gmail.com, and then gmail resends it on your behalf.
As you can see, this is a clunky work around, and does not actually fix the problem of not being able to send email from your website directly. There are a few use cases where this is a problem:
If you want to actually send the email from example#mywebsite.com and not expose your example#gmail.com address to the public.
If your email provider does not support SMTP.
Some anti-spam tools may block emails routed this way, because SMTP can be a sign of spoofing through a hacked account. This almost always leads to problems when using the Mail(2) feature to send confirmation emails to the client since you are pretty much guaranteed that some of them will use spam filters that will block it.
You may also need to send emails through other means (not contact form 7) that does not work with your SMTP plugin.
A Better Solution
The best way to fix deliverability issues to to set up your DKIM, SPF, and PTR records properly in your DNS.
If you are using cPanel as most hosting companies seem to do these days, you need to go to EMAIL > Email Deliverability and it will show you warnings if you need to update your DNS. If you do, just copy the records it auto generates into your Domain's DNS and this should fix the problem. Unlike trying to route through someone else's server to send emails, this will set up YOUR server to send them properly thus alleviating all of the above mentioned issues.
This is just as easy to set up as most SMTP plugins, and makes it so you don't have to clutter your WordPress install with unnecessary plugins.
If you do not have cPanel access, just contact your Domain Hosting provider and ask that they setup your DKIM, SPF, and PTR. If your Domain Hosting provider and your Web Hosting provider are two different companies, you may need to request the proper DNS records from your web hosting company to either put in your self or give to your domain hosting company.
when I have a problem about wp contact form I always solve that with using smtp plugin. I suggest you to use wp smtp mail plugin.
Easy SMTP WP plugin page on wordpress.org
If any problem after using smtp plugin, reply this post I will try to help you again.
I have this problem in my website.
Some hosting companies block automatic email sending, because some user uses the host for sending email marketing. So, I think you can contact your host provider to solve this problem.

WordPress Form E-Mail delivering

I 'm trying to fix a problem here in a wordpress eviremont which I'm also new to. I want to get a form running but it isn't sending emails. Currently I'm using Caldera Forms with the WordPress email system. What I want to do is that everytime somebody applies a form, I want to get a email with the content of the form and the user who applied to the form should get a normal autoresponder email. I think this should work without any email plugin or something else, but I'm not sure. I'm trying to fix a probleme here on a wordpress site which crashed after too many people visited this page. Now, the email system espacially the send and receive a email if somebody applied on a form, is not working anymore.. As mentinoed, I don't think that you need a email plugin to do that. I'm right?
Further, the emails get hostet by CrazyDomains. If I use the webmailer, I can receive and send emails from the emails on CrazyDomains.
Where could be the problem?
A plugin called Postman SMTP generates a log which also logs the form emails. This log says:
"250 OK" (I shorted the log). So, it means, the email should be send. For no reason, as already written, I do not receive and get emails with the form...
This plugin is connected with GMAIL API. I don't know why and for what that is...
I already deactivated all email plugins and tried different form plugins like Gravity Form or Contact Form. But same result...
How can I figure out whats the problem and how can I solve it?
I would be very happy about help.
Greetings and Thank You!
Here you can find a Quick config smtp https://www.crazydomains.com.au/help/getting-started-guide-email-hosting/#SDj5xkUTdbsVJ4mL.97.
Maybe email went in the spam section, or you had not configured good the smtp.
You can try to install https://it.wordpress.org/plugins/wp-mail-smtp/ and configure email sent from wordpress as say the crazydomains guide, so with the port 587 etc.

Using Wordpress post via email with 000webhost

I'm using Wordpress 3.8 beta 1 running on 000webhost's free servers. I've created an email to post to my blog when I don't want to log in, but I can't seem to get it working.
Mail Server: mx.000webhost.com
Login Name: xxxxxxxxxxxxxx#onlinecalc.host56.com
Password: The correct password.
I sent a test post with the subject of "Testing WP-Email Post" and body of "I'm trying to use WordPress' post via email system." a few days ago, and the post still hasn't apperd on my blog!
I would suggest using Gmail here. Follow the steps below which have been found on:http://themefuse.com/blog/posting-to-wordpress-via-email-theres-a-safe-way-of-doing-this/
Using Gmail
Yes, Gmail will help us big time here.
Start by creating a new Gmail account with whatever username you wish.
You can even go with “secretemailformyblogposting#gmail.com” … it
truly doesn’t matter. What matters is what we’re going to do later on.
Go to your Gmail settings. Then “Forwarding and POP/IMAP” and enable
the “Enable POP for all mail (even mail that’s already been
downloaded)” feature. From now on your Gmail is supporting the
possibility of downloading messages via POP protocol (which WordPress
uses for email postings).
This next step is the crucial one. What we’re going to do here is
choose an email address which will be the only one allowed to send
anything to your new Gmail account, and therefore to post something to
your blog.
Go to “Filters” and “Create a new filter.” In the “from” field input
your primary email address and add a hyphen just before it. Example:
–yourmainemail#domain.com. Then press “Create filter with this
search.” Tick the “Delete it” checkbox, and press “create filter.”
That’s it.
From now on every email that hasn’t been sent from your own email
address will be immediately deleted.

Email goes to junk folder using contact form 7 plugin in Wordpress [closed]

Closed. This question is not reproducible or was caused by typos. It is not currently accepting answers.
This question was caused by a typo or a problem that can no longer be reproduced. While similar questions may be on-topic here, this one was resolved in a way less likely to help future readers.
Closed 4 years ago.
Improve this question
I am using contact form 7 (version 3.3) plugin to create a form and to send email. I have only 3 field:
firstname
lastname
email
When I click on submit button, email goes in junk folder.
The default CF 7 'from' field quite often results in the notifications being marked as spam. Change it to a proper email address, even noreply#yourdomain.com will work better than the default (as loan points out - missed that when I answered!).
If that doesn't help and it's actually the server you are hosting the site on that has been blacklisted, have a look at the WP plugin that allows you to use SMTP rather than the PHP mail() function.
http://www.wordpress.org/extend/plugins/wp-mail-smtp/
That can sort it too.
The recipient of the e-mail decides what e-mail content is to be considered "junk". Make sure there is a "from" e-mail in the e-mails sent out by the plugin. Then, in your e-mail client, add that address to a white list so that all future e-mails from it will always be considered legitimate.
Does your WP runs on a top level domain ? and on own hosting ? if you do try signing your domain with the SPF records and DKIM records.. Most of the main email providers look for these records on their incoming emails, before they decide it's a SPAM Hope that helps..
Avoid to use too much links in your e-mail, cause that will increase the chance that the mail will be marked as spam.
I had the same problem, but solved it by removing some links in the automatically generated mail.
I've just been resolving the same situation
My mail was being put in the spam folder and the email message wasn't being sent. I found this Link and added this code in my functions.php file:
function cdx_from_email() {
return "wpgod#yourdomain.com";
}
add_filter( 'wp_mail_from', 'cdx_from_email' );
function cdx_from_name() {
return "WPGod";
}
add_filter( 'wp_mail_from_name', 'cdx_from_name' );
By default your site will send as; from 'wordpress' by changing this to my name and email address everything worked sending to gmail.
This was all tested on a local MAMP set-up.
Although this question has already been answered, I thought I added this because the answer here provided was always my way to fix it until recently it stopped working again. So, I just came back from a seminar that targeted this specific problem. And I'm sharing :)
Most emails sent from third party applications such as Wordpress, Joomla, or Amazon get diverted to junk and sometimes they fail and get stuck behind a security layer. I know for a fact with Wordpress Contact Form 7, this is the case many times.
As much as I hesitate to relay on plugins, this one helps a lot! WP-SMTP
Before you do anything ensure your SMTP settings are written correctly and make sure the fields are filled correctly. This means ensuring these are the settings you are using for Outlook:
From: your email ("asdf#outlook.com")
From Name: "Your name or company name"
Host: smtp.live.com
Type of Encryption: TLS
SMTP Port: 587
SMTP Authentication: Yes
Username: Same you use to login (usually the complete email address)
Password: Enough said there
IMPORTANT - Send a test email even if it fails. The point is to trigger an activity in Outlook and have them flag it as an
unauthorized connection
Now, to the fix:
Go to Outlook.com
Login
go to Account Settings
Choose Security & Privacy
Click on "See my recent activity"
The most recent activity should be the fail attempt. Authorize it as a trusted connection.
Done!
Re-test and you shall see your emails showing in the inbox as an authorized connection. Doing these steps let Outlook know that your emails from Wordpress are legitimate connections and not solicitations etc.
As you have been advised changing the default cf7 to noreply#yourdomain.com may give you a better result however, from my experience, more often than not, this is a problem with your hosting company's restriction of the PHP mail () function and not cf7 itself.
Since wordpress by default sends email using the PHP mail() function, which is already very popular for not being reliable, you should expect to lose some mails to the junk.
you can loose some mails to the PHP mail() function for a number of reasons but top of the list is:
Most hosting companies restrict usage of this function to prevent abuse and spam.
So if you are loosing emails to junk, chances are your hosting company is restricting the usage of this function for reasons mentioned above.
Solution:
Your best choice is to use SMTP (simple mail transfer protocol) in place of the PHP mail () function for sending mails.
The SMTP is the industry mail standard and it uses proper authentication which ensures more mail delivery than the PHP mail () function which have a solid reputation for helping to conduct throngs of your mails into junk.
A simple fix for this malady is to install and configure this plugin Post SMTP Mailer/Email Log
I logged into Hotmail, opened the Junk folder and ticked the box next to one of the messages from my form. Up top there appears a "...", click that. Create a rule (delete others by clicking the X) that allows all from the domain your form is on, that moves it to your Inbox.
That's how I did it. Except I used the rule that says anything with "These words" in the subject line (see the Contact Form 7 settings and put "those words" there before the "[your-subject]").

Resources