mailsend
mailsend copied to clipboard
How to compile a portable version
Hi, and first of all thanks for the hard work.
What I try to achieve looked kinda simple to me but I'm struggling against some OpenSSL inclusion when trying to make a "portable" version of mailsend.
I want to have what you offer on Windows : a simple executable to download (that can handle SSL) that works out of the box.
On my machine, I can compile mailsend 1.20 against OpenSSL 1.1.0 and install mailsend in a custom directory without any problem. But when I copy the mailsend executable on another machine that doesn't have OpenSSL installed, obviously, it complains about not finding OpenSSL installed.
Any idea on how this can be fixed without having to install OpenSSL manually on every machine?
Thanks a lot in advance for the help!
Best.
You have to build OpenSSL as static library. I did not try to build OpenSSL 1.1.x on Windows. However, OpenSSL 1.0.2 can be built statically as per instruction in INSTALL.W32.
Thanks.
Thanks, it worked like a charm ! 😉