Mail Library: Authentication Support
Mail Library: Authentication Support
Hello,
I have not found any way to send a mail via SMTP with authentication with the PureBasic native Mail library.
Is it possible to add authentication support on Mail library?
I have not found any way to send a mail via SMTP with authentication with the PureBasic native Mail library.
Is it possible to add authentication support on Mail library?
-
- Addict
- Posts: 1264
- Joined: Wed Feb 28, 2007 9:13 am
- Location: London
- Psychophanta
- Always Here
- Posts: 5153
- Joined: Wed Jun 11, 2003 9:33 pm
- Location: Anare
- Contact:
Hi Psychopantha,
I know this forum-thread (I answered four times in this thread). But the result is:
- no SSL/TLS support with PureBasic
- no OS-independent way
- a COM component (250$) is available (WIN only)
- SocketTools for about 99$ (WIN only)
I think there will be a way using OpenSSL, but I don't know how.
Kukulkan
I know this forum-thread (I answered four times in this thread). But the result is:
- no SSL/TLS support with PureBasic
- no OS-independent way
- a COM component (250$) is available (WIN only)
- SocketTools for about 99$ (WIN only)
I think there will be a way using OpenSSL, but I don't know how.
Kukulkan
-
- Addict
- Posts: 4778
- Joined: Thu Jun 07, 2007 3:25 pm
- Location: Berlin, Germany
That's exactly what I'm thinking, too.USCode wrote:Without User/Password authentication support this library is really limited in usability and should probably have not been released without it. I personally haven't had an ISP that allowed me to send emails without a username/password.
Regards, Little John
gnozals Libs are ready for PB4.30:Seldon wrote:I've been using PureSMTP so far for this, but it doesn't work anymore with 4.30 as most LIBs (problem with StringExtension).
http://freenet-homepage.de/gnozal/#UserLibs
Greetings ... Kiffi
Hygge
Future security enhancements?
I've been reviewing the SMTP protocol and to add simple user/password authentication is very easy, I'm not sure why it isn't in the mail library now ... they must have a good reason as they went to all the work to develop the library in the first place. Maybe they're waiting to wrap the OpenSSL library first and give all those security features at once in a future release.
Adding user/password authentication (required by my ISP) appears to be merely a matter of also issuing a AUTH LOGIN, followed by the user and password in Base64. I tried it interactively using Telnet and using PB's Base64 encoder function to generate the Base64 strings and it worked perfectly.
http://technet.microsoft.com/en-us/libr ... G.65).aspx
Hopefully 4.40 will have the necessary goodies!
Adding user/password authentication (required by my ISP) appears to be merely a matter of also issuing a AUTH LOGIN, followed by the user and password in Base64. I tried it interactively using Telnet and using PB's Base64 encoder function to generate the Base64 strings and it worked perfectly.
http://technet.microsoft.com/en-us/libr ... G.65).aspx
Hopefully 4.40 will have the necessary goodies!

- DoubleDutch
- Addict
- Posts: 3220
- Joined: Thu Aug 07, 2003 7:01 pm
- Location: United Kingdom
- Contact:
+1
https://deluxepixel.com <- My Business website
https://reportcomplete.com <- School end of term reports system
https://reportcomplete.com <- School end of term reports system
Re: Mail Library: Authentication Support
Hi
I would like to add my vote for adding Authentication Support for smtp.
Thanks,
Simon
I would like to add my vote for adding Authentication Support for smtp.
Thanks,
Simon
Simon White
dCipher Computing
dCipher Computing