• Resolved fiperkins

    (@fiperkins)


    Hi newbie here needing a walk through.

    Attempting to connect wp-forms to microsoft 365.
    ran connection test….Summary:
    ? ?? Port 587 can be used for SMTP to smtp.office365.com.
    ? ?? Port 443 can be used with the SendGrid API.
    ? ?? Port 443 can be used with the Mailgun API.
    ? ?? Port 443 can be used with the Mandrill API.
    ? Port 465 is open, but not to smtp.office365.com.
    ? No outbound route between this site and the Internet on Port 25.

    ran diagnostic….
    Mailer: phpmailer
    HostName: behaviourlytics.com
    cURL Version: 7.74.0
    OpenSSL Version: OpenSSL/1.1.1i
    OS: Linux gator3178.hostgator.com 4.14.146-225.ELK.el6.x86_64 #1 SMP Sat Sep 21 01:19:55 CDT 2019 x86_64
    PHP: Linux 7.4.13 C
    PHP Dependencies: iconv=Yes, spl_autoload=Yes, openssl=Yes, sockets=Yes, allow_url_fopen=Yes, mcrypt=No, zlib_encode=Yes
    WordPress: 5.6 en_US UTF-8
    WordPress Theme: Astra
    WordPress Plugins: Starter Templates, Complianz | GDPR/CCPA Cookie Consent, Elementor, Post SMTP, Really Simple SSL, Simply Schedule Appointments, Webriti Companion, WP Mail SMTP, WPForms Lite
    WordPress wp_mail Owner: /home2/behavics/public_html/wp-includes/pluggable.php
    WordPress wp_mail Filter(s): wp_staticize_emoji_for_email, PostsmtpMailer->get_mail_args
    WordPress wp_mail_from Filter(s): WPMailSMTP\Processor->filter_mail_from_email
    WordPress wp_mail_from_name Filter(s): WPMailSMTP\Processor->filter_mail_from_name
    WordPress phpmailer_init Action(s): WPMailSMTP\Processor->phpmailer_init, PostsmtpMailer->phpmailer_smtp_init
    Postman: 2.0.16
    Postman Sender Domain (Envelope|Message): behaviourlytics.com | behaviourlytics.com
    Postman Prevent Message Sender Override (Email|Name): No | No
    Postman Active Transport: SMTP (smtps:login://smtp.office365.com:587)
    Postman Active Transport Status (Ready|Connected): Yes | Yes
    Postman Deliveries (Success|Fail): 0 | 17

    Thank you for any help….
    ….fiona

Viewing 15 replies - 1 through 15 (of 22 total)
  • Hi Fiona,

    What error are you getting from the plugin?

    Kind Regards,
    Tim

    Thread Starter fiperkins

    (@fiperkins)

    as outlined in post above….
    emails are not being received via Microsoft.
    all information above came from the plug in

    Hi Fiona,

    Please remember we are volunteers helping you in our own time. It’s not clear from the above information what error is showing.

    Please could you attempt to send a test email from the plugin settings, and report back with the error message it gives. That usually provides a good starting point to look for a fix.

    Kind Regards,
    Tim

    Thread Starter fiperkins

    (@fiperkins)

    Sorry Tim, I mean no disrespect. I am also working on this in spare moments of my day & a newbie to website development….
    sent test email and I get success
    Your message was delivered (0 ms) to the SMTP server! Congratulations ??

    but I am not getting the emails via my Microsoft account..
    the connection and diagnostics were run as above.

    I also notice I have no mail in the log for this plugin

    • This reply was modified 3 years, 10 months ago by fiperkins. Reason: extra info

    Hi Fiona,

    No problem – sorry, it is easy to catch the wrong tone over forum! No harm done. ??

    Back to your problem, that’s weird that it’s giving you a success message but not sending the message. Can we run through a few basic checks just to be sure?

    • Security is set to STARTTLS?
    • Authentication is set to Login?
    • Username is the full email address of the Office 365 account?
    • Under the ‘Message’ tab, the ‘From’ address matches exactly your Office 365 email address?
    • Please give me a shout if you’ve checked all those things and you’re still getting the same result.

      Thank you!

      Kind Regards,
      Tim

    Thread Starter fiperkins

    (@fiperkins)

    Thanks Tim.
    Made the checks and changes
    I now get error on test email
    5.7.3 Authentication unsuccessful [SA9PR13CA0057.namprd13.prod.outlook.com]

    Hi Fiona,

    Just to confirm, you are using an account ending @behaviourlytics.com?

    Please also double check both the full email (username) and password are definitely correct. This error is often thrown when the credentials aren’t quite right. Typos are easy to make! ??

    Kind Regards,
    Tim

    Thread Starter fiperkins

    (@fiperkins)

    Hi Tim.

    I have figure out how to work the fallback using Sendgrid.com it is kinda working but on the connectivity test I get the message….
    ? No outbound route between this site and the Internet on Port 25.

    I am not seeing my test mail in the @behaviourlytics.com outlook mailbox.
    the mail sent goes to spam.
    your help and advice is very much appreciated.
    I am attempting to set up WP forms and it is not happening for me.

    Okay, I have some ideas! I’ll drop a reply on here tomorrow as it’s now 1.19am here. ??

    Hi Fiona,

    Sorry for the delay in replying. Your issue with the Sendgrid.com is probably the port, it should be 587. See the settings here.

    With regards to not seeing the mail, your SPF looks okay on your domain. Are emails going to the junk/spam folder on all providers (e.g. Gmail)?

    Kind Regards,
    Tim

    Thread Starter fiperkins

    (@fiperkins)

    Hi Tim. No problem. it is going to take me some time to figure this out. you may want to send me else where…. thinking I need my hosts help.

    So I checked all spellings and passwords.
    I then figured that Hostgator is linking me to Horde when I look at my webmail via them. So I gathered the configuration for that and have successfully sent email via my own behaviourlytics.com.
    connection test
    Transport Socket Status* Service Available Server ID Authentication
    None Login Plain CRAM-MD5 OAuth 2.0
    SMTP mail.behaviourlytics.com:25 Closed ?? SMTP-STARTTLS hostgator.com No Yes Yes No No
    SMTP mail.behaviourlytics.com:465 Open ?? SMTPS hostgator.com No Yes Yes No No
    SMTP mail.behaviourlytics.com:587 Open ?? SMTP-STARTTLS hostgator.com No Yes Yes No No
    Mandrill API mandrillapp.com:443 Open ?? HTTPS mandrillapp.com n/a
    SendGrid API api.sendgrid.com:443 Open ?? HTTPS sendgrid.com n/a
    Mailgun API api.mailgun.net:443 Open ?? HTTPS mailgun.net n/a
    * According to portquiz.net

    Summary:
    ? ?? Port 443 can be used with the Mailgun API.
    ? ?? Port 443 can be used with the Mandrill API.
    ? ?? Port 443 can be used with the SendGrid API.
    ? ?? Port 587 can be used for SMTP to mail.behaviourlytics.com. Warning: connected to hostgator.com instead of behaviourlytics.com.
    ? ?? Port 25 can be used for SMTP to mail.behaviourlytics.com. Warning: connected to hostgator.com instead of behaviourlytics.com.
    ? ?? Port 465 can be used for SMTP to mail.behaviourlytics.com. Warning: connected to hostgator.com instead of behaviourlytics.com.

    The the test mail stated success and sent both on hotmail and gmail go to spam, no worries I can warn users of this.
    However I am not getting any mail in the domains account, so I will not be aware when customers contact me.

    Any help, even pointing me else where would be great.
    I am using WP-Forms and have the wp-mail plug in (basic not pro)
    I have Horde and Microsoft 365

    kinda getting confused with plugins and connections here.
    Fi

    Hi Fi,

    Not a problem, I think you have a few services going on here which is where your confusion lies. The SMTP server mail.behaviourlytics.com is actually based at Hostgator, but is not covered by your SPF/DKIM records. That is why it’s going to your spam/junk folders. I would strongly recommend fixing this, or using Office 365 instead, rather than just warning your users.

    If you are using Sendgrid.com as your fallback SMTP service, then you should be on the road to having that configured from the last post – using the link provided to Sendgrid’s documentation for SMTP.

    For your primary SMTP service, are you now looking to use your Hostgator account (mail.behaviourlytics.com) that you mentioned connecting to via Horde webmail instead of Office 365? If so, a quick DNS update to your SPF record should fix your spam/junk folder problem.

    Help is freely available on these forums, so please feel free to keep us posted. We’re all happy to help. ??

    Hope this helps, and please let us know how you get on with that information.

    Kind Regards,
    Tim

    Hi Tim

    i do facing same problem!
    After submitting form in website, getting success message(sent) in log but not receiving mail to my gmail indox(also in spam).
    i checked my settings as you said

    Security is set to STARTTLS? yes
    Authentication is set to Login? yes
    Username is the full email address of the Office 365 account? yes
    Under the ‘Message’ tab, the ‘From’ address matches exactly your Office 365 email address? yes

    Please let me know what is the issue

    Thank you
    sri

    Hi @srihariwp,

    Could you start a separate thread for your issue please as it is slightly different. Don’t forget to include your domain.

    Once I see your thread, I’ll drop a reply on it. ??

    Thanks!

    Kind Regards,
    Tim

    Thread Starter fiperkins

    (@fiperkins)

    HI Tim.
    So I have done some work to add DKIM and other records to the DNS to prevent emails going to spam.

    I had mail working momentarily with my domain then I attempted to set up office 365 again, checking all input as you outline above and I am seeing similar err to when I started this thread. I set my domain behaviourlytics.com as the fallback.
    I have also removed the sendgrid…. don’t know if that is a mistake.

    I get success, but email was sent to spam and same connection issue on ports 25 & 465.

    no rush. out for the day. let me know if you need more info
    and thanks in advance
    fiona

Viewing 15 replies - 1 through 15 (of 22 total)
  • The topic ‘Port 465 is open, but not to smtp.office365.com.’ is closed to new replies.