Forum Moderators: coopster

Message Too Old, No Replies

Sending Audiofiles with PHP forms

How to send Audio files through Email? and play that while opening?

         

agbenny

12:19 pm on Oct 22, 2004 (gmt 0)

10+ Year Member



Hi,

I have a recommend a friend program in PHP which can send a form filled details to around 5 Email Ids at a time.
I want people to use this with their voice custom message. Can they record and attaché with this recommendation form and send that to email.
What is the procedure involved so that the receiver can play the audio file by embedding any controls?

Any help is appreciated.

Regards,
Benny

coopster

8:37 pm on Oct 23, 2004 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



Sure, just allow the user the ability to upload the voice file and send it along as a multipart mime attachment. There is a link to a Zend tutorial right on the top of the PHP mail() [php.net] function page.

agbenny

1:32 am on Oct 26, 2004 (gmt 0)

10+ Year Member



Thanks Coopster.
But the receiver of the email must choose or click a button to hear the voice message. Is this possible?
Benny

WhosAWhata

2:02 am on Oct 26, 2004 (gmt 0)

10+ Year Member



it sounds like what you are asking about is JavaScript
take a look here
[javascript.internet.com...]