Solved

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

Posted on 2006-06-15
2
289 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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Microsoft Reports are based on a report definition, which is an XML file that describes data and layout for the report, with a different extension. You can create a client-side report definition language (*.rdlc) file with Visual Studio, and build g…
Creating an analog clock UserControl seems fairly straight forward.  It is, after all, essentially just a circle with several lines in it!  Two common approaches for rendering an analog clock typically involve either manually calculating points with…
There's a multitude of different network monitoring solutions out there, and you're probably wondering what makes NetCrunch so special. It's completely agentless, but does let you create an agent, if you desire. It offers powerful scalability …
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…

717 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