how to email reports - revisted

R

Rover

I can now email reports via Outlook but How do I do it via Outlook Express?

I got this piece of code from this newsgroup to send reports via Outlook.
===============================
Set objOutlook = CreateObject("Outlook.application")
Set objEmail = objOutlook.CreateItem(olMailItem)

With objEmail
.To = "(e-mail address removed)"
.Subject = "Sample Reports"
.body = "Type message here"
.Attachments.Add "C:\report1.snp"
.attachments.Add "C:\report2.snp"
.Send
'.ReadReceiptRequested
End With
======================

My client is using Outlook Express. I tried:
Set objOutlook = CreateObject("OutlookExpress.application")
but it didn't like it at all. I can have this one machine set up for
Outlook but I'd rather not. Any one know how to do this?

tia

Jim
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top