| |

VerySource

 Forgot password?
 Register
Search
View: 677|Reply: 3

How does the server save the client page and send it as an email attachment?

[Copy link]

1

Threads

3

Posts

4.00

Credits

Newbie

Rank: 1

Credits
4.00

 China

Post time: 2020-3-18 16:30:02
| Show all posts |Read mode
My program dynamically generates many controls on the page. Now when I need to click the submit button, this page is sent as an email attachment. The question is how to save this client page on the server.

Depressed for a long time, I don't know how to get it ...
Reply

Use magic Report

0

Threads

8

Posts

7.00

Credits

Newbie

Rank: 1

Credits
7.00

 China

Post time: 2020-6-22 09:15:01
| Show all posts
Use webrequest to simulate access to the data stream saved as htm to send. I don't know if it works
Reply

Use magic Report

1

Threads

3

Posts

4.00

Credits

Newbie

Rank: 1

Credits
4.00

 China

 Author| Post time: 2020-6-23 12:15:01
| Show all posts
I have tried webrequest, it is available on the client, and a download window will pop up.
Reply

Use magic Report

0

Threads

6

Posts

5.00

Credits

Newbie

Rank: 1

Credits
5.00

 China

Post time: 2020-6-28 19:00:01
| Show all posts
Give the form a name, and when you click to send an email, write the HTML code of the form into a plain text file and place it in the current directory, then take this file as an attachment and send it. Pay attention to the uniqueness of the file name here . When the client reads the file, search for this attachment, and take out all the HTML code of the form with the specified name, and load it into the client page.
Reply

Use magic Report

You have to log in before you can reply Login | Register

Points Rules

Contact us|Archive|Mobile|CopyRight © 2008-2023|verysource.com ( 京ICP备17048824号-1 )

Quick Reply To Top Return to the list