Solved

How to Zip files together and email using MS-outlook?

Posted on 2006-06-15
2
286 Views
Last Modified: 2008-01-09
Hi,

I have a program here, in which I want to zip the CSX file and the tiff images together contained in the data directory and email them to an email address (which will be taken from the database) using MS-outlook.

How can I do this?

Please help.

Thanks.
0
Comment
Question by:Reeds
2 Comments
 
LVL 4

Accepted Solution

by:
jtaylor8181 earned 500 total points
ID: 16913295
I know of a third party DLL that will allow you to zip up files.  Its called ICSharpCode.Zlib.  With that, it will give what you need inorder to zip up any file.

You can you use to send the file through the email.

Dim msg As New System.Net.Mail.MailMessage("from email address", "to email address", "file name", "a message you want to include in the email")
Dim mailClient As New System.Net.Mail.SmtpClient("host name")
mailClient.Send(msg)
msg.Dispose()

jtaylor8181
0
 

Author Comment

by:Reeds
ID: 16913817
Thanks
0

Featured Post

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you're writing a .NET application to connect to an Access .mdb database and use pre-existing queries that require parameters, you've come to the right place! Let's say the pre-existing query(qryCust) in Access takes a Date as a parameter and l…
A while ago, I was working on a Windows Forms application and I needed a special label control with reflection (glass) effect to show some titles in a stylish way. I've always enjoyed working with graphics, but it's never too clever to re-invent …
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

776 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question