Re: [asterisk-users] Voicemail Emails

2012-07-20 Thread Danilo Dionisi

Have you tried to insert the HTML code directly into the body?

Il 20/07/12 19:53, Josh Hopkins ha scritto:


Has anyone been able to make an html template for the voicemail 
emails. We would love to customize them beyond just plain text. We 
have dome some Google searches and have not been able to come up with 
much.


I believe that Switchvox has customized the voicemail email  into 
html.  Has anyone ever tried this? Thanks,


/Josh

--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [asterisk-users] Voicemail Emails

2012-07-20 Thread Josh Hopkins
Yes and you just get html code in the email rather than the html format.

From: asterisk-users-boun...@lists.digium.com 
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Danilo Dionisi
Sent: Friday, July 20, 2012 3:31 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] Voicemail Emails

Have you tried to insert the HTML code directly into the body?

Il 20/07/12 19:53, Josh Hopkins ha scritto:
Has anyone been able to make an html template for the voicemail emails. We 
would love to customize them beyond just plain text. We have dome some Google 
searches and have not been able to come up with much.

I believe that Switchvox has customized the voicemail email  into html.  Has 
anyone ever tried this?  Thanks,
/Josh
--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [asterisk-users] Voicemail Emails

2012-07-20 Thread Kevin P. Fleming

On 07/20/2012 04:35 PM, Josh Hopkins wrote:

Yes and you just get html code in the email rather than the html format.


app_voicemail does not send MIME-encapsulated emails, it sends raw 
email. Unless you could add a Content-Type header to the message (which 
app_voicemail doesn't allow you to do), the email client that receives 
the HTML is going to treat it as plain text, which is what you saw.


--
Kevin P. Fleming
Digium, Inc. | Director of Software Technologies
Jabber: kflem...@digium.com | SIP: kpflem...@digium.com | Skype: kpfleming
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
Check us out at www.digium.com  www.asterisk.org

--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
  http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Voicemail Emails

2012-07-20 Thread Danny Nicholas
You can change voicemail.conf to use a delivery option other than sendmail.
Other than that, show us your body line from voicemail.conf

 

From: asterisk-users-boun...@lists.digium.com
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Josh Hopkins
Sent: Friday, July 20, 2012 4:36 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] Voicemail Emails

 

Yes and you just get html code in the email rather than the html format.

 

From: asterisk-users-boun...@lists.digium.com
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Danilo Dionisi
Sent: Friday, July 20, 2012 3:31 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] Voicemail Emails

 

Have you tried to insert the HTML code directly into the body?


Il 20/07/12 19:53, Josh Hopkins ha scritto:

Has anyone been able to make an html template for the voicemail emails. We
would love to customize them beyond just plain text. We have dome some
Google searches and have not been able to come up with much. 

 

I believe that Switchvox has customized the voicemail email  into html.  Has
anyone ever tried this?  Thanks,

/Josh

--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [asterisk-users] Voicemail Emails

2012-07-20 Thread Warren Selby
On Fri, Jul 20, 2012 at 12:53 PM, Josh Hopkins j...@prorivertech.comwrote:

 Has anyone been able to make an html template for the voicemail emails. We
 would love to customize them beyond just plain text. We have dome some
 Google searches and have not been able to come up with much. 

 ** **

 I believe that Switchvox has customized the voicemail email  into html.
 Has anyone ever tried this?  Thanks,

 /Josh



What about changing 'mailcmd=' to a shell script that rewrites the email in
the format you want before sending it to sendmail?

-- 
Thanks,
--Warren Selby, dCAP
http://www.SelbyTech.com http://www.selbytech.com
--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [asterisk-users] Voicemail Emails

2012-07-20 Thread Kevin P. Fleming

On 07/20/2012 04:48 PM, Warren Selby wrote:

On Fri, Jul 20, 2012 at 12:53 PM, Josh Hopkins j...@prorivertech.com
mailto:j...@prorivertech.com wrote:

Has anyone been able to make an html template for the voicemail
emails. We would love to customize them beyond just plain text. We
have dome some Google searches and have not been able to come up
with much. 

__ __

I believe that Switchvox has customized the voicemail email  into
html.  Has anyone ever tried this?  Thanks,

 /Josh



What about changing 'mailcmd=' to a shell script that rewrites the email
in the format you want before sending it to sendmail?


That is most likely the best way to accomplish it; it would need to 
receive the already-composed email on stdin, then parse it, modify it, 
and regenerate it before sending it to the real mailer. This could be 
done using standard email libraries in many scripting languages.


--
Kevin P. Fleming
Digium, Inc. | Director of Software Technologies
Jabber: kflem...@digium.com | SIP: kpflem...@digium.com | Skype: kpfleming
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
Check us out at www.digium.com  www.asterisk.org

--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
  http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users