Jump to content

send email and sms...help


Recommended Posts

QUOTE(eerc @ Mar 2 2006, 08:12 PM)

Hello,

Yes, I using the standard SMTP VIs that come with LabVIEW.

I have the following error:

"

code : 56

source :

TCP Open Connection in NI_SMTPEmail.lvlib:SMTP Email Open Session.vi:3->NI_SMTPEmail.lvlib:SMTP Email Send Message Charset.vi:2->NI_SMTPEmail.lvlib:SMTP Email Send Message.vi:1->testesend email.vi

"

what happens?

Thank you

If you execute the email vi's too frequently you get an error. I looked for mail every 5 minutes (OK) but the same program failed at every 1 minute.

My solution is to move the problem to a php script on a webserver and use cURL.exe

Even there, forwarding all your email to a php script directly works like a charm and simplifies the logic because it will fire for each email. You'll find the text on sysin!

| php -q /home/mydomain/public_html/myfolder/emailprog.php > /dev/null

John

Link to comment
  • 10 months later...

i've try dotnet_smtp_send_message_71 but there aren't works well, labviw find error "Error accessing property System.Net.Mail.MailMessage.Subject of NULL ObjectId >> Non-static method requires a target. in dotNET_SMTP_Send_Message_71.vi"

can anybody help me to understand that.

tanx before

Link to comment

QUOTE (eerc @ Mar 3 2006, 11:12 AM)

Hello,

Yes, I using the standard SMTP VIs that come with LabVIEW.

I have the following error:

"

code : 56

source :

TCP Open Connection in NI_SMTPEmail.lvlib:SMTP Email Open Session.vi:3->NI_SMTPEmail.lvlib:SMTP Email Send Message Charset.vi:2->NI_SMTPEmail.lvlib:SMTP Email Send Message.vi:1->testesend email.vi

"

what happens?

Thank you

It is quite straight forward using the SMTP Email Send Message VI under Communication. Make sure you enter the correct infomation in the 'mail server' terminal (check your email exchage server if you have outlook>>view>>option).

Good luck,

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.