From: Jeff Lenk Date: Wed, 21 Nov 2012 15:41:14 +0000 (-0600) Subject: FS-4847 test again X-Git-Tag: v1.3.6~21 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=27c236a03ab2715d09283924b2a5d6eef9866fd5;p=thirdparty%2Ffreeswitch.git FS-4847 test again --- diff --git a/src/switch_utils.c b/src/switch_utils.c index 56a7ab06d1..4335b4dcd3 100644 --- a/src/switch_utils.c +++ b/src/switch_utils.c @@ -885,7 +885,7 @@ SWITCH_DECLARE(switch_bool_t) switch_simple_email(const char *to, from = "freeswitch"; } #ifdef WIN32 - switch_snprintf(buf, B64BUFFLEN, "\"%s\" -f %s %s %s < \"%s\"", runtime.mailer_app, from, runtime.mailer_app_args, to, filename); + switch_snprintf(buf, B64BUFFLEN, "\"\"%s\" -f %s %s %s < \"%s\"\"", runtime.mailer_app, from, runtime.mailer_app_args, to, filename); #else switch_snprintf(buf, B64BUFFLEN, "/bin/cat %s | %s -f %s %s %s", filename, runtime.mailer_app, from, runtime.mailer_app_args, to); #endif