Webmaster Forum

Go Back   Webmaster Forum > Web Development > Coding Forum

Coding Forum Problems with your code? Discuss coding issues, including JavaScript, PHP & MySQL, HTML & CSS, Flash & ActionScript, and more.

Thread Tools Display Modes
Share |
Old 05-03-2011, 12:45 AM
helpme helpme is offline
Junior Member
Join Date: 04-29-09
Posts: 3
iTrader: 0 / 0%
Question details send to an Excel file and email

I have as ASP form !
it is work fine...the details send to my e mail.....like that

and so on....

I need that the same details will also will send to an Excel file...
at the moment the infomation will send to my e mail it will also will send to an excel file

I need an example how to write it....
Reply With Quote



Old 05-03-2011, 01:19 AM
nemrod's Avatar
nemrod nemrod is offline
v7n Mentor
Join Date: 12-21-10
Location: Sweden
Posts: 463
iTrader: 0 / 0%
Do you mean a simple spreadsheet when you say Excel file? If you literally mean an Excel file in their format then I suspect you'll have a hard time. If you mean an ordinary spreadsheet then all you need is a CSV file, which is really easy to make. Once you have generated the CSV file (when I say generated the file I mean having the data in a variable) you'll have to base64-encode it and "attach" the "file" to the e-mail by changing some headers, add some lines at the end of the mail that signifies the start of the attachment and finally print the base64-encoded data. There should be plenty of guides out there, try Googling "asp mail attachment" or something along those lines. I would write you an example, but unfortunately it's been over five years since I last dabbled in ASP so I'll save me the embarrassment.
Reply With Quote
Old 05-03-2011, 01:22 AM
helpme helpme is offline
Junior Member
Join Date: 04-29-09
Posts: 3
iTrader: 0 / 0%
Cool thank you for your reply

thank you for your reply...i will try this i think that the CSV is what i am looking for
Reply With Quote
Go Back   Webmaster Forum > Web Development > Coding Forum


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Add a link to a Word or Excel file danc Tech Talk 5 10-08-2009 01:10 AM

V7N Network
Get exposure! V7N I Love Photography V7N SEO Blog V7N Directory

All times are GMT -7. The time now is 09:23 PM.
Powered by vBulletin
Copyright 2000-2014 Jelsoft Enterprises Limited.
Copyright © 2003 - 2018 VIX-WomensForum LLC