Wordpress WP-Mail Function - wordpress

I have created a email ID, installed WP-SMTP Plugin, configured it correctly, I even test the Function WP-Mail Function, and found out that it is not working.
I replaced it with a new copy hoping that it would work.
From my testing I have found out the following things:
1) When I use "Send all WordPress emails via SMTP. " I am unable to send test mail.
2) When I use " the PHP mail() function to send emails. " I am able to send test mail but don't receive any thing at the test email ID.
Any one have any solution?

If you are using the Wordpress internal email, I suggest not to do that, for many reasons.
The email, will overload your server.
The email will (probably) not hit the default folder of the receiver email.
If you send many emails (~1000) per day, you can be banned from sending emails.
I suggest you to use special platform for email delivery, that solve the 3 problems above.

Related

Woocommerce WordPress Emails + WP Mail SMTP + mailgun + #yahoo.com & #outlook.com = SPAM

I'm using mailgun and the WP Mail SMTP plugin to send out transactional email from woocommerce shop.
On mailgun I'm on a shared server.
I've sent out some test emails and unfortunately it seems that customers with email addresses #yahoo.com and outlook.com will find my emails only in their SPAM / JUNK folder.
#gmail and #gmx seems to work (INBOX)
Do you face this issue as well or did I set up something wrong?
Is it because I'm on a shared mailgun IP?
I've read somewhere that you can try to "delete" your mailgun IP under "Manage IP" and get a new one. Is this correct? Will this possibly solve the problem?
Help is very much appreciated.
If you've not done so already, make sure to do the Mailgun domain verification. You can also check two tools to see if there's anything you need to fix on your end before trying for a new IP:
MX Toolbox
Mail Tester (just using WP Mail SMTP's test email function to the address they generate for you)
But if those show up clean (or if they imply your mail server has a bad reputation), I'd try the new IP.

Firebase Authentication: Emails sent but not received on special email addresses such as *#gmx.at

I am using Firebase Authentication in my Ionic App. Some users have reported to not receive the verification email which is sent after a user signs up, or when the resendVerificationEmail is triggered.
This works fine for email providers like #gmail.com or #live.de, but for those other users with special providers like #gmx.at it's not working. The emails are sent successfully according to firebase but they are never received.
Possibly the emails get filtered?
Has anyone else ran into this problem? The message template can not be modified but would using a custom SMTP server possibly help?
The problem is solved by using my own private SMTP server for sending the Authentication emails.
I am using a hosting service for my domain that comes with email service so I am using that one. Using other services such as Mailgun or Mailjet etc. might also solve the problem.
You can set up your custom SMTP server right in the firebase console under Authentication/Templates.
I had the same problem with others emails providers (orange.fr sfr.fr free.fr ...). After deeper analysis, it appeared that it is the domain address inside the (generated) link that is detected as SPAM by emails providers (maybe everything that sounds like *.firebaseapp.com)
https://your-subdomain.firebaseapp.com/__/auth/action...
I changed it to a custom one of mine (through Authentication->templates->"Customize action URL" (bottom right)):
https://www.my-custom-domain.com/__/auth/action
and no more problem!
Some doc (note on blue background):
https://firebase.google.com/docs/auth/custom-email-handler?hl=en&authuser=0#link_to_your_custom_handler_in_your_email_templates

Could not instantiate mail function in WooCommerce

I'm trying to send an email notification to user after checkout is done and order placed. I've gone through the WooCommerce email settings and set them all accordingly. But for a reason that I don't know of email couldn't be sent. I understand this is not a code related question.
...And this is the warning I get in the log plugin to check whether emails have been sent: " Could not instantiate mail function ".
This happens due to your site haven't been configured with email service provider like Google/SendGrid or SMTP. In my case, I used SMTP with the help of WP Mail SMTP plugin, and it works for me. Example configuration can be found below:
Hope it helps

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.

Verifying Email in Meteor Application

I am trying to send a verification email to users upon registration. I'm using Accounts.createUser to add users to the database and that works fine without any email verification system. HThen, when I try implementing email verification by using Accounts.sendVerificationEmail, it does not send any email. I have set MAIL_URL and I'm using Mailgun. When I try sending an email within terminal, it sends as expected. I have tried using the process provided here: https://themeteorchef.com/snippets/sign-up-with-email-verification/ where the method is server-side and then I use Meteor.call to call that method but that isn't sending the verification email. I have also tried implementing Accounts.onCreateUser() and calling Accounts.sendVerificationEmail(user._id) from within but that is also not sending the email.
In my server code I have the following in the startup function: Accounts.config({sendVerificationEmail: true, forbidClientAccountCreation: false}); I've also noticed that when I add in any kind of email verification code server-side, createUser fails and tells me the username is not defined but works 100% as expected without any email verification.
Here are some links to various sources I have been trying to use in order to get this working:
verify email using accounts.ui package
https://themeteorchef.com/snippets/sign-up-with-email-verification/
Meteor 1.3 verify email when creating user
I've also been using the Meteor docs but I can't seem to get it working. I also have installed related packages (email, accounts, accounts-ui). Any help is appreciated!
Thank you to #PankajJatav for asking me to read through the server console more carefully! The problem for me was that I am using mailgun as my smtp service. I was using the default sandbox domain when trying to implement my email verification system but the sandbox domain is only for testing purposes. In order to actually get emails sent, I had to go to mailgun and add in the recipients as an authorized recipient. If you set up mailgun with your own domain right from the start, this shouldn't be an issue.
Once again, thank you to #PankajJatav

Resources