If you want a workaround, find all references to mysql_real_connect() in the patch, and change the sixth argument (that is '0' in the default version) to the port number you want to use instead, and that will work, but if you want to change the port, it will require a recompile that way.
K.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello,
how can I define a none standard mysql port in sqlmail.conf?
Thanks,
Alexander Newald
Hmmm... That is a bit of an oversight, I suppose.
I'll try and get it implemented sometime soonish.
If you want a workaround, find all references to mysql_real_connect() in the patch, and change the sixth argument (that is '0' in the default version) to the port number you want to use instead, and that will work, but if you want to change the port, it will require a recompile that way.
K.