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:Please people help me out, I want to send email in a lua script of mine in freeswitch the code is below freeswitch.email("ayobami@programmer.net", "ayobami.adewole@gmail.com", "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: http://freeswitch-users.2379917.n2.nabble.com/Problem-sending-E-mail-in-Freeswitch-on-windows-tp6912478p6912478.html Sent from the freeswitch-users mailing list archive at Nabble.com. FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.orgFreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org