LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

E-Mail lost on Exchange Server using TLS

Solved!
Go to solution

Glad that you got it working. With that said, my bet is LabVIEW is not the issue. It either has something that isn't supported or you have not compared the pieces of information to make sure they are the same.

0 Kudos
Message 21 of 26
(3,005 Views)
Solution
Accepted by Lab_CD

Hey Guys thanks for all the support!

 

I have learned a lot and it seems that I underestimated the problem!

In the end I followed the suggestion of using a system call and it works!

 

Lab_CD_1-1636385913745.png

 

 

PS: Sorry for the confusion with "Office365". I meant an alternative external email provider like Gmail (only an example), but in this case I called it "Office365". I wanted to know if our internal exchange server behaves differently than the external one. Neither return any error messages as far as I can see. As I have learned, this can have several (reasonable) reasons...

Message 22 of 26
(3,003 Views)

@Lab_CD wrote:

Hey Guys thanks for all the support!

 

I have learned a lot and it seems that I underestimated the problem!

In the end I followed the suggestion of using a system call and it works!

 

Lab_CD_1-1636385913745.png

 

 

PS: Sorry for the confusion with "Office365". I meant an alternative external email provider like Gmail (only an example), but in this case I called it "Office365". I wanted to know if our internal exchange server behaves differently than the external one. Neither return any error messages as far as I can see. As I have learned, this can have several (reasonable) reasons...


It's great that you figured it out!  Don't forget to mark the post that helped you out as a solution (and maybe your post as well - you can have more than one solution) so people in the future can take advantage of your knowledge.  🙂

 

This feels like one of those solutions that would be super-helpful.

Bill
CLD
(Mid-Level minion.)
My support system ensures that I don't look totally incompetent.
Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.
Humble author of the CLAD Nugget.
0 Kudos
Message 23 of 26
(2,998 Views)

I use this snippet to send emails. It works with our office365 account.

The crucial part is that 'from' and 'username' (sender in your original message) are identical. This is also seems to be a difference in your LabVIEW code and your script.

I was pulling my hair over the same problem..

Maybe it works for you, too?

 

SendMail.png

Message 24 of 26
(2,944 Views)

Nice find. And probably a (mild) antispam setting in the Exchange server.

Rolf Kalbermatter  My Blog
DEMO, Electronic and Mechanical Support department, room 36.LB00.390
0 Kudos
Message 25 of 26
(2,919 Views)

Hi cordm,

 

thanks for the snippet.

Unfortunately this is not working in my environment (internal and external office365 account).

 

best regards.

0 Kudos
Message 26 of 26
(2,906 Views)