Problem sending E-mail in Freeswitch on windows
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-Free... Sent from the freeswitch-users mailing list archive at Nabble.com.
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-Free... 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.org
I have not used freeswitch.email, and I have not used msmtp.exe but I have used sendmail in web applications and VB scripting. When you get the error "sendmail is not recognised as an internal or external command" it means that windows is not finding sendmail.exe. 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. Downloadsendmail.zip <http://www.petri.co.il/software/sendmail.zip>(6kb) I read where someone just changed the filename from msmtp.exe to sendmail.exe and that worked for them. Jack On 10/21/2011 4:53 PM, Ryan How wrote:
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-Free... 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.org
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.org
participants (3)
-
ayobami
-
Jack
-
Ryan How