Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Help with sending Outlook email in VFP
Message
From
29/06/2003 17:51:43
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00804758
Message ID:
00805131
Views:
40
Torrey - Just comment that line of code out. I was using 3 for blind copies. You don't need 1 for "to". In the program I used the code in, I sent a large number of blind copies.
oOUTLOOK= Createobject('outlook.application')
omail=oOUTLOOK.createitem(0)
omail.recipients.add("gjungling1@comcast.net")
omail.Display
Release  omail
oOUTLOOK = .Null.
Release oOUTLOOK
Gaylen

>This works great except I get an error:
>
>"Object oRecipient is not found" on line of code "oRecipients.type = 1"
>
>If I click Ignore the email comes up without sending it which is what I want but if would be nice to know how to control the recipient types.
>
>Any suggestions?
>
>Regards,
>Torrey
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform