 Joachim082
		
			Joachim082
		
		
		
		
		
		
		
		
	
			12-09-2011 12:32 AM
Hi,
I've attached an example of smtp with authentication and attachments.
HTH
Best Regards,
--
Joachim
 GT123
		
			GT123
		
		
		
		
		
		
		
		
	
			12-09-2011 06:46 AM
Hi Joachim,
I haven't LV2011. I have 2010. Can you convert the vi? Thanks
 smercurio_fc
		
			smercurio_fc
		
		
		
		
		
		
		
		
	
			12-09-2011 09:41 AM
@Joachim082 wrote:
Hi,
I've attached an example of smtp with authentication and attachments.
HTH
Best Regards,
--
Joachim
How is this example different than the one posted at the link provided? Other than the fact you put in a case structure around it and straightened up some wires.
 smercurio_fc
		
			smercurio_fc
		
		
		
		
		
		
		
		
	
			12-09-2011 09:42 AM
@GT123 wrote:
Hi Joachim,
I haven't LV2011. I have 2010. Can you convert the vi? Thanks
Don't bother, it's the same as the previous example.
As for your 1172 issue: you need to check to see if your emails are being blocked by your firewall. This is a common problem. If you are doing this in a corporate network, check with your IT department.
 GT123
		
			GT123
		
		
		
		
		
		
		
		
	
			12-12-2011 11:41 PM
Hello,
I`m still have the error 1172 with this email vi "gmailLV86.vi", but I can say
- i have the correct mailserver address and port and account with password, and no ssl
- we have an backupserver who send emails at this exchange server with the tested values(adress...)
- the email account works, because: i can send an email with a LV and activeX (Outlook), but then I have to click yes because of a outlook
warning (in enlgish like this): "An application wants to send an autommated emails in behave of..."
- if I send an email with the smtp email send message.vi -> error:
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->email_smtp.vi
What is the reason? I think it has to be possible to do this with labview. Thanks.
 JTAG
		
			JTAG
		
		
		
		
		
		
		
		
	
			12-13-2011 01:47 AM
Hi,
try this : http://forums.ni.com/t5/LabVIEW/ogic-smtp-library-example/td-p/454028/highlight/true
use the OGIC_SMTP_LIB to send mail.
regards,
eyal.
03-22-2012 02:50 PM
Just to add to this thread, I have also made a modified version of the original SMTP VIs that has simple authenticatation (No TLS/SSL though). However, it does have the advantage that it works without .NET (on any OS or on LabVIEW RT).
Eric
 GT123
		
			GT123
		
		
		
		
		
		
		
		
	
			03-23-2012 12:31 AM
Hello BlueCheese, can I have this in LV2010. Thank you very much