Solved

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

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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Article by: jpaulino
XML Literals are a great way to handle XML files and the community doesn’t use it as much as it should.  An XML Literal is like a String (http://msdn.microsoft.com/en-us/library/system.string.aspx) Literal, only instead of starting and ending with w…
Introduction As chip makers focus on adding processor cores over increasing clock speed, developers need to utilize the features of modern CPUs.  One of the ways we can do this is by implementing parallel algorithms in our software.   One recent…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

757 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now