Solved

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

Posted on 2006-06-15
2
288 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Write to a printer using vb.net 9 60
VB.Net. Reading xml value 6 39
Get sourcecode path 14 48
Check only one toolstripmenu item 12 30
1.0 - Introduction Converting Visual Basic 6.0 (VB6) to Visual Basic 2008+ (VB.NET). If ever there was a subject full of murkiness and bad decisions, it is this one!   The first problem seems to be that people considering this task of converting…
It’s quite interesting for me as I worked with Excel using vb.net for some time. Here are some topics which I know want to share with others whom this might help. First of all if you are working with Excel then you need to Download the Following …

726 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