Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Sending authenticated email using wwIpStuff
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Produits tierce partie
Versions des environnements
Visual FoxPro:
VFP 9
Divers
Thread ID:
01088073
Message ID:
01088147
Vues:
11
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.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform