Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
WWIPSTUFF and Email
Message
From
27/07/2003 12:08:52
Joel Hokanson
Services Integration Group
Bellaire, Texas, United States
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
West Wind Web Connection
Title:
WWIPSTUFF and Email
Miscellaneous
Thread ID:
00813912
Message ID:
00813912
Views:
83
HELP!!!!!!!!!!!!
I am try to use WWIPSTUFF to send an emal message. I have the latest registered copy of West Wind Client Tools.

This program sends email as long as I do NOT try to use cusername or cpassword.

With Username and password it always dies on this line in the CLASSLIB wwIPStuff which is the sendmail procedure in that class

*** ??? ras - 09/02/2002
*** Perform Base64 encoding here since base64 is missing in wwipstuff.dll code
*** Fix later
lcUsername = IIF(!EMPTY(this.cUsername),STRCONV(THIS.cUsername,13),"")
lcpassword = IIF(!EMPTY(this.cPassword),STRCONV(This.cPassword,13),"")

The error is always:
"Function argument value, type, or count is invalid"
on line:
lcUsername = IIF(!EMPTY(this.cUsername),STRCONV(THIS.cUsername,13),"")


HELP!!!!!!!!!!!!!!


Here is the code I am running. This code came directly out of wwipstuff samples

Close ALL
Clear ALL
Close DATABASES all
#INCLUDE WCONNECT.h
Set PROCEDURE TO wwUtils ADDITIVE
Set CLASSLIB TO wwIPStuff ADDITIVE
clear
o=CREATE("wwIPStuff")
Set MEMOWIDTH TO 200
*** Sending SMTP Mail
o.cMailServer="pearland.com" && "yourmail.server.net"
o.cSenderEmail="sysop@pearland.com"
o.cSenderName="The Sysop"
o.cRecipient="Joel "
*o.cCCList="Ricky Jr "
*o.cBCCList=""
o.cSubject="wwIPStuff Test Message"
o.cMessage="Who said this had to be difficult?"
o.cUsername = "joel@Pearland.com" && Optional
o.cPassword = "houston"
* o.cAttachment="d:\utl\hex.exe,d:\utl\kill.exe"
*? o.SendMailAsync() && Send message and return immediately w/o result
llResult = o.SendMail() && Send again - wait for completion
If !llResult
Wait window o.cErrorMsg
Else
Wait window nowait "Message sent..."
Endif
Retu
Next
Reply
Map
View

Click here to load this message in the networking platform