Posted: Mon Mar 05, 2007 5:36 pm
I tried downloading yesterday and 2 secs ago and it worked fine here.
http://www.purebasic.com
https://www.purebasic.fr/english/
The site is not down, and I have no problems downloading. Maybe a firewall / antivirus problem ?citystate wrote:I've tried both the evil IE and the not-so-evil Mozilla, neither want to work - my guess is that gnozal's site is down for whatever reason.
I don't use WinAPI, only the purebasic network library functions.Kukulkan wrote:Hi gnozal,
I currently use your library on a PB3.94 project. It works fine, but some people ask for using SSL/TLS for sending e-mails (especially those who are using gmail.com). Is it possible to send and receive e-mails using SSL/TLS? Actualy, only sending is important for me.
I don't know which API's you are using, but maybe it is possible to use InternetOpenUrl_() with the #INTERNET_FLAG_SECURE flag to connect to the server?
The SSL protocol is well known and documented all over the web, but it is a huge bunch of work to implement this by yourself. The windows-API provides all functions needed to connect using SSL if you are using InternetOpen_(), InternetOpenUrl_() and InternetReadFile_() to manage your connections (instead of the PB functions). Bad news is, that this will only work using windows.gnozal wrote:I don't use WinAPI, only the purebasic network library functions.
And I don't know the SSL/TLS protocol (I don't know if it's even possible without API).
I will think about it. Note that you can use PureSMTP_GetLastServerMessage() to get some information if something went wrong.Frontier wrote:Could it be possible to add a Trace command for SMTP, as you did in PurePOP3? This could be extremely useful in troubleshooting various problems I came across while using SMTP servers.
Unfortunately, PureSMTP_GetLastServerMessage() returns nothing, but the message is not sentgnozal wrote:I will think about it. Note that you can use PureSMTP_GetLastServerMessage() to get some information if something went wrong.Frontier wrote:Could it be possible to add a Trace command for SMTP, as you did in PurePOP3? This could be extremely useful in troubleshooting various problems I came across while using SMTP servers.
What error does PureSMTP_SendMail() return ?Frontier wrote:Unfortunately, PureSMTP_GetLastServerMessage() returns nothing, but the message is not sent
No error.gnozal wrote:What error does PureSMTP_SendMail() return ?Frontier wrote:Unfortunately, PureSMTP_GetLastServerMessage() returns nothing, but the message is not sent
You mean you use PureSMTP_SendMail(), the mail is not send, you get no error (PureSMTP_SendMail() returns #PureSMTP_Ok) and PureSMTP_GetLastServerMessage() returns "" ?Frontier wrote:No error.gnozal wrote:What error does PureSMTP_SendMail() return ?Frontier wrote:Unfortunately, PureSMTP_GetLastServerMessage() returns nothing, but the message is not sent
Exactly like that.gnozal wrote:You mean you use PureSMTP_SendMail(), the mail is not send, you get no error (PureSMTP_SendMail() returns #PureSMTP_Ok) and PureSMTP_GetLastServerMessage() returns "" ?Frontier wrote:No error.gnozal wrote:What error does PureSMTP_SendMail() return ?Frontier wrote:Unfortunately, PureSMTP_GetLastServerMessage() returns nothing, but the message is not sent
That's strange ... because this means the server does not answer anything so PureSMTP_SendMail() should return #PureSMTP_ServerTimeOut.
The beta library available here http://freenet-homepage.de/gnozal/PureSMTP_BETA.zip creates a log file "PureSMTP_TRACE.txt".
Code: Select all
Procedure.l PureSMTP_MyCallback(Percent.l, ServerStatus.l, ServerMessage.s)
Debug "Progress: " + Str(Percent) + " %"
EndProcedure
PureSMTP_SetCallback(@PureSMTP_MyCallback())
PureSMTP_SendMail([........])
DoneFlype wrote:Hello gnozal,
I have an idea for puresmtp.
When using PureSMTP_SendMail with attachment files, it can take some times to finish the operation depending of the size of the attached files.
So i think that the programmer might need to know and display the progress.
It can be done with a user-defined callback