Made a more generic function to send efax or email. function to send efax is very very similar to fucntion to send mail, the difference is the address you send the mail from and the body/attachment. All the rest is exaclty the same, so to avoid duplicate function we add a variable to the orignal funtion that will tell the server if we are try to send an email or an efax.
Made a more generic function to send efax or email.
function to send efax is very very similar to fucntion to send mail,
the difference is the address you send the mail from and the body/attachment.
All the rest is exaclty the same, so to avoid duplicate function we add a variable
to the orignal funtion that will tell the server if we are try to send an email
or an efax.

MattBlack85/dunning-cruncher