Viewing 14 replies - 1 through 14 (of 14 total)
  • Plugin Author Franky

    (@liedekef)

    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?

    Thread Starter Argentum

    (@argentum)

    Just what I am doing.

    I have turned on the debug option. Where can the debug log be seen?

    Thread Starter Argentum

    (@argentum)

    I am trying to connect to a office 365 account. I don’t know if they are especially touchy or something? :p

    Thread Starter Argentum

    (@argentum)

    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?

    Plugin Author Franky

    (@liedekef)

    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).

    Thread Starter Argentum

    (@argentum)

    Hm, ok. Now it is sending mail but only sometimes. I will have to look into this more. Thanks.

    Thread Starter Argentum

    (@argentum)

    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 Mail

    Plugin Author Franky

    (@liedekef)

    Obviously “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.

    Thread Starter Argentum

    (@argentum)

    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

    Plugin Author Franky

    (@liedekef)

    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.

    Thread Starter Argentum

    (@argentum)

    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).

    Plugin Author Franky

    (@liedekef)

    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?

    Thread Starter Argentum

    (@argentum)

    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.

    Plugin Author Franky

    (@liedekef)

    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.

Viewing 14 replies - 1 through 14 (of 14 total)

The topic ‘Use Postman SMTP’ is closed to new replies.