

mvanrijnen
-
Content Count
477 -
Joined
-
Last visited
-
Days Won
1
Posts posted by mvanrijnen
-
-
strange way of looking to solve a problem, if you don't bother, than do no ask....
-
From Delphi to Interbase, over localnetwork/internet ?
Which database component set your are using (e.g. FireDac) ? -
i've build a service (called ProtoBridge, not public available), which does just this.
But more 😉
It can act as a simple bridge between older machines/services to forward emails to o365/gmail (oauth2) etc etc.
It can also serve as a ftp server, and you can configure different virtual ftp folders which direct the incoming file(s) to a specific email adress
so you can "bridge" protocols
it can act as server for:
* simple smtp
* ftp
* local folders
* smb folders
and forward to:
* simple smtp
* smtp (oauth2 etc)
* O365 (MS Graph API)
* Exchange EWS
* ftp
* local folder
* smb folder
It's using INDY for all the protocols (except MS Graph API & EWS), off course is this a service which is not intended to use on a public server.
(there is a white & blacklist on IP numbers available)
-
25 minutes ago, RDP1974 said:I had a similar problem with firedac mysql
solved installing visual c++ redistributable
A specific version?
-
9 minutes ago, JonRobertson said:Are your computers connected to the Internet? Any application can be hijacked by an intrusion from the outside, even applications developed internally.
Yes. my question was more, (a discussion i had on this forum a few years ago also), do we benefit for preventing false positives using signing (makes it easier turning the mgmt in positive direction, so they don't only see it as a cost) ?
(we are going to implement signing anyway).
-
16 hours ago, JonRobertson said:If your customers use an Endpoint Protection and Response product, code signing is critical. The one we use sometimes complains even when the executable is signed with a valid certificate. It is a pain in the rear. But it is essential due to the number and sophistication of cyber threats today. Two-factor or multi-factor authentication is also a pain that I have to put up with daily. I can't do my job without my phone.
The Internet is a tremendous resource. But there are days that I miss the simplicity of 8-bit computing.
So we create only software for internal use, using (at the moment) , do we benefit from code signing ?
-
this is not sustainable as a process to get updates to the end users.
I just spent 2 days of work updating our buildmachine from11.x to 12.2.
Can start over now?
-
2 hours ago, tgbs said:This can be a problem in a multilingual project
In that case, the text is not static 😉
-
1
-
-
Not a direct answer, but we (in our custom ERP solution), put the emails in a table (kind of a mailqueue) , and another process (service) polls and/or gets signaled when to scan the table for messages to send.
With this we have better control, and are sure that the email is send in the background.
We also can control a minimum, maximum datetime to send the message etc etc.(sometimes an email message is irrelevant if it didn't get send after a specific date)
So not high prio mails are send like every 5 minutes, high prio directly.
Only problem is that interactive emails (send with a client like outlook) are not under the same control.The service itself is highly configurable, with different outgoing servers, accounts etc etc.,
-
4 hours ago, uligerhardt said:Only untyped constants are "real" constants. Typed constants are more like variables you can't change. That's just how Delphi works.
yes, so called "CONSTANT VARIABLES" 😉
-
1
-
-
hope we get build in Nullable types soon.
-
i really do no understand why you publish this on youtube, why not a normal website where people can read this stuff ?
Stuff like this is much better taken into the brain while reading instead of watching a video.
Is it because you want to generate income from YT with it ?
-
LSP in 12.x (when it works) gives also wrong method/prop/var names sometimes, such as in the same unit strict private fields from other object
-
thats not good, having a problem with a RAD server package, which i would like to debug, gonna be a problem this week.
Maybe the right time to say goodbye to RADserver and transfer the code to MARS (the Rest Server, not the planet)
@Marco CantuWhats the status of this problem?
-
Is this fixed in D12.2 ?
Would nice to know before i spent 2 days updating the dev environment .
-
So unusable 🙂
Thats the EMB way, big mouth, big blogs, moving fancy blog posts, but not complete components or working IDE
(i also hacked a few of the Rest.BackEnd.* units because they do not complete support all properties of the TRestRequest etc)
-
-
Which service are you trying to reach? Cause (long time ago for me) i think that it depends on the server settings if a ClientCert is needed.
See for examplle "IdServerIOHandlerSSLOpenSSL1.SSLOptions.Mode :" property.
Could be that this also has to be set in the client
-
At what point you are stuck?
You can use the "TRestClient.OnNeedClientCertificate" event, simple example code:
We check the certificate name, which has to begin with a certain value (stored in the CNST_CERT_PREFIX constant), and of course it has to be a valid certificate.
(i believe you need the client certificate installed in "user" context, not sure about that, long time ago i was busy with this).
procedure TMyProgram.DoOnClientCertificateNeeded(const Sender: TObject; const ARequest: TURLRequest; const ACertificateList: TCertificateList; var AnIndex: Integer); var idx : integer; begin if CNST_CERT_PREFIX.IsEmpty then raise Exception.Create('[TMyProgram.DoOnClientCertificateNeeded] CNST_CERT_PREFIX is empty.'); for idx := 0 to ACertificateList.Count - 1 do begin if ACertificateList[idx].CertName.StartsWith(CNST_CERT_PREFIX) then begin if (ACertificateList[idx].Start<=Now) and (ACertificateList[idx].Expiry>Now) then begin AnIndex := idx; break; end else raise Exception.Create('[TMyProgram.DoOnClientCertificateNeeded] Client Certificate Expired.'); end; end; end;
-
Just moving to D12 myself. in the EMSDevServer (development environment for RadServer), i do not get breakpoints in my code?
-
-
just drag and drop in the projects list of the group?
-
1
-
-
-
19 hours ago, Lars Fosdal said:Charles Proxy is also good for sniffing out http/https issues.
haha, you have stocks in that ? 😉
(i still have to compare it to mitm)
open mail online with office 365 graph api
in RTL and Delphi Object Pascal
Posted · Edited by mvanrijnen
Also the method of inline sending the attachments is limited to a size ( i believe 3MB), my code (i'm in a hurry, so just a dump), you can get the idea how to from this.