Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
WwIPstuff sendmail() smtp authentication.
Message
General information
Forum:
Visual FoxPro
Category:
West Wind Web Connection
Miscellaneous
Thread ID:
00845460
Message ID:
00845661
Views:
74
Rick,

Thanks for the comment. I had initial problems caused by a missing class 'wwResponseStringNoBuffer', so I set lLogSession=.F. to avoid the errors. After that, I began testing connections to the mail server using wwPOP3; unfortunately all tests failed on loPop.Connect(), with the failure point being wwSocket's Receive() method, which always returned an empty string in my tests. I may be missing something, but wwSocket's Receive() doesn't appear to use cUsername or cPassword, so I get the feeling the cause of the failure is not related to the username & password properties. All of the tests passed the call to Connect(THIS.cMailserver,THIS.nPort) without any problems, so it seems to be finding the mail server ok.
- Is there anything else I can try? Any ideas why Receive() is always empty?

Many thanks again,

- Larry





Make sure you know exactly what's required for username and passwords in order to send.

For POP3 logins to SMTP server use the wwPOP3 class to connect with a login, then log off, then just try sending without a username and password through the SMPT class...

+++ Rick ---

>I'm using wwIPstuff’s sendmail()from a VFP app. This has worked fine until I changed my email provider from Earthlink to Verizon. Testing with my email client and talking to Verizon I verified that Verizon requires authentication whereas Earthlink does not. So I added the cUsername and cPassword properties (plus, of course, the new cMailServer property) for Verizon, but sendmail() still failed - giving a 'relay' error. I've read the relevant UT threads on this, plus Rick Strahl's Wiki post (http://www.west-wind.com/wiki/kb.wiki?wc~EmailRelayingDenied), but am still having problems.
>
>(a) If I must make a POP3 connection first, how would I best do this and can this be done using wwIPstuff? Would I be making a pop3 connection to the smtp server?
>
>(b) Is it possible that wwIPstuff's sendmail() simply won't work with the Verizon mail server?
>
>Thanks!
>- Larry

+++ Rick ---

West Wind Technologies
Maui, Hawaii
Previous
Reply
Map
View

Click here to load this message in the networking platform