LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Having Problems using "SMTP Email Send Message VI"

 


@Controls_Engineer wrote:

It works with gmail. I have tried using that.


 

It simply can't. Or, you're doing something else. Gmail requires authentication, and the LabVIEW SMTP VIs do not handle authentication. The following:

 

will generate an error. If that is not what you are doing when trying to use Gmail, then please show us exactly what you are doing when trying to use GMail.

 

As for using your internal server, you should check the logs at your SMTP server to see if it actually ever received the email. This is the best way to resolve this. If you do not have access to it, then you can set up Wireshark to look at the packets flying across your ethernet port to see the actual SMTP conversation.

0 Kudos
Message 11 of 17
(2,422 Views)

I think he means he sent it TO his g-mail account, as opposed to from or through a g-mail account.

0 Kudos
Message 12 of 17
(2,413 Views)

I don't think he is using gmail.  At least not from what he has posted in this image:

 

SMTP.JPG

 

So either there is more code to this which is the decision making portion that does not execute the sending of the email for the "FP1 Burner Disabled".

 

If the above code was executed on its own, it should send the email just as the other message would.  Has that been tried?

 

I doubt that changing the message "FP1 Burner Disabled" to something else would improve anything (ie send the email).  You need to check if you do execute that posrtion of the code, such as by putting a popup message or something that confirms that the send email has been attempted.

 

Also, did you capture any error message at the error out terminal?  Does it provide a status?  That would also be an indication that it ran.

 

 

0 Kudos
Message 13 of 17
(2,409 Views)

He is using the email server at his work location, mail.altextech.com, and is sending email to two addresses, his work address and his gmail address .  You don't see the gmail one because it is probably the second element in the array.  Since it works with some text, the VI is working fine.  I'm thinking some funny character is causing the mail server to go bonkers.  That is why I suggested eliminating characters from the message to find which one causes a problem.  I know it doesn't sound logical, but its worth a shot.

 

 

- tbob

Inventor of the WORM Global
0 Kudos
Message 14 of 17
(2,398 Views)

 


@Ravens Fan wrote:

I think he means he sent it TO his g-mail account, as opposed to from or through a g-mail account.


Well, that certainly makes more sense.

 

0 Kudos
Message 15 of 17
(2,388 Views)

I am having the same issue.  If I send:


% Gained: 0.000
Bot Date: 3/15/2013
Sell Date: 2/5/2037
More Info: LongTrade Opened

Buy Price: 38.130
Sell Price: 38.130
Stop Loss: 36.224
Stop Gain: 0.000

 

It works.  Changing the "Opened" to "Closed", it doesn't work.  WTF?  If I change "Opened" to "Cpened" it doesn't work.  I would say it is timing but I tried putting delays and it didn't work.  Something very strange is happening.  The results are consistant.  As long as I have the exact text above, it works.  Even if I remove a few characters off the end, it works.  But if I change just one character, it doesn't work.  If I add text to the very end, it works.????????????  I just want to send emails, I need it to work every time as I am emailing stock buy and sell signals to myself.  Pretty important.

0 Kudos
Message 16 of 17
(2,013 Views)

Mattyk,

Can you please post a portion of you code? I think it would be helpful to see how you are setting up your code so we can identify the error. Also, I suggest creating your own thread on your issue so you get more traffic. This thread has been dead for quite some time and shouldn't attract as much attention. If you do repost, be sure to include a portion of your code as well. Thanks!

Michelle G
Applications Engineering
National Instruments
0 Kudos
Message 17 of 17
(1,988 Views)