Use Postman SMTP
-
Hi.
I can’t for the life of me get the mail function to work. I installed Postman SMTP and that plugin can send test mails. Can I get Events Made Easy to call to that plugin and send the mails?
-
EME can use the wp_mail function, php mail, qmail and own smtp settings. That should be sufficient 🙂
Can’t you just enter the same info in the smtp settings for EME as you use for your postman?Just what I am doing.
I have turned on the debug option. Where can the debug log be seen?
I am trying to connect to a office 365 account. I don’t know if they are especially touchy or something? :p
I am not sire I understand. Does the notification for the booking go to the WordPress administrative e-mail adress, or to the author’s e-mail adress or both?
Based on this doc: https://social.msdn.microsoft.com/Forums/exchange/en-US/f11bdc85-d41b-4532-8d80-f8f077d45352/how-to-setup-microsoft-online-office-365-with-phpmailer-via-smtp-for-sent-email-on-a-linux?forum=exchangesvrdevelopment
you could try this:for server: tls://smtp.office365.com
for port: 587
(and then of course your username/pwd)Notifications go to the author if set (which is usally the person that created the event).
Hm, ok. Now it is sending mail but only sometimes. I will have to look into this more. Thanks.
I can’t get it to work. Very frustrating. If it only were windows365 that suspected me sending spam, but the Postman SMTP can send test mails every time. What a showstopper. We will have to try to use this without e-mail notifications then.
Postman SMTP says it is compatible with a load of Plugins and “… and every other plugin that uses the WordPress API wp_mail to send mail!”.
Can Event Made Easy use WordPress API wp_mail? Which send method would that be if so?
PHP mail function
Send Mail
Qmail (obviously not)
WP MailObviously “WP Mail”.
But even so: you said it works “sometimes”. This means the config is ok, and the mailserver is refusing certain mails for a reason. You should check your mailserver logfiles for hints.I can’t understand why mails from the SMTP function of Event Made Easy doesn’t get through with the identical server, port, user and login settings as the one I am testing of Postman. Postman can send every time.
I turned on debug in config. When I try to make a booking on an Event, I get this error:
Notice: wp_enqueue_script was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. Please see Debugging in WordPress for more information. (This message was added in version 3.3.) in public_html/site/wp-includes/functions.php on line 3897
It’s not an error, but a notice (you should disable php warnings/notices in prod btw).
But the problem should be avoided anyway. Weird that I don’t get this output, I’ll check again this evening.Yes, I did disable it at once. I am a bit at a loss here. Thank you for your patience. I will try to set up a new office 365 account as soon as I get the possibility (not under my command).
This php notice, does it happen when the booking form shows or upon making a booking? Also, did you try if you have the same issue with the default wp theme?
Hi. Upon making a booking.
No, unfortunately I can’t change the theme. It’s a live site. I made an quick exception the other day with debug only.
Question: when a booking is made, two mails get sent. One to the Author, and one to the bookers e-mail. Is that done in one SMTP call or two? If let’s say the bookers email server makes a fuzz, does the Authors email get sent anyway or does both mails get stopped? Just speculating without knowing what happens.
I have debug turned on in Events Made Easy settings, and I have seen a glimpse of debug information flash once or twice when making a booking, but it never stays long enough for me to read.
I can’t duplicate the enqueue notice in any way here, so currently can’t assist with that.
Concerning the mails: 2 get sent (because the content is different)For debug: go into the “send mail” submenu and send mails via that page.
The topic ‘Use Postman SMTP’ is closed to new replies.