SMTP-AUTH and SSL implementation for email lib

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
User avatar
blueb
Addict
Addict
Posts: 1111
Joined: Sat Apr 26, 2003 2:15 pm
Location: Cuernavaca, Mexico

Post by blueb »

If you really need it.... SocketTools library

see forum: http://www.purebasic.fr/english/viewtop ... ockettools
- It was too lonely at the top.

System : PB 6.21(x64) and Win 11 Pro (x64)
Hardware: AMD Ryzen 9 5900X w/64 gigs Ram, AMD RX 6950 XT Graphics w/16gigs Mem
User avatar
J. Baker
Addict
Addict
Posts: 2181
Joined: Sun Apr 27, 2003 8:12 am
Location: USA
Contact:

Post by J. Baker »

hardfalcon wrote:There are such problems with many of the new libs, the FTP lib for example will be rather useless as long as it doesn't support setting CHMOD access rights.
Anyhow, time (and new features) will come, and the new libs are definitely a great step into the right direction.
Yeah but at least the FTP lib can be used. Without smtp authentication I can't even use the mail lib because my email server requires it. I'll have to find another smtp to use in the meantime.
www.posemotion.com

PureBasic Tools for OS X: PureMonitor, plist Tool, Data Maker & App Chef


Even the vine knows it surroundings but the man with eyes does not.
Karbon
PureBasic Expert
PureBasic Expert
Posts: 2010
Joined: Mon Jun 02, 2003 1:42 am
Location: Ashland, KY
Contact:

Post by Karbon »

Just an addition emphasis on this. AUTH support and SSL/TLS support are essential these days.

It's the only thing keeping kBilling from being cross-platform through PureBasic. I have to reach out to a DLL in order to get SSL/TLS support for email..
-Mitchell
Check out kBilling for all your billing software needs!
http://www.k-billing.com
Code Signing / Authenticode Certificates (Get rid of those Unknown Publisher warnings!)
http://codesigning.ksoftware.net
User avatar
Kukulkan
Addict
Addict
Posts: 1396
Joined: Mon Jun 06, 2005 2:35 pm
Location: germany
Contact:

Post by Kukulkan »

Hi Karbon,

FULL ACK!!!
I have to reach out to a DLL in order to get SSL/TLS support for email..
Which DLL did you use to send SSL/TLS e-mails?

Kukulkan
Karbon
PureBasic Expert
PureBasic Expert
Posts: 2010
Joined: Mon Jun 02, 2003 1:42 am
Location: Ashland, KY
Contact:

Post by Karbon »

There are a lot of them out there but I chose the IP Works SMTP and SMTPS component from N Software. The trick was writing a "plain" DLL wrapper in Delphi so I could use it in PureBasic :-)
-Mitchell
Check out kBilling for all your billing software needs!
http://www.k-billing.com
Code Signing / Authenticode Certificates (Get rid of those Unknown Publisher warnings!)
http://codesigning.ksoftware.net
User avatar
Kukulkan
Addict
Addict
Posts: 1396
Joined: Mon Jun 06, 2005 2:35 pm
Location: germany
Contact:

Post by Kukulkan »

I chose the IP Works SMTP and SMTPS component from N Software
Boah, the price for the component is $899!!! And it even needs a wrapper, because it is COM technology. I think this is way to much for the given value. I'm looking forward to find a solution that uses OpenSSL to archive the SSL/TLS functions needed for SMTP. Maybe you found such a library during your research?

But the best thing would be a portable standard library with SMTP- and HTTP-functions including SSL/TLS for PureBasic. Maybe in the future?

Kukulkan
Karbon
PureBasic Expert
PureBasic Expert
Posts: 2010
Joined: Mon Jun 02, 2003 1:42 am
Location: Ashland, KY
Contact:

Post by Karbon »

That's the the entire suite - I think the individual components (just the SMTP component) is something like $250 or $275.

I have one of their subscriptions so I get all of their components but I use many of them in other (non-PB) projects. Good stuff if you need it.
-Mitchell
Check out kBilling for all your billing software needs!
http://www.k-billing.com
Code Signing / Authenticode Certificates (Get rid of those Unknown Publisher warnings!)
http://codesigning.ksoftware.net
User avatar
Psychophanta
Always Here
Always Here
Posts: 5153
Joined: Wed Jun 11, 2003 9:33 pm
Location: Anare
Contact:

Post by Psychophanta »

Seldon wrote:I agree, very few SMTP servers work without authentication. Anyway, I've been using PureSMTP so far for this, but it doesn't work anymore with 4.30 as most LIBs (problem with StringExtension). BTW, does someone know if we can do something ? Or just waiting for a new release of each user LIB ?
:shock:
PureSMTP does not allow SMTP/auth nor SSL authentication, dude!
http://www.zeitgeistmovie.com

while (world==business) world+=mafia;
Seldon
Enthusiast
Enthusiast
Posts: 405
Joined: Fri Aug 22, 2003 7:12 am
Location: Italia

Post by Seldon »

Psychophanta wrote:
Seldon wrote:I agree, very few SMTP servers work without authentication. Anyway, I've been using PureSMTP so far for this, but it doesn't work anymore with 4.30 as most LIBs (problem with StringExtension). BTW, does someone know if we can do something ? Or just waiting for a new release of each user LIB ?
:shock:
PureSMTP does not allow SMTP/auth nor SSL authentication, dude!
I mean the user/password (POP3 authentication) check, when you call the SMTP server. Isn't that called authentication ??? I don't mean SSL...
Last edited by Seldon on Mon Dec 22, 2008 10:44 am, edited 1 time in total.
User avatar
Kukulkan
Addict
Addict
Posts: 1396
Joined: Mon Jun 06, 2005 2:35 pm
Location: germany
Contact:

Post by Kukulkan »

Hi Psychophanta,
PureSMTP does not allow SMTP/auth nor SSL authentication, dude!
Thats wrong. PureSMTP supports SMTP/auth using auth/plain and POP3 before SMTP authentication. So, most SMTP accounts will work without problems. But SSL authentication is missing, too (not able to use google mail accounts).

Kukulkan
User avatar
Psychophanta
Always Here
Always Here
Posts: 5153
Joined: Wed Jun 11, 2003 9:33 pm
Location: Anare
Contact:

Post by Psychophanta »

Yes, i meant SSL. :? Mainly to use with .gmail
http://www.zeitgeistmovie.com

while (world==business) world+=mafia;
Post Reply