Hello everyone, using A2003
I would like to send via email a txt file located on the c:\ drive
which I create by using a transfer text procedure.
My problem is that the file name is variable, such as RefMMDDHHmm where
REF is a fixed value, so..... the question?
How can I adapt this code that I normally use to send email with
attachments, to send the txt file when I only know the first 3
characters e.g 888
Dim objOutlook As Outlook.Application
Dim objEmail As Outlook.MailItem
Set objOutlook = CreateObject("Outlook.Application")
Set objEmail = objOutlook.CreateItem(olMailItem)
With objEmail
.To = "email address"
.Subject = "subject"
.Body = "Notes"
.Attachments.Add "ATTACHMENT"
.Send
End With
Set objOutlook = Nothing
P.S. I was looking into BLAT e-mailing but could it get it to work, can
some point me to the a website with a full explanation on how to use
such email system? I would appreciate it. (I already got the BLAT.exe
and the VB class, but every time I run it I get an error. do I need to
reference something???
Thanx