Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Outlook massmail
Message
From
26/02/2003 10:45:35
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Title:
Outlook massmail
Miscellaneous
Thread ID:
00758124
Message ID:
00758124
Views:
47
Hello,

I try to send massmail using the following code (for Outlook XP):
USE Promo
IF !USED("Promo")
	RETURN .F.
ENDIF
oOutLook = CREATEOBJECT("Outlook.Application")
lcBody = FILETOSTR("mailtext.htm")
SCAN
	oMailItem = oOutlook.createitem(0)
	WITH oMailItem
		.Subject = "Version 3.1 Available NOW"
		.HtmlBody = lcBody
		.Recipients.Add(ALLTRIM(Promo.Email))
		.Save()
		.Send()
	ENDWITH
ENDSCAN
Outlook comes with a message "Another program tries to send mail etc" for each .Send() command.
Is there a way to send massmail using Outlook without getting this message for each single email?

Thanks for help in advance
Christian Isberner
Software Consultant
Next
Reply
Map
View

Click here to load this message in the networking platform