|
-
Feb 14th, 2005, 04:44 AM
#1
Thread Starter
Frenzied Member
Open a website
Hello everybody,
I need to send an email from my C# application. For this purpose, I write the code for sending mail through CDONTS in ASP and upload the page to the web server. Now I want to call this page from my C# application to send email. How do I browse this site in such a way that user does not view it.
Thanks.
-
Feb 16th, 2005, 01:32 AM
#2
Re: Open a website
 Originally Posted by usamaalam
Hello everybody,
I need to send an email from my C# application. For this purpose, I write the code for sending mail through CDONTS in ASP and upload the page to the web server. Now I want to call this page from my C# application to send email. How do I browse this site in such a way that user does not view it.
Thanks.
uuh if you want a browser page to be opened then you just create a Process object and do Process.Start ("mailto... whatnot")
somethingl like that
if you wanna download a webpage look into Net.WebClient
rate my posts if they help ya!
Extract thumbnail without reading the whole image file: (C# - VB)
Apply texture to bitmaps: (C# - VB)
Extended console library: (VB)
Save JPEG with a certain quality (image compression): (C# - VB )
VB.NET to C# conversion tips!!
-
Feb 16th, 2005, 01:40 AM
#3
Thread Starter
Frenzied Member
Re: Open a website
Is there something in .NET to send an email ??
-
Feb 16th, 2005, 03:34 AM
#4
Hyperactive Member
Re: Open a website
 Originally Posted by usamaalam
Is there something in .NET to send an email ??
In the Namespace System.Web.Mail there is a SMTP Mail Class! Not sure so if it fits your needs?
Code:
using System.Web.Mail;
SmtpMail.SmtpServer=myServer;
SmtpMail.Send(from,to,subject,message);
Stephan
Keep Smiling - even if its hard 
Frankie Says Relax, wossname Says Yeah!
wossname:--Currently I'm wearing a gimp suit and a parachute.
C# - Base64 Blog
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|