Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Wwipstuff and attachments
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Titre:
Wwipstuff and attachments
Divers
Thread ID:
00572092
Message ID:
00572092
Vues:
47
Hello All,
I've been using this wonderclass wwPIStuff from the west-wind techmnologies to send emails to out salesforce during the night. I'm now trying to send an attachment and I keep getting an error message of "501 syntax error in parameters or arguments." Here is the code:

x = dtoc(date()) x = strtran(x,'/','')
ff = sys(5) + sys(2003) + '\' + x + '.zip'
** this file has already been created
o=CREATEOBJECT('wwIPStuff')
o.cMailServer='mygate'
o.cSenderEmail= 'me@my.com'
o.cSenderName='My System' o.cRecipient= alltrim(salesforce.address) o.cSubject='Sales Bulletins' o.cMessage= 'Dear ' + alltrim(Proper(fname)) + ' ' + alltrim(Proper(lname)) + chr(10) + chr(13) + ;
'See attached zip file'
o.cAttachment= ff
llResult = o.SendMail()

I've tried &ff and (ff) but when tracing I see that o.cattachment is a character with the correct file name What am I doing wrong??

Thanks Sandy
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform