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 Secrity popup bypass with Redemption

Status
Not open for further replies.

SkyHigh

Technical User
May 30, 2002
309
0
0
CA
Hi Folks
Has anyone written a code to send emails silently in the background using Redemption utility with outlook express, I need to convert the following routines for Redemption, can someone kindly help me with that.

I am using outlook 2002 as client and I am not using MS Exchange Server -
Thanks
Brenda

---
Code:
---

Dim objOutlook As Outlook.Application
Dim objEmail As Outlook.MailItem
Dim vEmailTo As String
Dim vEmailCc As String
Dim vEmailBcc As String
Dim vEmailSubject As String
Dim vEmailMsg As String
Dim vAttachementOne As String
Dim vAttachementTwo As String

            Set objOutlook = CreateObject("Outlook.application")
            Set objEmail = objOutlook.CreateItem(olMailItem)

                With objEmail
                    .To = vEmailTo
                    .CC = vEmailCc
                    .BCC = vEmailBcc
                    .Subject = vEmailSubject
                    .Body = vEmailMsg & vbCrLf & vbCrLf & vbCrLf
                    .Attachments.Add (vAttachementOne)
                    .Attachments.Add (vAttachementTwo)
                    '.Display
                    .Send
                End With

Set objOutlook = Nothing
Set objEmail = Nothing

---[Code]---
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top