Link to home
Start Free TrialLog in
Avatar of lilyyan
lilyyan

asked on

can a .doc or .docx file be send through an email in the attachment?

hello:

i have a .doc file (file attached ). is that possible when user finish filling out the information, the user can just click the sumbit and sent the file as an email attachemnt to me?

Thank you so much for your suggestion!!



testForm.doc
SOLUTION
Avatar of ASPSQLServerCOM
ASPSQLServerCOM
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of lilyyan
lilyyan

ASKER

thank you for your reply!

could you please be more specific about the different ways?

is there a built-in function in MS Word that can send the file as an email attachment ?

i'm using php. is that possible you may post a php sample, so i could better understand the process?

thank you so much !!
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of lilyyan

ASKER

could you please have an example for :

>>the best and fast way to generate and send the word document is
generate HTML document and then rename it to .doc and it will open up as word doc with all formatting

i'm kind of still not sure :-)) thank you so much!!
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of lilyyan

ASKER

well, here is several steps involved here

1. generate the HTML  // how to do this step in php

2. rename it to .doc extension . // same question as above

3.  then send it as attachment. // well, the link you posted is for text and html attachment in php, not for .doc file

thank you so much for your reply!! : )
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of lilyyan

ASKER

Really appreciate you reply! yet it's a little too completed ... : )