12-06-2023 02:26 PM
I want to write a simple program which sends an email when certain parameters are fulfilled but when I am using the NI send email vi it is giving me an error while filling the configure window. I had put all the information and tried sending a test mail. I have attached a screen shot of the error.
Solved! Go to Solution.
12-06-2023 04:15 PM
Usually problems like this rely on the IT Network setup especially the name of the Outgoing Mail Server and the port. I would check with the IT department for the settings.
12-07-2023 02:26 AM
Hi
You need an SMTP server, not just Outlook. So as said talk to your IT department.
You could consider to use Outlook command line interface to open an email with the content you want, then the user can press send.
<OUTLOOK_EXE_PATH> /c ipm.note /m "<ADRESS>?subject=<SUBJECT>&body=<BODY>" /a "<ATTACHMENT>"
NB you can only attach one file.
To get <OUTLOOK_EXE_PATH>
Alternative you can use gmail:
https://www.vipm.io/package/illuminatedg_lib_ig_gmail_api/
12-07-2023 09:23 AM
Also TCP port 25 is frequently blocked by Internet Service Providers (ISPs), as an anti-spam technique since it's used in MX spamming and abuse of open proxy/relay machines.
12-08-2023 01:12 AM
Thank you