A
Amin Sobati
Hi,
I have the following code in my app:
Set OA = CreateObject("Outlook.Application")
Set NS = OA.GetNamespace("MAPI")
Set k = OA.CreateItem(0)
k.Recipients.Add "(e-mail address removed)"
k.Subject = "test"
Set objSafeMail = CreateObject("Redemption.SafeMailItem")
k.save
Set objSafeMail.Item = k
objSafeMail.Send
This code does not put the new email in outbox, but puts in drafts folder.
How can I change code so that it sends my email to outbox folder?
Any help would be greatly appreciated,
Thanks,
Amin
I have the following code in my app:
Set OA = CreateObject("Outlook.Application")
Set NS = OA.GetNamespace("MAPI")
Set k = OA.CreateItem(0)
k.Recipients.Add "(e-mail address removed)"
k.Subject = "test"
Set objSafeMail = CreateObject("Redemption.SafeMailItem")
k.save
Set objSafeMail.Item = k
objSafeMail.Send
This code does not put the new email in outbox, but puts in drafts folder.
How can I change code so that it sends my email to outbox folder?
Any help would be greatly appreciated,
Thanks,
Amin