how to mail attachments with asterisk?

rolfbeethoven

New Member
Joined
Jun 13, 2008
Messages
38
Reaction score
0
I would like to send a file attachment with asterisk. The mail command that I use from the command line doesn't appear to support file attachments directly and I've found several options to use: uuencode, MIME, mutt, others.

I looked into the voicemail scripts to see how it was sending my voicemail via email, but it looked complicated and I was wondering if there was a more straightforward way.

Any suggestions on how to attach files to emails that I have Asterisk send out?

Thanks.
 
mail attachments

Install mutt 'yum -y install mutt'
then you can send mail with attachments from the command line or a script:
echo "Hello World" | mutt -s "Subject goes here" -a <file to attach> email addresses space separated

Good Luck!
TomS
 

Members online

No members online now.

Forum statistics

Threads
26,687
Messages
174,410
Members
20,257
Latest member
Dempan
Get 3CX - Absolutely Free!

Link up your team and customers Phone System Live Chat Video Conferencing

Hosted or Self-managed. Up to 10 users free forever. No credit card. Try risk free.

3CX
A 3CX Account with that email already exists. You will be redirected to the Customer Portal to sign in or reset your password if you've forgotten it.
Back
Top