Failed to send email from contact form 7 - wordpress

I am using contact form 7 one of my wordpress site that using vantage app theme. But problem with sending contact mail. when I am trying to send mail get following message
"Failed to send your message. Please try later or contact the administrator by another method."
Thanks

The only problem is you can send emails from you hosting domain email accounts only.
so check your to email address that is comes under you domain name
I hope this will solve your problem

This is almost certainly due to your particular hosting setup. There are a host of issues that can stop the sending of emails. It depends entirely on your local Server & WordPress configuration.
You will need to investigate this issue for your particular local configuration. See Contact Form 7 Email Issues.
By the way it's not due to "hosting php version or maybe mysql version" - it's due to basic stuff that you can address by working through the issues in the link.

I faced the same issue some time back. Are you using any WordPress caching plugin? like WP super-cache? I resolved this issue by following below steps on WP Super-cache.
Go to WP Super-Cache Admin panel
Go to “Advanced Tab”
Search for “Add here strings (not a filename) that forces a page not to be cached.”
Add '/contact/' (your Contact Form Page name)
Save Strings.

I was able to fix this problem after I spoke to my client's hosting company. The host claimed that the only requirement they had for emails to be passed through their system was that either the To: or the From: field contain an email address under the hosted domain name. They uploaded a test script (an ordinary PHP mail script) where the From: field was set with an address within the domain and the To: field was set to an outside email address. That script worked. I confirmed that I had the To: field in CF7 set to an email address within the appropriate domain but the form didn't function. Then I set the From: field to an email address within the domain and the form finally functioned. It appeared, therefore, that the host was incorrect about the To: field's address being within the domain being sufficient.

Into the "Form"(inside the mail menu) section you've to give the domain name of your site. And inside the message body use the short codes which will appear into the top of the mail menu.
And when you create a form field such as "name" / "email" / "phone no" etc, then give a name to them. Those name turns into a short codes like
[your-name]-Name, [your-mail]-Email(those are defaults, you can give any name according to your choice) etc, copy the short code and paste into the message body, don't write it only copy and paste.
Hope this will help you.

This suggestion depends on how your hosting provider deals with mail headers:
So, I have made all tests (javascript conflicts, etc.) and decided the problem could only be from my host. I contacted them and they told me that in email header, the "From:" SHOULD be exactly the same as the email I configured to receive the messages from my visitors.
As far as I understood, by default "Contact Form 7" uses visitor email to put it in "From:" but some host providers do not allow that.
My host provider don't even allow mail() function so I had to install WP MAIL SMTP.
So, resuming, I just added this to all my forms in "Additional headers":
From: your#domain.com
This means, you have to insert one email with same domain name as your website, otherwise your hosting might not send the email.
I lost a couple of hours with this...

Maybe is another plugin incompatible with contact form7 plugin.
Deactivate all plugin one by one and try send email.

I fixed the problem. webadmin email account was not setup. Once I setup the email account it is working fine.

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-Contac tform7

i have problem with my wordpress contact form7, i am not getting any mail form my website when the user submit a form.i am using many forms in my contact form 7, i tried all the way,(it not working any mail server ie.smtp and php mailer) even i am not getting any response contact form while submit the form (ie. success or failed etc) just got the alert message (details sent successfully), i am checked my wordpress can sent a mail (ie . forgot password mail). i have to fix this issue quickly so pls some one help me to resolve (i updated all ie.wordpress and contact form) my wesite link is : http://www.maldentrans.com/contact-us
One of the things that prevent the Contact Form 7 from working correctly is the email you use with the form.
The general idea is that if you use one of the e-mail addresses from the public email services like Gmail or Yahoo they will be blocked and the form won't work. That happens due to numerous anti spam restrictions.
So if switch from the Form to the Mail panel in the Form settings make sure to use the email domain that matches your website. In your case this could be something like info#maldentrans.com.
Make sure to use that email in the following fields: To and From.
After you set it up - everything should work fine!

Sending Anonymous Mail From Website or Similar Solution

I am a bit unfamiliar with web coding. So I am designing my webpages with existing wordpress plugins mostly. Now I need a solution for a small project, and I think that it must be very easy to do it for you especially.
Briefly I want my visitors to enter my website and send customized mails to their friends within my website without giving their contact information or their mail address. Mail recipient must see my site mail only.
For instance I am already in my website. I will fill a contact form like below.
TO: Recipient's mail address
MESSAGE: Customized message of visitors. Sample: "Hey buddy, you're such an awesome boy."
The trick here is to send an anonymous mail to friends with a customized message. And mail recipients will see my site's mail address.
As you are not much familiar with web coding, try to use "Contact Form 7" plugin for wordpress ( it is free ) and set up a contac form.
http://contactform7.com/
In the form, use following code
[email visitor-email]
and then in the "To" section of the mail, just use
[visitor-email]
That would do the job easily

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.

Resources