sendobject with outlook redemption

okl

New member
Local time
Tomorrow, 00:32
Joined
Feb 1, 2010
Messages
1
hi,

i trying to use outlook redemption to send out mail from Ms Access.

i have it installed and added in the library reference..

How can i send table name "sdf" as html with redemption?

Code:
Function Macro2()
On Error GoTo Macro2_Err

    DoCmd.SendObject acTable, "sdf", "HTML(*.html)", "ongkokleong@gmail.com", "", "", "test subject", "hello...body", False, ""


Macro2_Exit:
    Exit Function

Macro2_Err:
    MsgBox Error$
    Resume Macro2_Exit

End Function
[code/]
 
I have never used Redemption, but I have a good idea how it works.

Any program other than Outlook cannot send an email without either security warnings popping up and/or you playing with your settings to allow emails to be sent. The idea being that only Outlook or a program that outlook trusts can send an email.

When you use redemption it actually uses the Outlook object which is "trusted" by Outlook. Thus simply installing redemption is not going to cut it. You are going to have to use the redemption trusted objects for an email and send the email through redemption.

I have never used it as I said at the beginning so I do not have suggested code but you will find many many examples now that you know what you have to do.
 

Users who are viewing this thread

Back
Top Bottom