<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" id="owaParaStyle"></style>
</head>
<body fpstyle="1" ocsi="0">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;">
<div style="font-family: Times New Roman; color: #000000; font-size: 16px">
<div id="divRpF510854" style="direction: ltr; "><span class="Apple-style-span" style="font-family: Tahoma; font-size: 13px; ">Hello,</span></div>
<div>
<div style="direction:ltr; font-family:Tahoma; color:#000000; font-size:10pt">
<div style="color:rgb(0,0,0)">
<div style="font-family:'Times New Roman'; font-size:16px">
<div style="direction:ltr; font-family:Tahoma; color:#000000; font-size:10pt">
<div>I am trying to send an email from a lua script with this line :</div>
<div><span class="Apple-style-span" style="font-family:sans-serif; line-height:19px; background-color:rgb(255,255,255)">
<pre style="padding-top:1em; padding-right:1em; padding-bottom:1em; padding-left:1em; border-top-width:1px; border-right-width:1px; border-bottom-width:1px; border-left-width:1px; border-top-style:dashed; border-right-style:dashed; border-bottom-style:dashed; border-left-style:dashed; border-top-color:rgb(47,111,171); border-right-color:rgb(47,111,171); border-bottom-color:rgb(47,111,171); border-left-color:rgb(47,111,171); color:black; background-color:rgb(249,249,249); line-height:1.1em">freeswitch.email(to, from, headers, body, file, convert_cmd, convert_ext)</pre>
</span>But when I&nbsp;execute&nbsp;the&nbsp;script&nbsp;I have an error :</div>
<div><br>
</div>
<div>-----------------------------------------------------------------------------</div>
<div><br>
</div>
<div>
<div>011-10-06 11:01:18.320247 [ERR] mod_lua.cpp:182 /usr/local/freeswitch/scripts/voicemail.lua:43: attempt to call field 'email' (a nil value)</div>
<div>stack traceback:</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; /usr/local/freeswitch/scripts/voicemail.lua:43: in main chunk</div>
</div>
<div><br>
</div>
<div>-----------------------------------------------------------------------------</div>
<div><br>
</div>
<div>Do you have an idea how solve this problem ?</div>
<div><br>
</div>
<div>Thanks</div>
<div><br>
</div>
<div>Briac GAUTIER DE CHARNACE</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>