How can I use “sendmail” style command line syntax to send mail?
SurgeMail installs a sendmail stub. This will allow your PHP scripts and the like to continue sending mail using the same syntax they have always done. You will need to ensure SurgeMail is allowing relaying for your local IP. If it is not working pass the stub the “-debug” parameter it should create a sendmail.debug file that will give you information as to why it is not working.