Sending Emails With Redemption's DLL

  • Thread starter Thread starter Xcelsoft
  • Start date Start date
X

Xcelsoft

I have an Access 2k database that's used to email
customer reports using Outlook with Redemption's DLL. I
use a table of Customers contacts to fill all email
parameters (Recipient, Subject, Body, Attachment, etc.)
and it works just fine. These reports are printed to a
PDF driver and subsequently attached to the email and
sent.

Occasionally we have to generate reports (same as above)
where the recipient is not in the customer table.

Question - Is there a way using Redemptions Objects to
create the email without the Recipient but has the
Attachment and just open the default mail client in the
create new message with the attachment already attached??

This would be similar to using the built in Access SendTo
command.

Thanks,

ET Sherman
 
Yes, and you don't really need Redemption for that - reading recipients and
sending is blocked, as long as you don't do that, Outlook Object Model will
work just fine

set Msg = OutlookApplication.CreateItem(0)
Msg.Subject = "test subject"
Msg.Body = "test body"
Msg.Attachments.Add "c:\test.txt"
Msg.Display

Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
 
Back
Top