LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to send short messages to specified email id

Hi,
I want to send alert messages to specified email id. For eg. i want send short message to my mail id shivakumar.singh@gmail.com. How to do this using labview. If you have any VIs, pls pass it to me. Thanks for replying to my earlier mails, shutdown.vi is working properly here.


Regards
Shivakumar Singh
Message 1 of 7
(4,379 Views)
Hi,
All you have to do is make use of the SMTP VI's which are present in the functions pallet.Using this you will be able to send messages to your ID.
cheers
vicky
0 Kudos
Message 2 of 7
(4,377 Views)
Hi,


Thanks for replying. I tried to do that thing, but i am unable to specify the correct MAIL SERVER NAME, what should i specify, i get a error code -16530 and msg -"SMTP:530 5.7.0 Must issue a STARTTLS command first", HELP me

regards

Shivakumar singh
Message 3 of 7
(4,375 Views)
Hi,
You need to give your outgoing mail server name.Check with your system admin for the same and add it.it should do the trick for you.
vicky
0 Kudos
Message 4 of 7
(4,371 Views)
Hi,

Thanks for your reply. This method is working for my office mail id after putting the office smtp server name.
But when i tried to send a mail to my yahoo mail id with mail server name as "mail.in.yahoo.com". It's giving following error. Please help me in this regards.


Error 1 occurred at TCP Write in SMTP Email Send Message (Small).vi->Untitled 1

Possible reason(s):

LabVIEW: An input parameter is invalid.
---
NI-488: Command requires GPIB Controller to be Controller in Charge.


Regards
Shivakumar Singh
Message 5 of 7
(4,368 Views)
hi,
This is for only SMTP mail servers,and yahoo and other commercial websites do not support this,so i doubt you can make use of these to send out your mails.

cheers
vicky
0 Kudos
Message 6 of 7
(4,364 Views)
Shivakumar,

Some thoughts:

I wanted to make sure you knew that you didn't have to change the SMTP Server name just to send e-mail to a Yahoo e-mail address. You can stick with your corporate SMTP server and send e-mail to any valid address, assuming your company firewall isn't configured to block e-mail to addresses outside the company.

If you changed the SMTP server name because you are now trying to send the e-mail from somewhere that doesn't have access to your corporate SMTP server, then there are several issues. First, any public SMTP server that doesn't require user authentication will instead do something else (like look at your IP address) to determine whether or not it will allow you to send the e-mail. Otherwise, spammers would saturate the server with SMTP requests for as long as it remained available.

Assuming you're trying to use a server that will allow you to use it, are you sure you got the right server name? You should double-check that.

Finally, it may be that your SMTP server requires user authentication. Yahoo's public ones certainly do; see the Yahoo Help Page on this (http://help.yahoo.com/help/us/mail/pop/pop-11.html). If this is the case, you may be able to use some alternative VIs created by Rolf Kalbermatter to get the job done, though you should be aware that it could be dangerous to do so. See this thread.

Regards,
John
Message 7 of 7
(4,351 Views)