PureSMTP library : mail & attachments (AUTH supported)

All PureFORM, JaPBe, Libs and useful code maintained by gnozal

Moderator: gnozal

clipper
User
User
Posts: 44
Joined: Fri Aug 29, 2003 7:47 am
Location: Germany

Post by clipper »

Maybe this code would help:

viewtopic.php?t=12985

Ok ok I think we can beautify the code but he works for me
gnozal
PureBasic Expert
PureBasic Expert
Posts: 4229
Joined: Sat Apr 26, 2003 8:27 am
Location: Strasbourg / France
Contact:

Post by gnozal »

Ok, Ok, I will try to implement the SMTP LOGIN authentication method as described in http://www.winsockvb.com/forums/printthread.php?t=1369
Expect a new library version soon ...
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
gnozal
PureBasic Expert
PureBasic Expert
Posts: 4229
Joined: Sat Apr 26, 2003 8:27 am
Location: Strasbourg / France
Contact:

Post by gnozal »

Library update
- some internal changes
- added SMTP authentication (LOGIN method)
- help is now CHM

Could someone test the library again ?
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
gnozal
PureBasic Expert
PureBasic Expert
Posts: 4229
Joined: Sat Apr 26, 2003 8:27 am
Location: Strasbourg / France
Contact:

Post by gnozal »

Library update
- fixed : server message "503" (Already Authenticated) could freeze library
Please reports bugs in this thread (and not per e-mail)
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
gnozal
PureBasic Expert
PureBasic Expert
Posts: 4229
Joined: Sat Apr 26, 2003 8:27 am
Location: Strasbourg / France
Contact:

Post by gnozal »

Library update
- some optimizations
- some fixes
- and a big bug (see following post sorry :oops: )
Last edited by gnozal on Wed Feb 16, 2005 10:20 am, edited 1 time in total.
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
gnozal
PureBasic Expert
PureBasic Expert
Posts: 4229
Joined: Sat Apr 26, 2003 8:27 am
Location: Strasbourg / France
Contact:

Post by gnozal »

Library critical update
The last PureSMTP version (yesterday) introduced a huge attachement bug, so please download again.

Thanks to all the testers
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
gnozal
PureBasic Expert
PureBasic Expert
Posts: 4229
Joined: Sat Apr 26, 2003 8:27 am
Location: Strasbourg / France
Contact:

Post by gnozal »

Library update
- recompiled with PB3.93 final
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
Gansta93
Enthusiast
Enthusiast
Posts: 238
Joined: Wed Oct 20, 2004 7:16 pm
Location: The Village
Contact:

Post by Gansta93 »

Hello,

A parameter for PureSMTP_SendMail() to add some datas in the mail head would be nice. Will you add this?

Very good work, thanks you very much for this library. :-D
Be seeing you! :-)

Gansta93
If you speak french, you can visite Le Monde de Gansta93 (Gansta93's World)
gnozal
PureBasic Expert
PureBasic Expert
Posts: 4229
Joined: Sat Apr 26, 2003 8:27 am
Location: Strasbourg / France
Contact:

Post by gnozal »

Gansta93 wrote:Hello,
A parameter for PureSMTP_SendMail() to add some datas in the mail head would be nice. Will you add this?
Very good work, thanks you very much for this library. :-D
When I find some time :wink:
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
gnozal
PureBasic Expert
PureBasic Expert
Posts: 4229
Joined: Sat Apr 26, 2003 8:27 am
Location: Strasbourg / France
Contact:

Post by gnozal »

Library update

Changes
- new function PureSMTP_SetTimeOut() ; set timeout for PureSMTP_SendMail()
- new optional parameter HeaderAddon for PureSMTP_SendMail()

To El Choni
While I was updating the lib, I had a strange problem. I have updated from TailBite 1.2beta2.4 to 1.2beta2.6, and the library didn't work as expected.
The INC version worked (Purebasic include), but not the LIB version (Tailbite compiled).
It seems that embedded functions wich return strings are sometimes not compiled correctly with tailbite.
Last edited by gnozal on Fri May 13, 2005 11:26 am, edited 1 time in total.
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
El_Choni
TailBite Expert
TailBite Expert
Posts: 1007
Joined: Fri Apr 25, 2003 6:09 pm
Location: Spain

Post by El_Choni »

From TailBite's history:
-April 28th 2005: Version 1.2 Beta 2.6
+Fixed: problem with structured strings, reported by dige.

-April 11th 2005: Version 1.2 Beta 2.5
+Fixed: external batch file processing, problem reported by Rings.
I don't really know how something that worked with 2.4 doesn't work with 2.6. I'm still dealing with a couple of bugs which may be related to this problem.
El_Choni
gnozal
PureBasic Expert
PureBasic Expert
Posts: 4229
Joined: Sat Apr 26, 2003 8:27 am
Location: Strasbourg / France
Contact:

Post by gnozal »

Yes, strange.
It worked when I recompiled the sources for PB3.93 with the old tailbite.
gnozal (Posted: Wed Mar 02, 2005 11:09) wrote:Library update
- recompiled with PB3.93 final
Today, I had to change the code to make the library work.
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
gnozal
PureBasic Expert
PureBasic Expert
Posts: 4229
Joined: Sat Apr 26, 2003 8:27 am
Location: Strasbourg / France
Contact:

Post by gnozal »

The new version of TailBite 1.2 PR 1.0 fixed the problem.
Thanks El Choni.
Last edited by gnozal on Fri May 13, 2005 11:28 am, edited 1 time in total.
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
gnozal
PureBasic Expert
PureBasic Expert
Posts: 4229
Joined: Sat Apr 26, 2003 8:27 am
Location: Strasbourg / France
Contact:

Post by gnozal »

Update
- what's new : nothing :wink:
- recompiled with TailBite 1.2 PR 1.0 :D
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
User avatar
jqn
User
User
Posts: 97
Joined: Fri Oct 31, 2003 3:04 pm

Post by jqn »

Hi, gnozal

Very useful library, but I need a new feature:
In Headers are "Content-Type: text/plain; charset=iso-8859-1".

There is a way to change this?.
I will need "Content-Type: text/html; charset=iso-8859-1".

JOAQUN
Post Reply