I have included an email feature in my software which attachs htm reports I generate in VFP9
I am using Rick Stralls wwipstuff program
http://www.west-wind.com/wwipstuff.aspWorks fine in simple networks but fails when I run into networks using Microsoft Exchange.
The error message I recieve when running the following software appears to be at line 31 from wwipstuff.sendmailasync.
The code I am running is as follows:
**Program to send email with attachments
**Needs a number of memory variables defined in the calling program
Set Procedure to wwUtils
Set Classlib to wwIPStuff.Vcx
local loSMTP
loSMTP = CreateObject("wwIPStuff")
loSMTP.cMailServer = "&mailsmtp" &&Defined in calling program
loSMTP.cSenderEmail = "
abcdefg@somercon.net.nz" &&Define in calling program
loSMTP.cSenderName = "&mstacomp" &&Define in calling program
loSMTP.cRecipient = "&mailclnt" &&Define in calling program
loSMTP.cCCList = "" &&CC Recipient
loSMTP.cSubject = "&msubject" &&Define in calling program
loSMTP.cMessage = "&mmessage" &&Define in calling program
loSMTP.cAttachment="&mattachment" &&Define in calling program
loSMTP.SendMailAsync()
A J Leslie