Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
WWIPSTUFF and Email
Message
 
 
To
27/07/2003 12:08:52
Joel Hokanson
Services Integration Group
Bellaire, Texas, United States
General information
Forum:
Visual FoxPro
Category:
West Wind Web Connection
Miscellaneous
Thread ID:
00813912
Message ID:
00814065
Views:
10
Seems to me the cMailServer should be more like smpt.pearland.com. Is this your own server? If so, and you are sending the e-mail directly from that server, you can set cServerName to "localhost" and leave cUserName and cPassword blank.

>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
Mark McCasland
Midlothian, TX USA
Previous
Reply
Map
View

Click here to load this message in the networking platform