06-12-2009 02:09 PM
06-12-2009 02:45 PM
That was quite informative.
Can yo suggest a way to implemet authentication in existing SMTP VIs?
I guess probing outlook with a Ethernet sniffer and duplicating the same arbitration in LabVIEW is the only solution
for me.Please correct me if I'm wrong.
Thanks,
Manu
06-12-2009 05:17 PM
manumohannair wrote:
Can yo suggest a way to implemet authentication in existing SMTP VIs?
You can't. They don't support it, as has already been mentioned. If you want to use authentication, and you're trying to run this on the PDA, then perhaps the old OpenG SMTP VIs will work for you. I posted an updated version of them to fix a couple of bugs here.
I guess probing outlook with a Ethernet sniffer and duplicating the same arbitration in LabVIEW is the only solution
I have no idea why you would need to resort to doing this.
06-13-2009 01:46 AM
Hi mercurio,
I tried with the openg library(which you modified).I got following response from server and the mail delivery was refused.Is it a problem with my e-mail client ?
Listing the arbitration below:
SERVER: 220 smtpauth21.prod.mesa1.secureserver.net ESMTP
CLIENT: HELO localhost
SERVER: 250 smtpauth21.prod.mesa1.secureserver.net
CLIENT: auth login
SERVER: 334 VXNlcm5hbWU6
SERVER: 334 UGFzc3dvcmQ6
SERVER: 235 Authentication succeeded.
CLIENT: MAIL FROM:<info@goflexteq.com>
SERVER: 250 Sender accepted.
CLIENT: RCPT TO:<info@goflexteq.com>
SERVER: 250 Recipient accepted.
CLIENT: RCPT TO:<manumohannair@gmail.com>
SERVER: 250 Recipient accepted.
CLIENT: DATA
SERVER: 354 End your message with a period.
CLIENT: QUIT
SERVER: 554 Message refused.
06-13-2009 09:16 AM
That error message has nothing to do with the client. That trasnscript shows you didn't send anything. In other words, the message was empty, and was refused by the server.
One thing to check: the MAIL FROM is from a different domain than the SMTP server. Many servers nowadays will refuse mail messages in which the sender is not in the same domain as the SMTP server. This is to prevent relaying from SPAM. Have you verified that you can send email to this server using a regular client?
06-14-2009 01:54 AM
Yes...I have configured the same in my outlook and I was able to send and recieve mail without problem.
Thanks for your suggestion.
06-14-2009 01:57 AM
I would appreciate if you can suggest any e-mail server(preferable a free e-mail server) which you have verified
with the same.
06-14-2009 11:27 AM
06-14-2009 02:37 PM
Hello,
I'm working with Labview 7.0, .Net Framework 2.0 SP2 and Windows 2000 Professiona SP4.
I tried to do the equivalent .vi on my software but I had a class conflict betwenn NetworkCredential and SMTPClient.Credentials
May be some one has already fixed my problem
Thanks
06-16-2009 10:14 PM