Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Outlook.Application with user intervention

Status
Not open for further replies.

jsnunez

MIS
Feb 4, 2004
72
0
0
US
Hi sll.

I am using this code to send email, and I need to force the user intervention. I want to open outlook and show the email, and the user should click on the send button, or cancel the email.

I already tryed DoCmd.SendObject , , acFormatTXT, varTo, , , stSubject, stText, -1 but it does not work with Outlook security problems, it shows an error message.

So I am trying:

' Create the Outlook session.
Set objOutlook = CreateObject("Outlook.Application")
With objOutlookMsg
.To = Me.Email

.Subject = ":: Test::"
.Body = stText
.Importance = olImportanceHigh 'High importance

.Send

End With


Where is the propety that forces to show the email?

Thanks
jose
 
Replace .Send by .Display

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top