LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Direct send email notifications via office 365

Hiya,

 

I'm playing with trying to send an email using LabVIEW via office 365. So far I've not got very far! When I try sending via my own account using the regular office 365 smtp server and port, enable TLS and enter my account username and password, I get an error claiming my email and password dont match (they very much do). I suspect it may have something to do with the account using multifactor authentication, but I'm not 100% sure.

 

Anyways, I did some reading on the MS website and found this:

https://learn.microsoft.com/en-us/exchange/mail-flow-best-practices/how-to-set-up-a-multifunction-de...

 

Option 2 sounds interesting as it allows internal only email and doesnt seem to require the same degree of authentication... however, when I followed the instructions and tried to send an internal test email, I got no error messages from the labview example, but I also didnt receive the email... I'm still using the SMTP email example that ships with LabVIEW 2021 for this, so I dont know if that's where I'm going wrong.

 

Has anyone else played with this? My initial use case is to send an email notification to me when a particular process has completed somewhere, so internal email only is fine.

 

Thanks!

 

Paul

0 Kudos
Message 1 of 2
(140 Views)

Trying the same thing, striking out as well....

0 Kudos
Message 2 of 2
(23 Views)