<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    I have not used freeswitch.email, and I have not used msmtp.exe&nbsp; but
    I have used sendmail in web applications and VB scripting. <br>
    <br>
    When you get the error "sendmail is not recognised as an internal or
    external command" it means that windows is not finding sendmail.exe.<br>
    If you are using msmtp.exe instead of sendmail.exe you need to call
    msmtp.exe instead of sendmail or get sendmail and use it. <br>
    <span class="Apple-style-span" style="color: rgb(0, 0, 0);
      font-family: Verdana, Arial, Helvetica, sans-serif; font-size:
      12px; font-style: normal; font-variant: normal; font-weight:
      normal; letter-spacing: normal; line-height: 18px; orphans: 2;
      text-align: -webkit-auto; text-indent: 0px; text-transform: none;
      white-space: normal; widows: 2; word-spacing: 0px;
      -webkit-text-decorations-in-effect: none;
      -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;
      background-color: rgb(255, 255, 255); ">Download<span
        class="Apple-converted-space">&nbsp;</span><a
        href="http://www.petri.co.il/software/sendmail.zip"
        style="color: rgb(22, 50, 181); text-decoration: underline; ">sendmail.zip</a><span
        class="Apple-converted-space">&nbsp;</span>(6kb)</span><br>
    I read where someone just changed the filename from msmtp.exe to
    sendmail.exe and that worked for them. <br>
    <br>
    Jack<br>
    <br>
    <br>
    <br>
    On 10/21/2011 4:53 PM, Ryan How wrote:
    <blockquote cite="mid:4EA205ED.70202@exemail.com.au" type="cite">
      <pre wrap="">This might be a dumb question, but have you tried restarting freeswitch 
after changing the xml file ?

On 20/10/2011 6:57 PM, ayobami wrote:
</pre>
      <blockquote type="cite">
        <pre wrap="">Please people help me out, I want to send email in a lua script of mine in
freeswitch the code is below

freeswitch.email(<a class="moz-txt-link-rfc2396E" href="mailto:ayobami@programmer.net">"ayobami@programmer.net"</a>,
                  <a class="moz-txt-link-rfc2396E" href="mailto:ayobami.adewole@gmail.com">"ayobami.adewole@gmail.com"</a>,
                  "subject: testing fs mail function",
                  "checking to see if this guy works")
and I have downloaded the msmtp.exe and placed in c:\windows\system32 folder
as directed
i have equally changed the configuration in switch.conf.xml
but each time i keep running the script,
I keep getting the same error message, which is
sendmail is not recognised as an internal or external command

--
View this message in context: <a class="moz-txt-link-freetext" href="http://freeswitch-users.2379917.n2.nabble.com/Problem-sending-E-mail-in-Freeswitch-on-windows-tp6912478p6912478.html">http://freeswitch-users.2379917.n2.nabble.com/Problem-sending-E-mail-in-Freeswitch-on-windows-tp6912478p6912478.html</a>
Sent from the freeswitch-users mailing list archive at Nabble.com.


FreeSWITCH-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>
UNSUBSCRIBE:<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
<a class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a>
</pre>
      </blockquote>
      <pre wrap="">

FreeSWITCH-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>
UNSUBSCRIBE:<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
<a class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a>


</pre>
    </blockquote>
  </body>
</html>