Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Sending authenticated email using wwIpStuff
Message
General information
Forum:
Visual FoxPro
Category:
Third party products
Environment versions
Visual FoxPro:
VFP 9
Miscellaneous
Thread ID:
01088073
Message ID:
01088161
Views:
10
Good luck. One more thread...

wwIPStuff doesn't support encrypted authentication - it only supports base64 (clear) encoding.
+++ Rick ---

Hello,

I would like to use the email features of wwIPStuff, I downloaded the product to see if it would would with my app. Everything works good unless the email server requires a that you log on using 'secure password authentication', I send the user name and password but still get an error. I have looked to see where I set that to true but cannot find it.



>Chris,
>
>Thank you very much for the threads. What I see is one of two things:
>1. My version of wwipstuff maybe old (so I will look for a newer version)
>2. Maybe my SMTP/Server IP is such that it requires the User Name and Password in some kind of encrypted format. No idea.
>
>I will start with item 1.
>
>Again, thank you for your help.
>
>
>>Here's 2 threads from Rick's website:
>>
>>First thread
>>
>>Rick
>>That was the problem. I was passing the username and password in the POP3 Connect and then again in the SMTP sendmail. What I don't see is the connection between the logins and invalid base64 data. Nice job.
>>Login data is sent to the server in Base64 format. So the problem is that you were passing login info were none was requested or supported...
>>
>>+++ Rick ---
>>
>>What are you doing exactly? I suspect you're passing a username and password when you probably shouldn't...
>>
>>+++ Rick ---
>>
>>I'm using wwIPStuff and I get the error message "501 Invalid base64 data" is the error returned from sendmail. I previously connect to the pop3 server.
>>
>>If I use our dmain server it works fine, but change to another server i.e. mail.bellsouth.net and the error pops up.
>>
>>Can anyone tell me where I'm going wrong.
>>
>>Thanks
>>
>>2nd thread
>>
>>You might want to update to that latest version of wwIPStuff as there have been a few tweaks to the authentication code base. However with VFP 7 there should be no problem. This would also make sure that there are no version issues between the DLL and the VCX classes.
>>+++ Rick ---
>>
>>
>>- VFP7 SP1
>>- W2K Pro
>>- West Wind Internet Protcols 4.25
>>
>>
>>What version of VFP and WWWC are you running?
>>
>>+++ Rick ---
>>
>>
>>The error that returns the server is:
>>501 Invalid base64 data
>>my server of email is: Exim 4
>>
>>I believe that the problem this related to the authentication because the user and the password are correct.
>>
>>
>>
>>>Thank you for your suggestion. But if I comment out the .cUserName I get error "550 - Please configure client to use authentication".
>>>
>>>>Probably not related but worth a try... I also use wwipstuff and i found, as have users, as well as some people who have posted on wwThreads, that removing the user ID addressed a 502 error (sorry, not a 501 error).
>>>>
>>>>I know this thread is quite old, but i thought i'd chime in w/ what i just found out. I was getting a "502 Command is locally disabled" msg. After reading Rick's reply, i commented out the "username" parm and left in the "password" parm. After the change, it started working.
>>>>
>>>>
o=CREATEOBJECT("wwIPStuff")
>>>>o.cMailServer="my.mailserver.com"
>>>>o.cSenderEmail="my@emailaddress.com"
>>>>o.cSenderName = "My Name"
>>>>* o.cUsername = "my@username.com"
>>>>o.cRecipient="billg@microsoft.com"
>>>>o.cPassword = "mypassword"
>>>>o.cSubject="wwIPStuff Test Message"
>>>>o.cMessage="Who said this had to be difficult?"
>>>>llResult = o.SendMail()
>>>>Wait window o.cErrorMsg
>>>>RELEASE o
>>>>o = .null.
>>>>
>>>>
>>>>
>>>>>I created WWIPSTUFF object (from West Wind wwipstuff.vcx).
>>>>>
>>>>>The code passes values of User Name and Password to propertied .cUserName and .cPassword.
>>>>>
>>>>>But the .SendMail() method return error:
>>>>>
>>>>>
>>>>>501 Invalid Base64 data
>>>>>
>>>>>
>>>>>Any suggestions what I am missing?
>>>>>
>>>>>Thank you.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform