PureSMTP library : mail & attachments (AUTH supported)

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

Moderator: gnozal

IdeasVacuum
Always Here
Always Here
Posts: 6425
Joined: Fri Oct 23, 2009 2:33 am
Location: Wales, UK
Contact:

Re: PureSMTP library : mail & attachments (AUTH supported)

Post by IdeasVacuum »

All of gnozal's libs are currently 32bit only, so you can't compile them into a 64bit app. Should be fine in a 32bit app running on 64bit.
IdeasVacuum
If it sounds simple, you have not grasped the complexity.
ROUMANET
User
User
Posts: 12
Joined: Thu Aug 26, 2004 9:18 pm
Location: Isere (France)

Re: PureSMTP library : mail & attachments (AUTH supported)

Post by ROUMANET »

Thanks, but I've an other answer that simplify my life : Purebasic 4.60 already include email's functions (sendmail, etc.) :)
No need PureSMTP anymore (in my case).
MachineCode
Addict
Addict
Posts: 1482
Joined: Tue Feb 22, 2011 1:16 pm

Re: PureSMTP library : mail & attachments (AUTH supported)

Post by MachineCode »

PureSMTP is far better than PureBasic's mail sending, believe me!
Microsoft Visual Basic only lasted 7 short years: 1991 to 1998.
PureBasic: Born in 1998 and still going strong to this very day!
IdeasVacuum
Always Here
Always Here
Posts: 6425
Joined: Fri Oct 23, 2009 2:33 am
Location: Wales, UK
Contact:

Re: PureSMTP library : mail & attachments (AUTH supported)

Post by IdeasVacuum »

Unfortunately PB's email lib is out of date, it currently doesn't support authentication and that makes it less than useful for sending. Gnozal's lib is generally superior anyway, much better functionality and good speed. If producing a 32bit app is an issue, you could perhaps just make the email part a separate 32bit exe and call it from your main app.
IdeasVacuum
If it sounds simple, you have not grasped the complexity.
Thade
Enthusiast
Enthusiast
Posts: 266
Joined: Sun Aug 03, 2003 12:06 am
Location: Austria

POLINK: error: Unresolved external symbol '_PB_FindString'

Post by Thade »

I changed to 4.60 and back to the previous version several times during the last 2 month
But still cannot compile my main application.

I get a messagerequester:
POLINK: error: Unresolved external symbol '_PB_FindString'.
POLINK: fatal error: 1 unresolved external(s).

Something obviously has changed ... my program was made in 2006 and updated 3 - 4 times each year ... with 4.60 is the first time I cannot run and compile it.
--------------
Yes, its an Irish Wolfhound.
Height: 107 cm; Weight: 88 kg
User avatar
STARGÅTE
Addict
Addict
Posts: 2067
Joined: Thu Jan 10, 2008 1:30 pm
Location: Germany, Glienicke
Contact:

Re: POLINK: error: Unresolved external symbol '_PB_FindStrin

Post by STARGÅTE »

No Bug in PB.

You must also update you User-Libs to 4.60!!
PB 6.01 ― Win 10, 21H2 ― Ryzen 9 3900X, 32 GB ― NVIDIA GeForce RTX 3080 ― Vivaldi 6.0 ― www.unionbytes.de
Lizard - Script language for symbolic calculations and moreTypeface - Sprite-based font include/module
Thade
Enthusiast
Enthusiast
Posts: 266
Joined: Sun Aug 03, 2003 12:06 am
Location: Austria

Re: POLINK: error: Unresolved external symbol '_PB_FindStrin

Post by Thade »

Thank you for your fast answer

The only userlib I use is the PureSMTP library
Freeware by Philippe GUNTZ a.k.a. gnozal [xxx email xxx or http://people.freenet.de/gnozal]
Please report any bugs at the purebasic forum.

The website does not exist anymore

I will try to email gnozal

Thanks again
--------------
Yes, its an Irish Wolfhound.
Height: 107 cm; Weight: 88 kg
gnozal
PureBasic Expert
PureBasic Expert
Posts: 4229
Joined: Sat Apr 26, 2003 8:27 am
Location: Strasbourg / France
Contact:

Re: POLINK: error: Unresolved external symbol '_PB_FindStrin

Post by gnozal »

Thade wrote:The only userlib I use is the PureSMTP library
PureSMTP forum thread : http://www.purebasic.fr/english/viewtop ... 25&t=12752

See 'Download' section.
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
Thade
Enthusiast
Enthusiast
Posts: 266
Joined: Sun Aug 03, 2003 12:06 am
Location: Austria

Re: PureSMTP library : mail & attachments (AUTH supported)

Post by Thade »

Thanks - that solved the problem
Just updated the lib and it works again.
--------------
Yes, its an Irish Wolfhound.
Height: 107 cm; Weight: 88 kg
User avatar
bobobo
Enthusiast
Enthusiast
Posts: 202
Joined: Mon Jun 09, 2003 8:30 am

Re: PureSMTP library : mail & attachments (AUTH supported)

Post by bobobo »

Hi

It would be usefull if a mail in ISO-8859-1 would change the subject
automatically as shown in the following proc

i stumbled upon this issue when testing with the webmailfrontend from t-online.
With german umlaute (ä ö ü ..) in subject it wouldn't show this mails
because the subject was malformed

Other mailclients and frontends had no problems with the "umlaute"
but have no problems with coded subjects too. (gmx webfrintend can't deal with coded subject ..Image)
tested without unicode

Code: Select all

Procedure.s subjectformer(subject.s)
  ;Codierung der Umlaute in Mails für ISO-8859-1
  For i=1 To Len(subject)
    test=Asc(Mid(Subject,i,1))
    If test>127
      subjectn.s+ "="+Hex(test)
    Else
      subjectn+Chr(test)
    EndIf
  Next
  ProcedureReturn "=?ISO-8859-1?Q?"+subjectn+"?="
EndProcedure
;Subject.s="Ümläütä"
;subject=Subjectformer(subject)
;Debug subject
사십 둘 .
Rbender
User
User
Posts: 14
Joined: Thu Sep 19, 2013 8:23 am

Re: PureSMTP library : mail & attachments (AUTH supported)

Post by Rbender »

Hi,

after updating to PB5.2 I can't compile my programs with the PureSMTP library.
I got an error calling: Missing library MISC for PureSMTP_LIB_8

Using the last version 5.00 from your libraries and jaPBe :-)

Hope you can help ....

Ralf
yrreti
Enthusiast
Enthusiast
Posts: 546
Joined: Tue Oct 31, 2006 4:34 am

Re: PureSMTP library : mail & attachments (AUTH supported)

Post by yrreti »

Rbender
User
User
Posts: 14
Joined: Thu Sep 19, 2013 8:23 am

Re: PureSMTP library : mail & attachments (AUTH supported)

Post by Rbender »

Ok, so gnozal has to do that
yrreti
Enthusiast
Enthusiast
Posts: 546
Joined: Tue Oct 31, 2006 4:34 am

Re: PureSMTP library : mail & attachments (AUTH supported)

Post by yrreti »

Yes, gnozal has to do that, and hope he does.
In his credit, he has made many very good contributions to the forum over the years.
Rbender
User
User
Posts: 14
Joined: Thu Sep 19, 2013 8:23 am

Re: PureSMTP library : mail & attachments (AUTH supported)

Post by Rbender »

I'm fully agree. He did a perfect job!!!!!
Post Reply