Hi all,
Just a simple question.
How to create a mailbox for each user (there is ivr.py script) with password and/or mail forwarding:
For example I dial my mailbox 1000 to listen my messages. Now I'm offline somebody call me he's forwarded to my mailbox and record a message. Is it possible to send that message to my email box with attachement.
Regards
harry
Hello, though it's possible to implement this in the ivr module, I'd recommend using the smtplib module (http://www.python.org/doc/2.3.3/lib/module-smtplib.html , for an example have a look at http://www.python.org/doc/2.3.3/lib/SMTP-example.html , also have a look at the email module http://www.python.org/doc/2.3.3/lib/module-email.html ), an example with attachment is here http://www.python.org/doc/2.2.3/lib/node397.html
Stefan
gaillac harry wrote:
Hi all,
Just a simple question.
How to create a mailbox for each user (there is ivr.py script) with password and/or mail forwarding:
For example I dial my mailbox 1000 to listen my messages. Now I'm offline somebody call me he's forwarded to my mailbox and record a message. Is it possible to send that message to my email box with attachement.
Regards
harry
Sems mailing list sems@lists.iptel.org http://lists.iptel.org/cgi-bin/mailman/listinfo/sems