[Implemented] PB4.20 Mail Library

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
User avatar
graves
Enthusiast
Enthusiast
Posts: 160
Joined: Wed Oct 03, 2007 2:38 pm
Location: To the deal with a pepper

[Implemented] PB4.20 Mail Library

Post by graves »

Hi,
This is a GREAT new feature.
But it needs new options or commands. In fact I can't send mails with it on my SMTP server. It needs a user and password to send them.

I'm using an external dll (BLAT), at now. You can see all options on:
http://www.blat.net/syntax/syntax.html

It would be very nice if PB could add some of them.

Best Regards
User avatar
Kukulkan
Addict
Addict
Posts: 1261
Joined: Mon Jun 06, 2005 2:35 pm
Location: germany
Contact:

Post by Kukulkan »

The following things need to get supported to be usable (in my opinion):

- SMTP AUTH ("Login" and "CRAM-MD5")
- SSL/TLS (for supporting google mail)
- progress-callback for sending larger mails (always included?)

Kukulkan
User avatar
graves
Enthusiast
Enthusiast
Posts: 160
Joined: Wed Oct 03, 2007 2:38 pm
Location: To the deal with a pepper

Post by graves »

Also, for me, the options:
Content-Type=text/html - text/enriched - html - binary
uuencode


and, probably, multipart messages
endo
Enthusiast
Enthusiast
Posts: 136
Joined: Fri Apr 30, 2004 10:44 pm
Location: Turkiye (istanbul)
Contact:

Post by endo »

A function like GetSMTPError() would be very nice.

Additionally, how long it waits max. for SendMail()? I tried with a wrong smtp server ip and it wait for a long time then i stopped it with ctrl-c but it stay in the background (async. mode)

CancelMail(#mail) would be nice also. Is there a way to cancel a pending async. sendmail()?
-= endo (registered user of purebasic since 98) =-
User avatar
DoubleDutch
Addict
Addict
Posts: 3191
Joined: Thu Aug 07, 2003 7:01 pm
Location: United Kingdom
Contact:

Post by DoubleDutch »

The following things need to get supported to be usable (in my opinion):

- SMTP AUTH ("Login" and "CRAM-MD5")
- progress-callback for sending larger mails (always included?)
I think so too.
https://deluxepixel.com <- My Business website
https://reportcomplete.com <- School end of term reports system
Post Reply