LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

attachment jpg

Hi,  I used the SMPT Send File.vi to send an E-mail with an attachment which is a picture,  picture format is .JPG. But in the foxmail I can't open it. I want know the reason and how can I get the picture from E-mail.
Thanks in  advance.
0 Kudos
Message 1 of 5
(3,026 Views)
Hi.I use the internet toolkit  make a smtp.vi .It  works well with an attachment of *.txt. But with somthing wrong  when I send an attachment of *.jpg.  the *.txt file can be read correctly by outlook.But the *.jpg file can't be read correctly. in another word I can't open the picture.
If anyone  who can help me.  Thanks in advance.
0 Kudos
Message 2 of 5
(3,017 Views)
Hi salin
 
I think the problem is that you have to specify, when sending a binary file. I attach a modified VI that I have tested to send binary files (jpg). I hope this solves your problem.
 
Regards,
Posse, NIDK
Peter Porsman | Applications Engineer | National Instruments
0 Kudos
Message 3 of 5
(3,007 Views)
Thanks for your help,But I use the version 7.1. So I can't open your SMTP.vi . Can you change it to the version 7.1. thanks again.
0 Kudos
Message 4 of 5
(2,988 Views)
Hi salin
 
Sorry about that. Here it is in version 7.1. It is not a lot of changes, though. I just added a true constant to the "binary?" input of SMTP Send File.vi.
 
Regards,
Posse
NI DK
Peter Porsman | Applications Engineer | National Instruments
0 Kudos
Message 5 of 5
(2,978 Views)