[Synalist] GMail & Less secure apps

2022-03-19 Thread Roy Lambert
I've been using GMail through synapse for a long time. Now they're removing the 
"Less secure apps" mode. Can anyone give me a pointer to using GMail in the 
fully secured way? The only bit I'm using is email via POP3.




Roy Lambert


___
synalist-public mailing list
synalist-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synalist-public


Re: [Synalist] SSL/TLS support is not compiled!

2018-04-13 Thread Roy Lambert via synalist-public
Michael

>Did you copy the SSL libraries to a place where the bianry can load them ?

Yup, libeay32.dll and libssl32.dll are in the same folder as the program. I 
think that's all I need but I'm happy to be wrong if it will get things working 
on all machines rather than just one.

Roy

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
synalist-public mailing list
synalist-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synalist-public


[Synalist] SSL/TLS support is not compiled!

2018-04-13 Thread Roy Lambert via synalist-public
I'm not sure if my post made it to the forums. If it did and this is a repeat - 
sorry.

Its a weird one -I was trying to run my email server app on another PC to test 
ElevateDB 2.28. The comms is via Synapse.

This application works perfectly on my main notebook, ran for literally years 
on my server (now retired like me)

Both PCs are W7x64. I've placed a test project (below) which will just logon to 
Gmail on to the problem PC and it bombs with "SSL/TLS support is not 
compiled!". Run the same app on my main PC and it works fine.

Just to make sure I'm running the exact same software I moved it onto a memory 
stick PC A fine, PC B bombs.

If it didn't work on both machines I'd have said its my code but working on one 
but not the other baffles me. I think it must be a Windows setting somewhere 
but I have no idea where. I did sort of think it could be the internet options 
but I've made sure they're the same and I still have the problem.

Any and all suggestions no matter how bizzare will be well received.



Roy Lambert

uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, smtpsend, pop3send, StdCtrls, ssl_openssl, synsock, httpsend,
mimeinln, synacode, synachar, synautil;

type
TForm1 = class(TForm)
Memo1: TMemo;
Button1: TButton;
procedure Button1Click(Sender: TObject);
private
{ Private declarations }
public
{ Public declarations }
end;

var
Form1: TForm1;

implementation

{$R *.dfm}

procedure TForm1.Button1Click(Sender: TObject);
var
sl: TStringList;
GetMail: TPOP3Send;
GotThere: boolean;
begin
GetMail := TPOP3Send.Create;
GetMail.Username := 'notmyemailaddr...@gmail.com';
GetMail.Password := 'NotTheRealPasswordt';
GetMail.TargetHost := 'pop.gmail.com';
GetMail.TargetPort := '995';
GetMail.FullSSL := True;
GotThere := GetMail.Login;
if GotThere
then Memo1.Lines.Text := 'Logon successful'
else begin
sl := TStringList.Create;
sl.Add('Unable to login using: ' + GetMail.Username);
sl.Add('Error message: ' + GetMail.ResultString + #13 + 
GetMail.FullResult.Text);
Memo1.Lines.Text := GetMail.TargetHost + #13 + sl.Text;
Memo1.Lines.add(getmail.Sock.LastErrorDesc);
sl.Free;
end;
getMail.Free
end;

end.

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
synalist-public mailing list
synalist-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synalist-public


Re: [Synalist] Gmail SMTP

2017-12-10 Thread Roy Lambert via synalist-public
Daniel

Have you set GMail to allow less secure access, Finding it is a bit of a 
nightmare:

Click on your account icon -> My Account -> Sign In & Security -> Apps with 
account access -> Allow less secure apps


Roy Lambert


--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
synalist-public mailing list
synalist-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synalist-public


Re: [Synalist] Problen with httpmethod('GET'

2017-12-04 Thread Roy Lambert via synalist-public
wkitty42

>wow! i didn't even see the one line that had "https" in it... sorry that i
>missed that... if i had seen it, i would surely have pointed it out...

That's OK - I've left the stupid corner now - feel free to use it 

Roy

ps - it took me a while to spot as well


--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
synalist-public mailing list
synalist-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synalist-public


Re: [Synalist] Problen with httpmethod('GET'

2017-12-04 Thread Roy Lambert via synalist-public
Lukas

Thanks - I'd just spotted the problem when I saw your reply. I need to add the 
open ssl libraries to the unit in which I defined my fetcher class. All good 
now.


Roy Lambert


--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
synalist-public mailing list
synalist-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synalist-public


[Synalist] Problen with httpmethod('GET'

2017-12-03 Thread Roy Lambert via synalist-public
Lukas or anyone who can help

I have a small application that fetches the info about dvds I've bought so I 
can keep a record of what we have and helps in choosing what to watch.

I'm having difficulty in fetching the images from the web. I can fetch all the 
other information easily and I used to be able to download the images. If I 
copy the link into a browser I'm shown the correct image.

Initially I get a 301 with these headers

301 .. Moved Permanently

HTTP/1.1 301 Moved Permanently
Date: Sun, 03 Dec 2017 15:48:57 GMT
Connection: close
Cache-Control: max-age=3600
Expires: Sun, 03 Dec 2017 16:48:57 GMT
Location: https://www.thetvdb.com/banners/posters/74550-1.jpg
Server: cloudflare-nginx
CF-RAY: 3c77ac5120786a73-LHR

I respond to that and get


GET /banners/posters/74550-1.jpg HTTP/1.0
Host: www.thetvdb.com
Keep-Alive: 300
Connection: keep-alive
User-Agent: Mozilla/4.0 (compatible; Synapse)


This used to work. Can anyone suggest what I'm doing wrong?

Roy Lambert


--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
synalist-public mailing list
synalist-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synalist-public


[Synalist] Embarcadero news groups

2017-04-11 Thread Roy Lambert
Does anyone know which version of the OpenSSL library is required to access the 
embarcadero newsgroups? Until a couple of weeks ago it was working fione with 
1.0.1q but cannot be accessed anymore.

In case it matters using Delphi D2006



Roy Lambert

---
This email has been checked for viruses by AVG.
http://www.avg.com


--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
synalist-public mailing list
synalist-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synalist-public


Re: [Synalist] HOW to save the BODY part of a downloaded email

2017-01-04 Thread Roy Lambert
Stefan

You seem to be having difficulty with the structure of an email message and how 
Synapse handles it. Its worth reading the RFCs on it.

1. Unless you can guarantee otherwise it is possible for an email to be simply 
plain text in which case the body is everything after the first empty line.

2. Even though you're simplifying things by not bothering about the type of 
attachment an email can have two body sections - one in plain text and one in 
html (there may be more but I don't know of them) and you may need to take 
account of that.

You need to examine the primary and seconday types of the mime part you have to 
determine what actions to take. The example you quote says that the secondary 
type is "alternative" which means it requires additional processing.

My email message decoder class is c900 LOC, has been running for over a decade, 
and I still have (occasionally) to adjust it when someone does something weird 
that the RFCs do not really allow. I use POP rather than IMAP but I can post a 
copy here if wanted (or you can give me an address to post it to)


Roy Lambert


--
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
___
synalist-public mailing list
synalist-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synalist-public


[Synalist] HTTPSend & redirects

2016-06-08 Thread Roy Lambert
At some point the FT changed how they had images in their emails. Things now 
disappear into a mass of redirects - no problem BUT I end up with a 500 error.

I use a loop with HTTPSend..HTTPMethod('GET', url);

Starting with

http://li.ft.com/imp?s=178326=1x1=in-todays-ft=n...@nlh.co.uk=8430143520236

and using the location returned in the header I get the following trail



301 = Moved Permanently
http://p.liadm.com/imp?s=178326=1x1=in-todays-ft=7d018df1bddd1b258eeb9b800a3b2ab8=1d78dc7106fea30f18ae253a76160190540a2d61=b8caeea3d255bccc1fe227f851ac177fd1df9734eb589f48d4abf828f061ee99=8430143520236=nlh.co.uk
302 = Moved Temporarily
http://p.liadm.com/ul_cb/imp?s=178326=1x1=in-todays-ft=7d018df1bddd1b258eeb9b800a3b2ab8=1d78dc7106fea30f18ae253a76160190540a2d61=b8caeea3d255bccc1fe227f851ac177fd1df9734eb589f48d4abf828f061ee99=8430143520236=nlh.co.uk
302 = Moved Temporarily
http://x.bidswitch.net/sync?ssp=liveintent_uuid=${USER_ID}_id=5298_url=http%3A%2F%2Fp.liadm.com%2Fmatch_g%3Fbidder_id%3D5298%26muuid%3D${MUUID}=RTJ5Y19QIGA1AiEeRgtrWlkzUFVhVV0JXhtBN31UJWo=
302 = Moved Temporarily
http://x.bidswitch.net/ul_cb/sync?ssp=liveintent_uuid=${USER_ID}_id=5298_url=http%3A%2F%2Fp.liadm.com%2Fmatch_g%3Fbidder_id%3D5298%26muuid%3D${MUUID}=RTJ5Y19QIGA1AiEeRgtrWlkzUFVhVV0JXhtBN31UJWo=
302 = Moved Temporarily
//p.liadm.com/match_g?bidder_id=5298_uuid=
500 =


If I prepend http: to the last location things do continue and I eventually 
reach the result

Is there a better way of handling redirects, and especially where the url is 
malformed?


Roy Lambert

--
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity 
planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e
___
synalist-public mailing list
synalist-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synalist-public


Re: [Synalist] Trying to use an API with SSL and HTTP POST

2016-04-01 Thread Roy Lambert
Jeff

> Hi Tony and Roy (I'm used to seeing {Team Elevate] after your name

Gave that up yonks ago

> Roy
>
> I have now acquired ssleay32.dll v1.0.2.1 and  libeay32.dll
> v1.0.1.5.
>
> Now I get a different error "SSL/TLS not compiled!"

Not sure how having two different versions would affect things but I suspect 
its inadvisable.

Lukas gave me this link https://indy.fulgan.com/SSL/ it has pretty much all the 
versions on it.

Roy


--
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785471=/4140___
synalist-public mailing list
synalist-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synalist-public


Re: [Synalist] Trying to use an API with SSL and HTTP POST

2016-03-31 Thread Roy Lambert
Jeff

I don't know if it affects what you're trying to do but Google are looking for 
the latest level of security. It may be that the version of libeay32.dll and 
ssleay32 you have aren't recent enough.

Its a bit of a problem at the moment - for my mail and news client I had to 
find a version that was acceptable to elevatesoft & embarcadero, and yesterday 
to get my business app to access a gmail account I had to find the bit in gmail 
that tells it to accept lower security levels.

I'm currently using 1.0.1q libraries but there is a 1.0.2 something out whih 
may be what you need

Roy Lambert


--
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785471=/4140
___
synalist-public mailing list
synalist-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synalist-public


Re: [Synalist] Which version of TLS does synapse support

2016-02-29 Thread Roy Lambert
Lukas

I've "solved" it for now - I decided to work backwards and find a version that 
worked - 1.0.1q handles both of the newsgroups for me.


Roy Lambert


--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151=/4140
___
synalist-public mailing list
synalist-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synalist-public


Re: [Synalist] Which version of TLS does synapse support

2016-02-29 Thread Roy Lambert
Lukas


>> S: 13 : 10091,error:14082174:SSL routines:SSL3_CHECK_CERT_AND_ALGORITHM:dh 
>> key too small
>
>This is not error on your side. It meaning - server using too small
>DH key. And small DH key is disabled in newer OpenSSL as prevention
>to Logjam attack. See the https://weakdh.org/

Thanks for the response. On the basis I'm unlikely to get Idera to change the 
embarcadero forums is there anything I can do?

Roy

--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151=/4140
___
synalist-public mailing list
synalist-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synalist-public


Re: [Synalist] Which version of TLS does synapse support

2016-02-28 Thread Roy Lambert
Lukáš


>Very old builds! Use some latest build. Look at here:
>https://indy.fulgan.com/SSL/ and download some latest 1.0.1 build.
>It is openssl-1.0.1r-i386-win32.zip now.

Very nice link - thanks - its now bookmarked. 1.0.1r is the version I'd managed 
to find when I realised I was using 64bit dlls.

>As I said before - you not need it! Just use default LT_all SSLType. It
>use best available encryption. Or you need to disable protocol
>autonegotiate?

I'm now using the latest trunk from synapse, the latest 32bit dlls, doing it as 
you say I should and as I said in my other email

It works on the elevatesoft website with the 32bit dlls but not on the 
embarcadero ones. The 64 bit dlls are the other way round.

The 32 bit dlls with embarcadero give me

S: 13 : 10091,error:14082174:SSL routines:SSL3_CHECK_CERT_AND_ALGORITHM:dh key 
too small

I seem to recall something like this recently

Roy

--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151=/4140___
synalist-public mailing list
synalist-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synalist-public


[Synalist] Eureka

2016-02-28 Thread Roy Lambert
Dirk / Lukas / Petr


I had a small brainwave - I have been using 64 bit dlls (I think) not 32 bit 
ones. Swapped over to 32 bit ones and its working. Or so I thought.

It works on the elevatesoft website with the 32bit dlls but not on the 
embarcadero ones. The 64 bit dlls are the other way round.

The 32 bit dlls with embarcadero give me

S: 13 : 10091,error:14082174:SSL routines:SSL3_CHECK_CERT_AND_ALGORITHM:dh key 
too small

with FullSSL true and AutoTLS either true or false


As a side question how do I know if a dll is 32 or 64 bit? I've never had to 
bother about it before

Roy Lambert


--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151=/4140
___
synalist-public mailing list
synalist-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synalist-public


Re: [Synalist] Which version of TLS does synapse support

2016-02-28 Thread Roy Lambert
Dirk

Thanks - that'a the one I eventually found


Roy Lambert


--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151=/4140
___
synalist-public mailing list
synalist-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synalist-public


Re: [Synalist] Which version of TLS does synapse support

2016-02-28 Thread Roy Lambert
Lukáš

I've found and downloaded what I assume is the latest 
(synalist-code-203-trunk.zip) same problem.

That version seems to have the patch I found on the web. If I specifically 
select News.Sock.SSL.SSLType := LT_TLSv1_2 I get

S: 13 : 10091,error:140A90C4:SSL routines:SSL_CTX_new:null ssl method passed
report situation where communication error occured.


Roy Lambert


--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151=/4140___
synalist-public mailing list
synalist-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synalist-public


Re: [Synalist] Which version of TLS does synapse support

2016-02-28 Thread Roy Lambert
Lukáš


>As I said before a moment - try some latest version from the 1.0.1
>branch instead. I heard about some issues with connection from 1.0.2
>version to outlook.com. Maybe you have a similar issue.


So far I've definitely tried 0.98, 1.0.0.7, 1.0.1.3 and 1.0.2.5 with equal lack 
of success.

Searching the web I found a patch from someone to add in the functionality. 
Part is

_SslMethodTLSV11 := GetProcAddr(SSLLibHandle, 'TLSv1_1_method');
_SslMethodTLSV12 := GetProcAddr(SSLLibHandle, 'TLSv1_2_method');

now I can see the functions in the dll (using Nirsoft's dllexp.exe) but the 
above methods don't import the functions.

It may be as you say and I need the latest synapse - where is the svn please?

Roy

--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151=/4140___
synalist-public mailing list
synalist-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synalist-public


Re: [Synalist] Which version of TLS does synapse support

2016-02-28 Thread Roy Lambert
Lukáš

>Please, look at message from Petr Fejfar, and try to debug it. ;-)

I have been trying, with the general level of success I experience when 
debugging others code :)

Roy


--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151=/4140___
synalist-public mailing list
synalist-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synalist-public


Re: [Synalist] Which version of TLS does synapse support

2016-02-28 Thread Roy Lambert
Dirk

I think I may have found the problem. I searched the synapse file for TLSv1_1 
and its not in ssl_openssl or ssl_openssl_lib only in ssl_cryptlib (and that 
has other bits missing) .

Which version of synapse are you using.


Roy Lambert


--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151=/4140
___
synalist-public mailing list
synalist-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synalist-public


Re: [Synalist] Which version of TLS does synapse support

2016-02-28 Thread Roy Lambert
Dirk

>You can use the pop3->sock->OnStatus and OnMonitor to watch what is
>going on.

I tried this - OnStatus works, but when I tried to hook up an OnMonitor event I 
got AVs after the News.Login

Roy

--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151=/4140
___
synalist-public mailing list
synalist-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synalist-public


Re: [Synalist] Which version of TLS does synapse support

2016-02-27 Thread Roy Lambert
Thanks for the comments. NNTPSend is happy to connect to embarcadero but not 
elevatesoft so I think its at their end. I've been told that Xananews works so 
I'm going to try that and if so try and find out what's happening.

Roy Lambert


"petr.fej...@seznam.cz" <petr.fej...@seznam.cz> wrote on Sat, 27 Feb 2016 
14:04:19 +0100
> > S: 13 : 10091,Network subsystem is unusable
>
>One possible reason of 10091error in Synapse is, that underlying
>SSL layer is not configured properly. Did you check whether:
>
> - ssl_openssl.pas unit is included in your uses clause in .dpr file
>
> - openssl related .dlls (libeay32.dll and ssleay32.dll) are in the same
> folder as you executable
>
>#
>
>If so, the easiest way is IMHO to put breakpoint on
>TTcpBlockSocker.SSLDoConnext()
>method and trace it down into SSL layer i.e. methods like
>TSSLOpenSSL.Connect(),
>Init() and inspect values of TSSLOpenSSL.FLastError after each SSL
>related operation.
>
>pf
>
>--
>Site24x7 APM Insight: Get Deep Visibility into Application Performance
>APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
>Monitor end-to-end web transactions and take corrective actions now
>Troubleshoot faster and improve end-user experience. Signup Now!
>http://pubads.g.doubleclick.net/gampad/clk?id=272487151=/4140
>___
>synalist-public mailing list
>synalist-public@lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/synalist-public
>


--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151=/4140
___
synalist-public mailing list
synalist-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synalist-public


Re: [Synalist] Which version of TLS does synapse support

2016-02-27 Thread Roy Lambert
Dirk

Thanks for the help so far. It seems I've missed out a piece of information - 
I'm using NNTPSend.

OnMonitor isn't being called, OnStatus is

procedure TForm1.SockStatus(Sender: TObject; Reason: THookSocketReason; const 
Value: string);
begin
memo4.lines.Add('S: ' + IntToStr(Integer(Reason)) + ' : ' + Value);
memo4.lines.Add(sl[Integer(Reason)]); // sl is the description 
forTHookSocketReason
end;

Setting

News.FullSSL := True;
News.Sock.SSL.SSLType := LT_TLSv1_1;

I get

S: 3 :
Socket closed by CloseSocket method.
S: 0 : www.elevatesoft.com:563
Resolving is begin. Resolved IP and port is in parameter in format like: 
"localhost.somewhere.com:25"
S: 1 : 108.178.42.202:563
Resolving is done. Resolved IP and port is in parameter in format like: 
"localhost.somewhere.com:25". It is always same as in HR_ResolvingBegin!
S: 2 : IPv4
Socket created by CreateSocket method. It reporting Family of created socket 
too!
S: 5 : www.elevatesoft.com:563
Socket connected to IP and Port. Connected IP and Port is in parameter in 
format like: "localhost.somewhere.com:25"
S: 13 : 10091,Network subsystem is unusable
report situation where communication error occured. When raiseexcept is @true, 
then exception is called after this Hook reason.
S: 3 :
Socket closed by CloseSocket method.


Roy Lambert


--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151=/4140
___
synalist-public mailing list
synalist-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synalist-public


Re: [Synalist] Which version of TLS does synapse support

2016-02-27 Thread Roy Lambert
Dirk

With News.AutoTLS := False;
News.FullSSL := False;
News.Sock.SSL.SSLType := LT_TLSv1_1;

---
Project1
---
Sock: Connection timed out
SSL: - 0
---
OK
---

I'm not sure if this is a step forward or not.

Roy Lambert


--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151=/4140
___
synalist-public mailing list
synalist-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synalist-public


Re: [Synalist] Which version of TLS does synapse support

2016-02-26 Thread Roy Lambert
Michael

>> I need to use TLS 1.1 or 1.2 to connect.
>
>1.1 at least with openssl.
>It actually depends on the library you use: openssl or cryptolib

Thanks for the answer. I'm using openssl, 1.0.2.5 libeay32.dll & ssleay32.dll 
which should work then. All I have to do now is figure out why it doesn't :(

Roy


--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151=/4140
___
synalist-public mailing list
synalist-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synalist-public


[Synalist] Which version of TLS does synapse support

2016-02-26 Thread Roy Lambert
The title says it all really. Using version 40 of synapse

I need to use TLS 1.1 or 1.2 to connect.

What I'm doing is

News.TargetPort := '563';
News.AutoTLS := AutoTLS.Checked;
News.FullSSL := FullSSL.Checked;
News.TargetHost := trim(mo.lines[0]);
News.Username := trim(mo.lines[1]);
News.Password := trim(mo.lines[2]);
if News.Login then showmessage('yippee') else showmessage(
'Sock: ' + news.Sock.LastErrorDesc
+ #13 +
'SSL: ' + news.Sock.SSL.LastErrorDesc
+ ' - ' + IntToSTr(news.Sock.SSL.LastError));


If I set FullSSL := True and AutoTLS := False I get

---
Project1
---
Sock: Network subsystem is unusable
SSL: - 0
---
OK
---

FullSSL := False and AutoTLS := True I get

---
Project1
---
Sock: Connection reset by peer
SSL: - 0
---
OK
---


Roy Lambert

--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151=/4140
___
synalist-public mailing list
synalist-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synalist-public


[Synalist] 10054 Connection reset by peer

2015-11-12 Thread Roy Lambert
I've added a utility to my app to go through and check if the websites I have 
for companies are valid.

Effectively I do a pingsend.ping and it that fails I follow up with 
httpsend.HTTPMethod('GET', URL)

This works well for the majority of cases but out of the 500ish I've tried I've 
found one (www.canford.co.uk) where it fails both, but is accessible on the web.

The intention is (already programmed) to have a background task which will 
check the c6000 companies on file and flag those that aren't OK. Its throttled 
to 1000 companies a day with a delay between check interval for any given 
company of 3 months (well 90 days)

I've added manual interventions for cases like this one but I'd like to 
understand why I can go into a browser and access it but not using synapse.


Roy Lambert

--
___
synalist-public mailing list
synalist-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synalist-public


Re: [Synalist] GMail POP

2015-10-01 Thread Roy Lambert
Ralf


>> Its a while since I needed to access a gmail account using my app. It used 
>> to work and now doesn't. Other email servers are still happy. Can anyone 
>> tell me what gmail now wants?
>The right ports?
>For quite a while, GMail is not using the standard, unsecured
>POP/SMTP/IMAP ports anymore. It is using (actually for years now), POP
>with SSL over port TCP/995 instead of the default POP3 port of TCP/110...

Yup I'm using 995 & 465 with SSL

Roy

--
___
synalist-public mailing list
synalist-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synalist-public


[Synalist] GMail POP

2015-09-30 Thread Roy Lambert
Its a while since I needed to access a gmail account using my app. It used to 
work and now doesn't. Other email servers are still happy. Can anyone tell me 
what gmail now wants?



Roy Lambert

--
___
synalist-public mailing list
synalist-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synalist-public


[Synalist] DecodeURL / EncodeURL

2015-04-14 Thread Roy Lambert
I'm changing from HTMLViewer to the HCL components 
(http://www.delphihtmlcomponents.com). One problem is that their equivalent of 
OnGetImage sends a decoded image url

eg

www.b2bemailer.com/email/admin/resources/email_templates/Business/Generic 5 (1 
Column)/bkg_header_top.gif



Unfortunately THTTPSend.HTTPMethod('GET', imageURL) returns 404 with the 
decoded version whereas the encoded version

http://www.b2bemailer.com/email/admin/resources/email_templates/Business/Generic%205%20%281%20Column%29/bkg_header_top.gif

works properly and gives 200.

I can easily encode the url but if its already encoded I get

http://www.b2bemailer.com/email/admin/resources/email%5Ftemplates/Business/Generic%25205%2520%25281%2520Column%2529/bkg%5Fheader%5Ftop.gif

The only way I can think of is to HTTPMethod('GET', URLassupplied) and if that 
404s try HTTPMethod('GET', encodedurl). Do you have any better suggestion?


Roy Lambert

--
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15utm_medium=emailutm_campaign=VA_SF
___
synalist-public mailing list
synalist-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synalist-public


Re: [Synalist] Decoding email address and destination name

2014-02-22 Thread Roy Lambert
Dirk

That approach was one I considered way back (c12 years ago). Strangely enough I 
can't remember why I discounted it but it was probably something in one or more 
of the addresses that ignored the rfcs and was delivered anyway.


Roy Lambert


--
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121054471iu=/4140/ostg.clktrk
___
synalist-public mailing list
synalist-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synalist-public


Re: [Synalist] Decoding email address and destination name

2014-02-21 Thread Roy Lambert
Lukas

 Has anyone out there developed a routine to split the name and email
 address that will handle all of the variations allowed by the RFC?

 Mine does a pretty good job but I just received one addressed to:

 Roy Lambert roy@lybster. me. uk r...@lybster.me.uk

Standard Synapse functions like getemailaddr and getemaildesc does
not work?

Unfortunately not. For a test I'm using

Roy Lambert roy@nlh. co. uk y...@xnlh.co.ukz

your routines (both my old version and the one I've just checked from 
sourceforge) are slightly better than my earlier version but suffer from using 
 as the separators. In the TO: header that gave me problems there's a version 
of the email address embedded in the name descriptor. I have no idea why but 
one thing I've become used to over the years is accommodating the rubbish that 
some mail clients send out :(

Roy

--
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121054471iu=/4140/ostg.clktrk
___
synalist-public mailing list
synalist-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synalist-public


[Synalist] Decoding email address and destination name

2014-02-17 Thread Roy Lambert
Has anyone out there developed a routine to split the name and email address 
that will handle all of the variations allowed by the RFC?

Mine does a pretty good job but I just received one addressed to:

Roy Lambert roy@lybster. me. uk r...@lybster.me.uk


It extracted the address including spaces and then promptly deleted it from the 
server because it wasn't a valid address.


Roy Lambert

--
Android apps run on BlackBerry 10
Introducing the new BlackBerry 10.2.1 Runtime for Android apps.
Now with support for Jelly Bean, Bluetooth, Mapview and more.
Get your Android app in front of a whole new audience.  Start now.
http://pubads.g.doubleclick.net/gampad/clk?id=124407151iu=/4140/ostg.clktrk
___
synalist-public mailing list
synalist-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synalist-public


[Synalist] Editing html emails

2013-05-18 Thread Roy Lambert
I'm thinking of moving to Lazarus/FPC from Delphi. One thing I would need is a 
replacement for WPTools which I use to write emails / letters. I know there are 
Synapse users who do email.

Any suggestions?



Roy Lambert

--
AlienVault Unified Security Management (USM) platform delivers complete
security visibility with the essential security capabilities. Easily and
efficiently configure, manage, and operate all of your security controls
from a single console and one unified framework. Download a free trial.
http://p.sf.net/sfu/alienvault_d2d
___
synalist-public mailing list
synalist-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synalist-public


Re: [Synalist] Editing html emails

2013-05-18 Thread Roy Lambert
Danie

 I am thinking of providing my lazarus email program as gnu license
 demo - considering a project at sourceforge, but would you be
 interested to have it on the wiki or such. The purpose of the
 program is to also provide a commandline interface as well, similar
 to the sendmail - perl, I think - program.

That's a generous offer and I think the community will say thank you.

 I am not strong on the UUencode part yet and I focused on plain text
 only but started to allow for expasion. What would be your
 requirements?

I already have the code for writing and sending emails using Delphi (using 
Synapse naturally), and I know there replacement components or I can write my 
own but I really don't want to have to write a word processor. What I'll be 
looking for are the standard formatting capabilities you get in OE etc.

BTW its MIME you need to look at not UUEncode. In general terms UUEncode is 
used for newsgroups to encode and add attachments and mime is used for encoding 
of email messages. Lukas has good stuff for both in Synapse.

Roy

--
AlienVault Unified Security Management (USM) platform delivers complete
security visibility with the essential security capabilities. Easily and
efficiently configure, manage, and operate all of your security controls
from a single console and one unified framework. Download a free trial.
http://p.sf.net/sfu/alienvault_d2d
___
synalist-public mailing list
synalist-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synalist-public


Re: [Synalist] Base64 decoding

2013-02-08 Thread Roy Lambert
Lukas

Some compound characters aren't being displayed properly. The best way to 
explain it is with the function I use:

procedure TMsgDecoder.RemoveWeirdCharacters;
const
WeirdBase = Char(226) + Char(128);
Weird1 = WeirdBase + Char(157);
Weird2 = WeirdBase + Char(156);
Weird3 = WeirdBase + Char(153);
Weird4 = WeirdBase + Char(148);
Weird5 = WeirdBase + Char(147);
Weird6 = WeirdBase + Char(152);
Weird7 = WeirdBase + '¦';
begin
if 0  Pos(WeirdBase, iBody.Text) then begin
iBody.Text := StringReplace(iBody.Text, Weird1, '', [rfReplaceAll]);
iBody.Text := StringReplace(iBody.Text, Weird2, '', [rfReplaceAll]);
iBody.Text := StringReplace(iBody.Text, Weird3, #39, [rfReplaceAll]);
iBody.Text := StringReplace(iBody.Text, Weird4, #39, [rfReplaceAll]);
iBody.Text := StringReplace(iBody.Text, Weird5, '', [rfReplaceAll]);
iBody.Text := StringReplace(iBody.Text, Weird6, #39, [rfReplaceAll]);
iBody.Text := StringReplace(iBody.Text, Weird7, '', [rfReplaceAll]);
end;
iBody.Text := StringReplace(iBody.Text, #194, '', [rfReplaceAll]);
end;

I use HTMLViewer for display. It may be that that component should do the 
translation, but without the function above things aren't displayed properly 
(I've noticed the same thing in some eBooks I have and wrote a small Delphi app 
to change them).

I don't know if its the Base64 decoding that's wrong or HTMLViewer so for now 
I've just bolted the function in as a quick fix. If its HTMLViewer I'll start 
hunting in that code. Your's is much easier to work with!


Roy Lambert


--
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013 
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb___
synalist-public mailing list
synalist-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synalist-public


Re: [Synalist] Base64 decoding

2013-02-08 Thread Roy Lambert
Lukas

Maybe some UTF-8 encoding, or something similar? Or error after bad
charset conversion? AFAIK it is not a base64 problem, just some
charset issue.

OK so probably not much I can do about it other than what I have. Thanks for 
looking at it.

Roy Lambert 

--
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013 
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
___
synalist-public mailing list
synalist-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synalist-public


Re: [Synalist] Base64 decoding

2013-02-08 Thread Roy Lambert
Lukas

Here it is - I hope

Roy Lambert

xxx.eml
Description: Attached file: xxx.eml
--
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013 
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb___
synalist-public mailing list
synalist-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synalist-public


Re: [Synalist] Mime - Split boundary markers

2013-02-05 Thread Roy Lambert
Lukas

Your sample is simple. ;-) Look at more strange example:

 Content-Type: application/x-stuff
 title*0*=us-ascii'en'This%20is%20even%20more%20
 title*1*=%2A%2A%2Afun%2A%2A%2A%20
 title*2=isn't it!

Ouch! I forgot stuff like that was allowed.

Roy

--
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013 
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
___
synalist-public mailing list
synalist-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synalist-public


[Synalist] Base64 decoding

2013-02-05 Thread Roy Lambert
Some of the base64 encoded emails I'm receiving don't seem to be decoded 
properly. I've added an extra function in to sort it out


procedure TMsgDecoder.RemoveWeirdCharacters;
const
WeirdBase = Char(226) + Char(128);
Weird1 = WeirdBase + Char(157);
Weird2 = WeirdBase + Char(156);
Weird3 = WeirdBase + Char(153);
Weird4 = WeirdBase + Char(148);
Weird5 = WeirdBase + Char(147);
begin
if 0  Pos(WeirdBase, iBody.Text) then begin
iBody.Text := StringReplace(iBody.Text, Weird1, '', [rfReplaceAll]);
iBody.Text := StringReplace(iBody.Text, Weird2, '', [rfReplaceAll]);
iBody.Text := StringReplace(iBody.Text, Weird3, , [rfReplaceAll]);
iBody.Text := StringReplace(iBody.Text, Weird4, , [rfReplaceAll]);
iBody.Text := StringReplace(iBody.Text, Weird5, '', [rfReplaceAll]);
end;
end;

I know I could do it more efficiently but this is just a quick fix to stop 
complaints.

Should Synapse sort this out or is the domain of the html display component?


Roy Lambert

--
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013 
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
___
synalist-public mailing list
synalist-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synalist-public


[Synalist] Mime - Split boundary markers

2013-01-14 Thread Roy Lambert
Lukas

I'm using a non-current version of Synapse in D2006 in the email part of my 
app. I'm starting to receive a few awkward emails.

Firstly they have split boundaries ie

Content-Type: multipart/alternative;
 boundary*0==_35234942659e85d316a198bd=22834f06-ec61-5346-995f-07b0d55bfb0;
 boundary*1=c_=


That was easy to fix

Unfortunately I now have some where the boundary is split with the leading -- 
on a different line from the boundary and sometimes with one or more blank 
lines between the -- and the boundary.

Do current versions of Synapse address this?


Roy Lambert

--
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122412___
synalist-public mailing list
synalist-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synalist-public


[Synalist] Dialing with SynaSer

2012-06-14 Thread Roy Lambert
I'm using SynaSer to dial phone numbers from my computer (phone  modem plugged 
into same phone socket). This works well but I'm getting a new DECT headset. 
Dialing full numbers will be no problem but I also need to be able to respond 
to those horrible press 1 for Sales, press 2 for finace, press 3 to go totally 
mad type switchboards.

The best I can manage with SyanSer is to get it to dial just one number and 
then its stuffed. Can someone point me in the right direction?



Roy Lambert

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
synalist-public mailing list
synalist-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synalist-public


[Synalist] Test if website exists

2011-11-27 Thread Roy Lambert
I'm currently using


function ValidateURL(const URL: string): boolean;
var
grab: THTTPSend;
sl: TStringList;
Cntr: integer;
Location: string;
AddSlash: string;
begin
if URL = '' then begin
Result := False;
Exit;
end;
sl := TStringList.Create;
grab := THTTPSend.Create;
grab.Timeout := 2000;
sl.Text := URL;
Result := True;
try
for Cntr := 0 to sl.Count - 1 do begin
if IsURL(sl[Cntr]) then begin
if grab.HTTPMethod('GET', sl[Cntr]) then begin
if (grab.ResultCode div 100)  2 then begin
if grab.ResultCode = 302 then begin
Location := Copy(grab.Headers.Text, Pos('location:', 
LowerCase(grab.Headers.Text)) + 9, MaxInt);
if 0  Pos('opendns.com', LowerCase(Location)) then begin
Result := False;
Break;
end else begin
Location := LowerCase(Copy(Location, 1, Pos(#13, Location) - 1));
if 0  Pos('?', Location) then begin
if URL[Length(URL)] = '/' then AddSlash := '/' else AddSlash := '';
if LowerCase(URL) = Copy(Location, Pos('?url=', Location) + 5, MaxInt) + 
AddSlash then begin
Result := False;
Break;
end;
end;
end;
// have to assume its OK cos I can't do much else
end else begin
Result := False;
Break;
end;
end;
grab.Clear;
end else begin
Result := False;
Break;
end;
end else begin
Result := False;
Break;
end;
end;
finally
grab.Free;
sl.Free;
end;
end;

to see if a website exists. Can anyone suggest a better approach?


Roy Lambert

--
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
___
synalist-public mailing list
synalist-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synalist-public


Re: [Synalist] RE : Changing email address

2011-06-07 Thread Roy Lambert
Ludo

Thanks I had a wander around scourceforge but couldn't find it.

Roy Lambert


--
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
___
synalist-public mailing list
synalist-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synalist-public


[Synalist] multiple lines defining boundary

2011-01-25 Thread Roy Lambert
Lukas

I need to allow for the instance when idiots use the boundary*0 ... boundary*1 
approach

I've altered your code. Its not rigorous but do you think it will suffice?


MP_MULTIPART: begin
FBoundary := GetParameter(s, 'Boundary');
if FBoundary = '' then begin
Cntr := 0;
repeat
tmpBoundary := GetParameter(s, 'Boundary*'+IntToStr(Cntr));
FBoundary := FBoundary + tmpBoundary;
inc(Cntr);
until tmpBoundary = '';
end;
end;



Roy Lambert

--
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
___
synalist-public mailing list
synalist-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synalist-public


Re: [Synalist] Weirdly formatted email

2011-01-19 Thread Roy Lambert
Lukas

 Is this valid?

 MIME-Version: 1.0
 Content-Type: multipart/alternative;
 boundary*0=000
 000; boundary*1=0 X-Antivirus: AVG for E-mail 10.0.1191

Yes, this is valid, but unsupported by Synapse and many other e-mail
programs.

See the http://www.faqs.org/rfcs/rfc2231.html

Had a read - yuck!

Any suggestions for dealing with it?

Roy Lambert 

--
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand 
malware threats, the impact they can have on your business, and how you 
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
___
synalist-public mailing list
synalist-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synalist-public


Re: [Synalist] Get binary (byte by byte) from a HTTP host

2011-01-17 Thread Roy Lambert
silvioprog

You need to load the Document property into a stream eg I download web images 
using HTTPSend. If its successful I do

WebPic.LoadFromStream(FetchImages.Document);


Roy Lambert


--
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand 
malware threats, the impact they can have on your business, and how you 
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
___
synalist-public mailing list
synalist-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synalist-public


[Synalist] double dots

2010-09-16 Thread Roy Lambert
In the last couple of weeks I've had what seems to be a new thing happening in 
emails from two sources (The Register  Talent Scotland). They occur in A 
tags. Its only when the line is chopped and wrapped. The offending string is 
=#13#10.. ie = is the last character on line x and line x+1 starts with two 
dots.


The only real problem is when the link is clicked my browser is unable to 
display the site because (in the case of The Register) the address contains 
www.. rather than www.

At first I thought the problem was my handling of the code, but passing the 
undecoded email to WinMail I get the same problem.

It there something in the RFCs that I haven't managed to spot or is it the 
sender screwing up? More importantly any suggestions?



Roy Lambert

--
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
___
synalist-public mailing list
synalist-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synalist-public


[Synalist] 302 response

2010-07-26 Thread Roy Lambert
No one have a better idea for validaiting this?



Roy Lambert

--
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share 
of $1 Million in cash or HP Products. Visit us here for more details:
http://ad.doubleclick.net/clk;226879339;13503038;l?
http://clk.atdmt.com/CRS/go/247765532/direct/01/
___
synalist-public mailing list
synalist-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synalist-public


[Synalist] Good bad 302 response

2010-07-20 Thread Roy Lambert
Is there a generic way I can differentiate between good and bad 302 response to 
HTTPSend.Method('GET'...) requests?

I'm trying to run through a database automatically and identify all the duff 
URLs but the first response is actually a good website whilst the second one 
isn't.


302 Found
HTTP/1.1 302 Found
Connection: close
Date: Tue, 20 Jul 2010 12:31:08 GMT
Server: Microsoft-IIS/6.0
X-Powered-By: ASP.NET
X-AspNet-Version: 2.0.50727
X-Powered-By: UrlRewriter.NET 1.7.0
Location: /pages/default.aspx
Set-Cookie: 
.ASPXANONYMOUS=8CCaRJleywEkZGY3ZGVlODctNWMxYy00OGMxLWFlNDMtY2M5YjZjNWVlNWZmqKdO1iS0TmeNlfE0ejAILHNC9lY1;
 expires=Mon, 27-Sep-2010 23:11:08 GMT; path=/; HttpOnly
Cache-Control: private
Content-Type: text/html; charset=utf-8
Content-Length: 136


302 Found
HTTP/1.0 302 Found
Location: http://guide.opendns.com/?url=www.bordercircuits.co.uk
Content-type: text/html
Content-Length: 0
Connection: close
Date: Tue, 20 Jul 2010 12:29:10 GMT
Server: OpenDNS Guide


On my machine with my setup I could just check to see if Location contained 
opendns and if so its duff but I need to have it working on any PC

Roy Lambert

--
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
___
synalist-public mailing list
synalist-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synalist-public


Re: [Synalist] Good bad 302 response

2010-07-20 Thread Roy Lambert
Lukas


I would regard this one as good

302 Found HTTP/1.1 302 Found
Connection: close
Date: Tue, 20 Jul 2010 12:31:08 GMT
Server: Microsoft-IIS/6.0
X-Powered-By: ASP.NET
X-AspNet-Version: 2.0.50727
X-Powered-By: UrlRewriter.NET 1.7.0
Location: /pages/default.aspx
Set-Cookie: 
.ASPXANONYMOUS=8CCaRJleywEkZGY3ZGVlODctNWMxYy00OGMxLWFlNDMtY2M5YjZjNWVlNWZmqKdO1iS0TmeNlfE0ejAILHNC9lY1;
 expires=Mon, 27-Sep-2010 23:11:08 GMT; path=/; HttpOnly Cache-Control: private
Content-Type: text/html; charset=utf-8
Content-Length: 136

because it brings up a valid site. Basically its just sending you to a specific 
page in the web site.

This one

302 Found HTTP/1.0 302 Found
Location:http://guide.opendns.com/?url=www.bordercircuits.co.uk
Content-type: text/html
Content-Length: 0
Connection: close Date: Tue, 20 Jul 2010 12:29:10 GMT
Server: OpenDNS Guide

is bad because its redirected to OpenDNS which essentially does a search.

What I'm doing at the moment is

function ValidateURL(const URL: string): boolean;
var
grab: THTTPSend;
sl: TStringList;
Cntr: integer;
Location: string;
AddSlash: string;
begin
if URL = '' then begin
Result := False;
Exit;
end;
sl := TStringList.Create;
grab := THTTPSend.Create;
grab.Timeout := 600;
sl.Text := URL;
Result := True;
try
for Cntr := 0 to sl.Count - 1 do begin
if IsURL(sl[Cntr]) then begin
if grab.HTTPMethod('GET', sl[Cntr]) then begin
if (grab.ResultCode div 100)  2 then begin
if grab.ResultCode = 302 then begin
Location := Copy(grab.Headers.Text, Pos('location:', 
LowerCase(grab.Headers.Text)) + 9, MaxInt);
Location := LowerCase(Copy(Location, 1, Pos(#13, Location) - 1));
if 0  Pos('?', Location) then begin
if URL[Length(URL)] = '/' then AddSlash := '/' else AddSlash := '';
if LowerCase(URL) = Copy(Location, Pos('?url=', Location) + 5, MaxInt) + 
AddSlash then begin
Result := False;
Break;
end;
end;
// have to assume its OK cos I can't do much else
end else begin
Result := False;
Break;
end;
end;
grab.Clear;
end else begin
Result := False;
Break;
end;
end else begin
Result := False;
Break;
end;
end;
finally
grab.Free;
sl.Free;
end;
end;

but I'm not happy that it will cover even most eventualities.


Roy Lambert


--
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
___
synalist-public mailing list
synalist-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synalist-public


[Synalist] Threaded app problem with TMimeMess (I think)

2010-02-08 Thread Roy Lambert
Lukas

I'm having trouble tracking down a problem in a threaded part of my app. I've 
been commenting stuff out and it looks as though TMimeMess could be the problem.

aSource: TMimeMess; is defined as a local var to the function


aSource := TMimeMess.Create;
aSource.Clear;
aSource.Lines.Text := FldStr;
aSource.DecodeMessage;
for Cntr := 0 to aSource.MessagePart.GetSubPartCount - 1 do begin
with aSource.MessagePart.GetSubPart(Cntr) do begin
if LowerCase(Disposition) = 'attachment' then begin
fName := LowerCase(filename);
if fName = '' then fExtn := '.txt' else fExtn := ExtractFileExt(fName);
Delete(fExtn, 1, 1);
if not IsUnsearchableFile(fExtn) then begin
Decodepart;
DecodedLines.Position := 0;
...
...

is this liable to cause a problem? If so any recommendations as to how to solve 
it?


Roy Lambert

--
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
___
synalist-public mailing list
synalist-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synalist-public


Re: [Synalist] Threaded app problem with TMimeMess (I think)

2010-02-08 Thread Roy Lambert
Markku

That's a bit difficult since the coderunning in the thread is in an external 
module loaded by ElevateDB at run time and depending on how much I comment out 
I get different errors. eg with the following


function AttachSearch(const LstStr, FldStr, TstStr, CompStr, CI: string): 
boolean;
var
DocumentText: string;
Cntr: integer;
fExtn: string;
fName: string;
Reversing: boolean;
ms: TMemoryStream;
aSource: TMimeMess;
dotDoc: TMSWordDocument;
dotDocX: TMSWordXDocument;
dotWPD: TWordPerfectFile;
dotWRI: TWRIFile;
dotPDF: TSMPDFReader;
begin
{UDF mask is AttachSearch(_aList, _Encoded, '$T', '$V', $Case)}
Result := False;
if (LstStr = '') or (CompStr = '') then Exit;
Reversing := 0  Pos(' not ', TstStr);
aSource := TMimeMess.Create;
{
..
..
}
aSource.Free;
end;

I get an AV

Run just one thread and everything's fine. Run two and kerpow.

Roy Lambert


--
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
___
synalist-public mailing list
synalist-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synalist-public


Re: [Synalist] Threaded app problem with TMimeMess (I think)

2010-02-08 Thread Roy Lambert
jasonpsage

Can you maybe write a serializer for it? Or would that defeat the
purpose of multi-threading here in the first place?

Yes and yes

Roy Lambert 

--
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
___
synalist-public mailing list
synalist-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synalist-public


Re: [Synalist] Threaded app problem with TMimeMess (I think)

2010-02-08 Thread Roy Lambert
Wily

I think you need to continue your binary search debugging (== commenting
out stuff). You seem to be very lucky in this case, at least inferring from
your statement that running a 2nd thread gets you to kerpow quite
reliably. That's a blessing with threads...

You'd think so but if you look at the bit of code left there's nothing left to 
AV

Just continue knocking out strategic (large, if possible) sections of your
code (making sure that instantiations are matched--included or excluded--
with their associated releases--ie. if you comment out an object creation,
make sure its destruction is commented out too), till you find what triggers
the problem and what doesn't... BUT, sometimes you need to follow the
problem areas INTO calls, as you narrow things down, to identify the true
issues. Using FastMM4 with the advanced debugging options on, can often
help too...

Very good advice and all done.

If you already narrowed it down to TMimeMess, it may be time to single-step
through those calls, or some other debugging techniques...

But then when out walking the dog I realised I that my main  news reader I 
remembered I'd been using TMimeMess in background threads for ages.

It has to be some horrible complex interaction of something. The last one like 
this (several years ago now) took months to track down. At least this time its 
not intermittent.

Roy Lambert

--
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
___
synalist-public mailing list
synalist-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synalist-public


Re: [Synalist] Threaded app problem with TMimeMess (I think)

2010-02-08 Thread Roy Lambert
Wily


A-hah. Uhh... still got nothin' g... But I still don't get the sense
that you've isolated the failure point anywhere near enough.

Snap, so the next move is a test bed.

There are some classes I don't recognize in the small snippet of code you
posted too. I assume they've gone through the commenting out process
already?

Oh yes :(

Was FastMM4, with compile debugging options set to 11 (ludicrous speed --
obscure movie reference...), no help? That would at least help with things
like double frees, ruling out entire classes of problems.

Not sure about 11 but its set to full debug mode in the IDE plus MadExcept

 I remembered I'd been using TMimeMess in background threads for ages 

Yup. I didn't even need to walk your dog to remember that...

If you can remember that maybe you can help me with some other old code g

 It has to be some horrible complex interaction of something. 

It always seems like that, yet 8/9 times out of 10 (in problems with this
smell), it falls far short of horribly complex to be satisfying! For me,
it often comes down to, Jeez! All that, for just this?!?

Hmm that brings back memories.

 The last one like this (several years ago now) took months to track down.
At least this time its not intermittent. 

Yeah. I think I remember that one too. In fact, I think I remember more
than a few stouts were to be poured, in more than one forum ... were they
in Elevate, CompuServe?... No matter. Nowadays, maybe we should pour the
beers WHILE attempting to solve the problem, not in celebration of its
solution g. Yup. Sounds good to me. I'm headin' for the bar...

It was Elevate DBISAM eventually I found something that would replicate the 
problem consistently and Tim fixed it.

Thanks for the comments and support.

Roy Lambert 

--
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
___
synalist-public mailing list
synalist-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synalist-public


Re: [Synalist] Threaded app problem with TMimeMess (I think)

2010-02-08 Thread Roy Lambert
jasonpsage

I was using the BMThread components but dropped them so that I could get closer 
to the problem. I'm still not close enough though

Roy Lambert


--
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
___
synalist-public mailing list
synalist-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synalist-public


[Synalist] To, CC From header formats

2010-01-12 Thread Roy Lambert
I've been doing a bit of work on my email subsystem because I had an email 
which contained a From header formatted in a way I hadn't allowed for. I'm 
currently allowing for these variations

supp...@scalabium.com (Swetlana Novikova)
t.char...@imr-assistance.co.uk
Susan Hopper susan.hop...@ttelectronics.com
Steven WINDMILL at CVPoster steven.windm...@blueyonder.co.uk
Andrew Stringer andy.strin...@kleurope.com
Hiley, Trisha phi...@farnell.com
susan.hop...@ttelectronics.com Susan Hopper
andy.strin...@kleurope.com Andrew Stringer
Does anyone have any to add?

Also the only multiple addresses I've had in the To or CC fields are of the 
format:

email, email

Any ideas which others I should allow for?


Roy Lambert

--
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
___
synalist-public mailing list
synalist-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synalist-public


[Synalist] Length of Message-ID header

2010-01-05 Thread Roy Lambert
To allow me to detech duplicates I store the message-id in a database field. I 
have this currently defined as VARCHAR(80). I've started to receive some emails 
with a message-id length of 99 (ridiculous but out of my control). What length 
do others who store this header separately use ?



Roy Lambert

--
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
___
synalist-public mailing list
synalist-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synalist-public


Re: [Synalist] Adding attachments to existing mime message

2009-10-11 Thread Roy Lambert
Jason

For what its worth

procedure TViewHistoryForm.AddAttachment1Click(Sender: TObject);
var
Coded: TMimeMess;
TopPart: TMimePart;
Cntr: integer;
attList: TStringList;
sr: TSearchRec;
begin
if OpenDialog1.Execute then begin
if (ELN.State in dsEditModes) or GetRecordLock(ELN) then begin
editOrInsert(EditItem);
ELN_Encoding.AsString := etMime;
Coded := TmimeMess.Create;
TopPart := Coded.AddPartMultipart('mixed', nil);
if not ELN_Encoded.IsNull then begin
Coded.Lines.Assign(ELN_Encoded);
Coded.DecodeMessage;
end;
attList := TStringList.Create;
attList.Assign(ELN_aList);
for Cntr := 0 to OpenDialog1.Files.Count - 1 do begin
if FindFirst(OpenDialog1.Files[Cntr], faAnyFile, sr) = 0 then begin
Coded.AddPartBinaryFromFile(OpenDialog1.Files[Cntr], TopPart);
attList.Add(ExtractFileName(OpenDialog1.Files[Cntr]) + FldSep + 
BytesToKbMb(sr.Size));
end else nlhMessageDlg('Unable to find the desired file', mtError, [mbOK], 0);
FindClose(sr);
end;
Coded.EncodeMessage;
ELN_Encoded.Assign(Coded.Lines);
ELN_aList.Assign(attList);
Coded.Free;
attList.Free;
end else nlhMessageDlg('Unable to lock the record.', mtError, [mbOK], 0);
end;
end;


Roy Lambert


--
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
___
synalist-public mailing list
synalist-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synalist-public


[Synalist] Adding attachments to an existing mimemess

2009-10-10 Thread Roy Lambert
I want to alter the way I add additional files as attachments to an existing 
mimemessage. Currently I decompose the message, park all the attachments into a 
memory table, add the new attachments into that table and then rebuild the 
message.

What I'm hoping to do is just add the new attachment but I'm having a thick 
day and can't manage it.

Help please.



Roy Lambert

--
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
___
synalist-public mailing list
synalist-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synalist-public


[Synalist] Adding attachments to existing mime message

2009-10-10 Thread Roy Lambert
Cracked it.


Roy Lambert

--
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
___
synalist-public mailing list
synalist-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synalist-public


[Synalist] TPOP3Send speed

2009-07-23 Thread Roy Lambert
I'm converting an app from D6 and TMail2000 to D2006 and Synapse (bit more 
complex than that but those are the important bits for here) and I've noticed 
that Synapse is running quite a bit slower than TMail2000. I like Synapse and 
its got lots of stuff in it but this is the first time I've been in a position 
to compare directly. For the block of email headers (54 of them) I'm 
downloading the difference is TMail2000 c15 secs and Synapse c20 secs.

Its a couple of years since I last downloaded Synapse so I don't know if 
there's been anything done recently which might speed it up.

I'll be staying with Synapse anyway but if it went a bit faster I wouldn't 
object g



Roy Lambert

--
___
synalist-public mailing list
synalist-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synalist-public


Re: [Synalist] SQLite

2009-06-23 Thread Roy Lambert
Lukas

Brilliant - thanks.


Roy Lambert


--
Are you an open source citizen? Join us for the Open Source Bridge conference!
Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250.
Need another reason to go? 24-hour hacker lounge. Register today!
http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org
___
synalist-public mailing list
synalist-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synalist-public


[Synalist] SQLite

2009-06-22 Thread Roy Lambert
Lukas

I've just discovered your wrapper for SQLite. Is there any sort of demo? If not 
no big deal I'm sure I can figure out how to use it.

Roy Lambert

--
Are you an open source citizen? Join us for the Open Source Bridge conference!
Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250.
Need another reason to go? 24-hour hacker lounge. Register today!
http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org
___
synalist-public mailing list
synalist-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synalist-public


Re: [Synalist] SQLite

2009-06-22 Thread Roy Lambert
Lukas

No problem. I'm sure you have better things to do with your free time so I'll 
start playing g

Roy Lambert


--
Are you an open source citizen? Join us for the Open Source Bridge conference!
Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250.
Need another reason to go? 24-hour hacker lounge. Register today!
http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org
___
synalist-public mailing list
synalist-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synalist-public


Re: [Synalist] SQLite

2009-06-22 Thread Roy Lambert
Lukas

I don't suppose you have, or know where there is, a Windows binary for fts3?


Roy Lambert


--
Are you an open source citizen? Join us for the Open Source Bridge conference!
Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250.
Need another reason to go? 24-hour hacker lounge. Register today!
http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org
___
synalist-public mailing list
synalist-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synalist-public


Re: [Synalist] OpenSSL

2009-05-29 Thread Roy Lambert
Diego

Thanks, I've now started testing, and as you say - it works.

Roy Lambert


--
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT 
is a gathering of tech-side developers  brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing,  
iPhoneDevCamp as they present alongside digital heavyweights like Barbarian 
Group, R/GA,  Big Spaceship. http://p.sf.net/sfu/creativitycat-com 
___
synalist-public mailing list
synalist-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synalist-public


Re: [Synalist] OpenSSL

2009-05-28 Thread Roy Lambert
Alexander

Thanks for the links but from Diego's post I don't need them (I hope).

Roy Lambert


--
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT 
is a gathering of tech-side developers  brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing,  
iPhoneDevCamp as they present alongside digital heavyweights like Barbarian 
Group, R/GA,  Big Spaceship. http://p.sf.net/sfu/creativitycat-com 
___
synalist-public mailing list
synalist-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synalist-public


[Synalist] Webscraper

2009-05-08 Thread Roy Lambert
Has anyone built a webscraper and if so are you willing to share code?

Roy Lambert

--
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
___
synalist-public mailing list
synalist-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synalist-public


Re: [Synalist] warnings in lots of synapse units - D2009

2009-03-10 Thread Roy Lambert
Markku


...if the Borland's (Codegear or whatnot it's called these days)
developers have been wise, they've provided a way to set a system that
allows the developers to bypass these unwanted character set
transformations.

They haven't! All strings are now unicode by default. Conversion at its 
simplest consists of replacing all string, Char and PChar with AnsiString, 
AnsiChar and PAnsiChar. Anything dependant on SizeOf(Char) = 1 needs 
alteration. Then the real fun starts.

At least I think that's right.

To end this rant, I must say that I very much hate it when version
updates to development environments require developers to rethink their
entire way of working. It just sucks :p

Agreed

Roy Lambert 


--
___
synalist-public mailing list
synalist-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synalist-public


Re: [Synalist] Mime Torture Test

2008-12-20 Thread Roy Lambert
Lukas

What I eventually decided was that the second headers were surplus to 
requirements and deleted them. Not necessarily in the most effective manner but 
I doubt I'll get to many real emails like that.

Roy Lambert


--
___
synalist-public mailing list
synalist-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synalist-public


Re: [Synalist] Testing email client

2008-12-20 Thread Roy Lambert
Lukas

Did you mean SMTP/POP3/IMAP4 server? Try Mercury/32 from
http://www.pmail.com

Fabulous - thanks for the link

Roy Lambert 

--
___
synalist-public mailing list
synalist-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synalist-public


[Synalist] Testing email client

2008-12-19 Thread Roy Lambert
I've reached the point where I want to test my email client. Is there any free 
software out there that I can drop on my LAN and use for testing?

Roy Lambert

--
___
synalist-public mailing list
synalist-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synalist-public


[Synalist] UU encoded attachments size

2008-12-04 Thread Roy Lambert
I'm changing the way part of my app works. Rather than extracting and decoding 
UU encoded attachments from newsgroups I'm going to leave them in the encoded 
post. What I want is to be able to display a list of the files and their sizes. 
Extracting the file name is no problem, but I would like a faster way of 
getting the file size than decoding it and checking its length.

Any suggestions?

Roy Lambert

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
synalist-public mailing list
synalist-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synalist-public


Re: [Synalist] UU encoded attachments size

2008-12-04 Thread Roy Lambert
Lukas

Thanks. I thought of that and thought it can't be that simple g

Is there an equally fast way for mime encoded attachments?

Roy Lambert


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
synalist-public mailing list
synalist-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synalist-public


[Synalist] Ryan Finnie's MIME Torture Test v1.0

2008-12-04 Thread Roy Lambert
Anyone out there managed to pass this?


Roy Lambert

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
synalist-public mailing list
synalist-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synalist-public


[Synalist] mime demo

2008-12-04 Thread Roy Lambert
Lukas

I'm trying to find the mime demo that uses a TTreeView. I've just downloaded 
the synademo.zip from your website and its not in there - can you point me to 
it please.

Roy Lambert

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
synalist-public mailing list
synalist-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synalist-public


Re: [Synalist] Setting up Synapse

2008-04-24 Thread Roy Lambert
Terry

Just add the units to your uses clause and make sure the path to them is 
included in the library path

Roy Lambert


-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
___
synalist-public mailing list
synalist-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synalist-public


Re: [Synalist] Code not walking the mime tree

2008-04-21 Thread Roy Lambert
Lukas

Lines property is just TStringList class. Why it not working? It is
mysterious case for me. :-O

Me to. I found it because I copied the code from your demo (not the one with a 
TreeView which I can't find) and it also gave the wrong result when using 
.Assign. I then loaded the memo direct from file and it worked. Finally I tried 
the .Text property and that worked.

It could be something weird like a final CR being trimmed, but I just find it 
spooky vbg

Roy Lambert 


-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
___
synalist-public mailing list
synalist-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synalist-public


[Synalist] Code not walking the mime tree

2008-04-20 Thread Roy Lambert
I know the answer to this is going to make me feel a moron but I need help. 
I've been working on my mime parser to get it to pass the torture tests and was 
pretty much there. I made a couple of alterations, was called out to help my 
wife in the garden and I've spent the last four hours trying to figure out what 
I did to stop things working.


The two procedures are my code at its simplest. On my easy test case which 
should have a block of html text and a block of plain text I get nothing. Its 
no longer walking the tree, and my brain is to tired to figure out why.

procedure Tform1.walkdown(bit: TMimepart);
var
MimeChunk: TMimePart;
cntr: integer;
begin
memo2.lines.add('walking...');
for cntr := 0 to bit.GetSubPartCount - 1 do begin
mimechunk := bit.GetSubPart(cntr);
mimechunk.DecodePart;
if LowerCase(MimeChunk.Primary) = 'multipart' then walkdown(mimechunk)
else memo2.lines.add(' ' + mimechunk.Primary + '/' + mimechunk.Secondary);
end;
end;

procedure TForm1.Button4Click(Sender: TObject);
var
MimeChunk: TMimePart;
cntr: integer;
begin
memo2.lines.clear;
HTMLFound := False;
MimeToDecode.Clear;
MimeToDecode.Lines.Assign(Memo1.Lines);
MimeToDecode.DecodeMessage;
for cntr := 0 to MimeToDecode.MessagePart.GetSubPartcount - 1 do begin
MimeChunk := MimeToDecode.MessagePart.GetSubPart(cntr);
MimeChunk.DecodePart;
if LowerCase(MimeChunk.Primary) = 'multipart' then walkdown(mimechunk)
else memo2.lines.add('top ' + mimechunk.Primary + '/' + mimechunk.Secondary);
end;
end;Roy Lambert

-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
___
synalist-public mailing list
synalist-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synalist-public


Re: [Synalist] Walking a mime tree

2008-04-18 Thread Roy Lambert
Markku

Of course - this way we've only managed to go through all the parts of
the message. What our software should show for the user, is still
undetermined... and that is what distinguishes different client
softwares. What is shown is not always all of the message; the
message might have many redundant parts. However, if we don't have all
of them, it is impossible to even attempt to make a fair choice... we
must have all the parts at our disposal before we can determine if it (a
single MIME-part of a message) should be shown to the end user or not.

I think this is the bit where I really screwed up - I was not showing the right 
stuff, and installing AVG on a new PC I hadn't taken off the incoming message 
bit which screwed my software.

I'm now trying to thing how to decide which bits of what to display and how to 
build the composite message with bits of HTML and bits of plain text.

Roy Lambert 

-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
___
synalist-public mailing list
synalist-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synalist-public


[Synalist] Walking a mime tree

2008-04-17 Thread Roy Lambert
I've discovered another example of an email my software doesn't decode 
properly. Its down to walking the parts of the message. Does anyone have a best 
practice example of walking through a mime encoded message which gets all (or 
at least a larger number than I do) of the variables?

Roy Lambert

-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
___
synalist-public mailing list
synalist-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synalist-public


Re: [Synalist] Walking a mime tree

2008-04-17 Thread Roy Lambert
Lukas

I'm pretty sure its me g but here's the mail - hope its not to big


Roy Lambert

Return-Path: [EMAIL PROTECTED]
Received: from smtp-2.star.net.uk (smtp-2.star.net.uk [212.125.75.71])
 by vulture.skynet.co.uk (8.14.2/8.14.2) with SMTP id m3EGd0la098504
 for [EMAIL PROTECTED]; Mon, 14 Apr 2008 17:39:00 +0100 (BST)
Received: (qmail 16276 invoked from network); 14 Apr 2008 16:34:54 -
Received: from unknown (HELO mail.co.uk) (62.173.68.12)
by smtp-2.star.net.uk with SMTP; 14 Apr 2008 16:34:54 -
Received: (qmail 2230 invoked from network); 14 Apr 2008 16:34:55 -
Received: from localnet (HELO mail.mail.co.uk) (192.168.0.21)
by mail.co.uk with SMTP; 14 Apr 2008 16:34:55 -
Received: from (web [127.0.0.1])
 by mail.mail.co.uk (8.12.5/8.12.5) with ESMTP id m3EGYwbv027124
 for [EMAIL PROTECTED]; Mon, 14 Apr 2008 17:34:58 +0100
Received: (from [EMAIL PROTECTED])
 by localhost.localdomain (8.12.5/8.12.5/Submit) id m3EGYwCg027122;
 Mon, 14 Apr 2008 17:34:58 +0100
Date: Mon, 14 Apr 2008 17:34:58 +0100
Message-Id: [EMAIL PROTECTED]
X-Authentication-Warning: localhost.localdomain: nobody set sender to [EMAIL 
PROTECTED] using -f
To: [EMAIL PROTECTED]
Subject: 607
From: [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
X-Provider: Mail
X-Antivirus: AVG for E-mail 7.5.519 [269.22.13/1376]
Mime-Version: 1.0
Content-Type: multipart/mixed; boundaryAVGMAIL-48038FA76F43===

--===AVGMAIL-48038FA76F43===
Content-Type: multipart/alternative; 
boundary=001__PeugeotMailMessageSeparator12345

--001__PeugeotMailMessageSeparator12345
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable

-INVERNESS

I am just heading off today as yet your 67 is not ready. I am off on tuesday 
but will check that every thing is completed and ready for wendsaday I will 
update you tuesday.
regards
Marc

15488 - ARNOLD CLARK -INVERNESS


--001__MailMessageSeparator12345
Content-Type: text/html; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable

style.pageTitle { font-weight: bold; font-family: Verdana,
Helvetica, sans-serif; font-size: 16px; color: #27458D; }=20
.pageTitle2 { font-weight: bold; font-family: Verdana,=20
Helvetica, sans-serif; font-size: 12px; color: #27458D;=20
}/styletabletrtdimg=20
src=3D'http://www.peugeotmail.co.uk/images/yellow_bands.gif'=20
//tdtd valign=3D'middle' class=3D'pageTitle'nbsp; nbsp;=20
span valign=3D'middle' class=3D'pageTitle'ARNOLD CLARK=20
-INVERNESS/span/td/tr/tablehr /br /br /pI=20
am just heading off today as yet your 67 is not ready. I=20
am off on tuesday but will check that every thing is=20
completed and ready for wendsaday I will update you=20
tuesday./p
pregards/p
pMarc/phr /br=20
/span class=3D'pageTitle2'
15488 - =20
-INVERNESS/span



--001__MailMessageSeparator12345--
--===AVGMAIL-48038FA76F43===
Content-Type: text/plain; x-avg=cert; charset=us-ascii
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline
Content-Description: AVG certification

No virus found in this incoming message.
Checked by AVG.
Version: 7.5.519 / Virus Database: 269.22.13/1376 - Release Date: 13/04/2008=
13:45

--===AVGMAIL-48038FA76F43===--

-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone___
synalist-public mailing list
synalist-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synalist-public


Re: [Synalist] Walking a mime tree

2008-04-17 Thread Roy Lambert
Lukas

Well, and what is wrong?

I was only getting the AVG message displayed.

Did you try to open this mail by MIME
synapse demo?

I did, but now I've done it again and figured out a bit more about multi-part 
mime emails (I hope)

It would still be interesting to see an example of best practice on extracting 
the data for display.

Roy Lambert 

-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
___
synalist-public mailing list
synalist-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synalist-public


[Synalist] Equivalent to NET USE

2008-02-21 Thread Roy Lambert
I've just bought a Freecom DataTank Gateway (a Linux based filesserver) and I 
need to log into it so I can use it. I've tried adding

NET USE \\DataTank pwd /User:usr

into the various PC's startup menus. Unfortunately some are connected by 
wireless and the connection isn't made by the time the startup entry is made.

Is there something I can use in Synapse to achieve the same result, if so I can 
write a small prog to keep trying until it connects.


Roy Lambert

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
synalist-public mailing list
synalist-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synalist-public


[Synalist] Bad dates

2007-10-04 Thread Roy Lambert
Lukas

I've just tracked down a decode problem (in some spam naturally) to 
DecodeRfcDateTime in synautil called from TMimeMess.DecodeMessage. The problem 
was caused by the spammers including

Date:  Mon, 31 Sep 2007 14:09:19 +0100

In the headers. I don't about the rest of the world but in the UK we make do 
with only 30 days in September g

The actual problem line is no 678: Result := Result + Encodedate(year, month, 
day);

I'm not sure wether it would be best to allow DecodeRfcDateTime to raise the 
error (which is technically correct), pick the nearest correct date, return the 
current date or what.

One thing I will guarantee - I won't be able to persuade the spammers to use a 
valid date g

Roy Lambert

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now  http://get.splunk.com/___
synalist-public mailing list
synalist-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synalist-public


Re: [Synalist] Vista

2007-09-11 Thread Roy Lambert
Lukas

Weirdly that seems to have just gone away. Even though I'm on broadband I can 
only think it was installing the updated modem driver that sorted it - who 
knows.

One thing I do know is I won't be advising anyone to buy a Vista machine!

Roy Lambert


Lukas Gebauer [EMAIL PROTECTED] wrote on Mon, 10 Sep 2007 12:07:07 +0200
 My next question for Vista is I'm now getting
 501 5.5.4 cannot decode AUTH parameter MAIL FROM: [EMAIL PROTECTED]
 If I try and send directly from the Vista PC, but it send fine from
 the XP server.

Synapse not using AUTH parameter in MAIL FROM command. :-O Is it
sended by Synapse?

--
Lukas Gebauer.

E-mail: [EMAIL PROTECTED]
http://synapse.ararat.cz/ - Ararat Synapse - TCP/IP Lib.

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
synalist-public mailing list
synalist-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synalist-public



-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
synalist-public mailing list
synalist-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synalist-public


Re: [Synalist] Dialing using synaser

2007-09-09 Thread Roy Lambert
Lukas

Just to let you know I've finally managed to sort it. A combination of a new 
driver and altering timeouts and adding ATV1 in (thanks for that suggestion).

I would have expected a new notebook PC to have working drivers for its 
components but obviously not!

Roy Lambert


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
synalist-public mailing list
synalist-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synalist-public


[Synalist] Dialing using synaser

2007-09-08 Thread Roy Lambert
This works fine in XP with one PC, but on another notebook with Vista it fails. 
I get ERROR returned as soon as I try ATDT

I've simplified the code down and as soon as I hit ATDT I get error. Does 
anyone out there have a suggestion? I've downloaded AsyncPro and its TAPI stuff 
works but is very slow - faster to dial by finger almost g

function TForm1.DoTheJob: boolean;
begin
Result := False;
Label2.Caption := 'Preparing to dial';
Label2.Visible := True;
Update;
SynaDialer := TBlockSerial.Create;
try
SynaDialer.AtTimeout := 8000;
SynaDialer.Connect(DialerPort);
SynaDialer.AtTimeout := 8000;
SynaDialer.ATCommand('ATH1');
if (SynaDialer.LastError = 0) or SynaDialer.ATResult then begin
SynaDialer.AtTimeout := 1000;
Label2.Caption := 'Dialing ' + FullNumber;
Label2.Update;
Label1.Visible := True;
Label1.Update;
Label3.Visible := True;
Label3.Update;
showmessage(SynaDialer.ATCommand('ATDT'));
end else begin
MessageDlg('No dial tone!', mtError, [mbOK], 0);
end;
finally
FreeAndNil(SynaDialer);
Label1.Visible := False;
Label3.Visible := False;
Label2.Visible := False;
end;
end;



Roy Lambert

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
synalist-public mailing list
synalist-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synalist-public


Re: [Synalist] Dialing using synaser

2007-09-08 Thread Roy Lambert
Lukas

Thanks for the reply. I'll try your suggestion, but I stepped through the code 
and I was getting the verbose response so I'm not sure.

Roy Lambert

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
synalist-public mailing list
synalist-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synalist-public


[Synalist] Vista modem dialing

2007-09-06 Thread Roy Lambert
I've just had my main pc go bad on me - its the one I use for work and 
development. I've temporarily moved my work onto a Vista notebook but my 
dialing software no longer works. This makes it hard since I spend most of my 
day phoning people.

The software was written using Synapse serial stuff to address the modem at 
COM3, nothing clever just throw Hays commands at it. On the Vista PC it pops up 
the window to say its dialing but immediately shuts it again. The code had (I 
thought) enough error checking in that my guess is that its sending the command 
and the modem is just ignoring it.

I've tried the modem diagnostics and they look OK, I can't find anything in 
Vista to try dialing, and I don't have my development environment on this PC 
(probably take a couple of days to get everything up and running to the point I 
could edit and run the app) so does anyone have any suggestion or info?



Roy Lambert

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/
___
synalist-public mailing list
synalist-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synalist-public


Re: [Synalist] lowest supported Delphi version?

2007-08-27 Thread Roy Lambert
Lukas

I only have D6 and D2006 on my machine. D1,D2,D4 have all been dumped years ago.

Roy Lambert


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/
___
synalist-public mailing list
synalist-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synalist-public


[Synalist] An article about hotmail spam filtering

2007-05-01 Thread Roy Lambert
For those who haven't seen this

http://www.iis-aid.com/articles/iis_aid_news/are_hotmail_cutting_their_own_throat

Roy Lambert

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
synalist-public mailing list
synalist-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synalist-public


[Synalist] I'm looking for suggestions as to how to handle badly formed news articles

2007-04-18 Thread Roy Lambert
I'm finding a few articles like the one below turning up on my newsgroups. It 
says its mime encoded but there are no boundaries. My software handles that and 
splits it up nicely and then we have the base64 encoding.

I'm about to add code in to handle that but I'd like some advice on what 
Synapse would normally do.

If its a properly formed mime message would Synapse automatically handle the 
decode or not?

The answer will determine whereabouts in my code I put the decode and how I 
handle tests for it.

Roy Lambert

From: Vitaliy [EMAIL PROTECTED]
Newsgroups: borland.public.delphi.language.delphi.win32
References: [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED]
Subject: Re: Parsing Barcode info
Date: Tue, 17 Apr 2007 20:17:59 -0700
Lines: 18
MIME-Version: 1.0
Content-Type: text/plain;
 charset=windows-1251
Content-Transfer-Encoding: base64
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.3028
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3028
NNTP-Posting-Host: 216.224.244.214
Message-ID: [EMAIL PROTECTED]
X-Trace: newsgroups.borland.com 1176866345 216.224.244.214 (17 Apr 2007 
20:19:05 -0800)
Path: newsgroups.borland.com!not-for-mail
Xref: newsgroups.borland.com borland.public.delphi.language.delphi.win32:45633

Pj4gIlJvb24iIDxtaXNyckBmbGV4LmNvbT4gd3JvdGUgaW4gbWVzc2FnZQ0KPj4gbmV3czo0NjI1
NWE4MCQxQG5ld3Nncm91cHMuYm9ybGFuZC5jb20uLi4NCj4+DQo+PiA+IEkgYW0gbm93LCBob3dl
dmVyLCB0cnlpbmcgdG8gZmluZCBhIHdheSB0byBkZXRlcm1pbmUgaWYgdGhlDQo+PiA+IGVudHJ5
IGluIHRoZSBmaWVsZCAoVEVkaXQpIHdhcyBzY2FubmVkIG9yIGVudGVyZWQgbWFudWFsbHkuDQo+
Pg0KPj4gVGhlZSBpcyBubyB3YXkgdG8gZGV0ZXJtaW5lIHRoYXQgZnJvbSB0aGUgVEVkaXQgaXRz
ZWxmLiAgVGhlIGFwcCBoYXMNCj4+IHRvIHN0b3JlIHRoYXQga2luZCBvZiBpbmZvcm1hdGlvbiBz
ZXBhcmF0ZWx5Lg0KDQo+DQo+IElzIHRoZSBURWRpdCBmaXJpbmcgdGhlIE9uS2V5RG93biBmb3Ig
ZXZlcnkgc2Nhbm5lZCBjaGFyYWN0ZXI/IG9yIGp1c3Qgb25jZQ0KPiBmb3IgdGhlIHdob2xlIHN0
cmluZz8gIFRoZSBzdHJpbmcgY29tZXMgaW4gd2l0aCBhIGNhcnJpYWdlIHJldHVybiBjaGFyYWN0
ZXINCj4gb24gdGhlIGVuZC4gIFRoZSBzY2FubmVyIGlzIGEgU3ltYm9sIFNjYW5uZXIuLg0KDQpB
RkFJSywgdGhlcmUncyBubyBkaWZmZXJlbmNlIGIvdyBhIGJhcmNvZGUgc2Nhbm5lciBhbmQgYSBr
ZXlib2FyZCwgYXMgZmFyIGFzIHRoZSBzb2Z0d2FyZSBpcyBjb25jZXJuZWQuIFNvIE9uS2V5RG93
biBzaG91bGQgZmlyZSBmb3IgZXZlcnkgc2Nhbm5lZCBjaGFyYWN0ZXIsIGp1c3QgYXMgaXQgd291
bGQgd2l0aCBhIGtleWJvYXJkLg0KDQpXaHkgd291bGQgeW91IHdhbnQgdG8gZGlzdGluZ3Vpc2gg
YmV0d2VlbiB0aGUgdHdvIGVudHJ5IG1ldGhvZHM/IFlvdSBtYXkgZ2V0IG1vcmUgdXNlZnVsIHJl
c3BvbnNlcyBpZiB5b3UgZGVzY3JpYmUgdGhlIGFwcGxpY2F0aW9uIGluIG1vcmUgZGV0YWlsLg0K
DQpWaXRhbGl5DQoNCg0K



-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
synalist-public mailing list
synalist-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synalist-public


Re: [Synalist] eml file inside an email

2007-02-19 Thread Roy Lambert
Lukas

Thanks for memtioning MIME torture test, up to now I've been having to second 
guess what the lousy software / moron combination might do. Also when a message 
causes my stuff to blow up figure it out then. NOW I have a testbed.

Thanks again.


Roy Lambert


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
synalist-public mailing list
synalist-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synalist-public


[Synalist] IncrediMail Bayesian filtering

2007-01-30 Thread Roy Lambert
My wife uses IncrediMail and I want to write a Bayesian filter to remove spam. 
Can someone give me a pointer as to how to intercept the emails before they get 
to IncrediMail, and then pass on the good ones.



Roy Lambert

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
synalist-public mailing list
synalist-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synalist-public


Re: [Synalist] attachment with no filename

2006-11-08 Thread Roy Lambert
Amos

Is it spam? If so discarding it is the right solution. If not ask the idiot who 
sent it to resend. You will never be able to program round every stupid thing 
that can happen with email so don't try.

Roy Lambert


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
synalist-public mailing list
synalist-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synalist-public


Re: [Synalist] PC PLUS Award

2006-11-08 Thread Roy Lambert
Lukas

Add my congratulations - next step is for DevCo to sling Indy out and put 
Synapse in!

Roy Lambert


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
synalist-public mailing list
synalist-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synalist-public


  1   2   >