3
Answers

Windows and WebPages

kam.lagan

kam.lagan

21y
1.7k
1
How do you request a web page and save the contents of the response to a string? I could do this in Delphi using the Webbrowser, but I don't need a visual component. I just need to make a request, and well, use it as a web service. So I might be asking how do you use a web service? I'm not that good with all this which is why I am a little ocnfused. I don't even know what my question is now!? ;)
Answers (3)
0
james

james

NA 1.1k 312.9k 21y
Even 8000 SMTP outbound emails isn't that big (as long as they are just text/html messages without a lot of attachments). You'd probably only be looking at around 10MB of bandwidth throughput for that volume... or roughly the equivilant of downloading the full version of Don' McClean's American Pie :) Let the server do they work..thats it's job -James
0
kam.lagan

kam.lagan

NA 12 0 21y
lol Fair play. I am trying to call a URL and save the contents of the response to a string, so that I can bundle them into an email and send them out. It appears I need to use classes that reside in the System.Net dll. HttpWebRequest and Response. I'm currently monkeying around with these classes, but if you could provide a snippet of code that shows how to call a page and save the contents it would be much appreciated. Now I've talked my way through it all, I'm wondering why I don't just get the HTTP server to send the email! doh! :) I suppose I don't want to tie up the HTTP server with uneccessary loads as this system is going to be sending between 1500 and 8000 emails per day. (no, not spam!) Thanks!
0
katana

katana

NA 138 0 21y
Well, if you figure out your question, I'll be happy to answer it. What are you exactly trying to do? Ue a webservice? View a web page? What? Tell us what the application is doign and we will answer it. Morgan