|
-
Oct 26th, 2007, 03:46 PM
#1
Thread Starter
Hyperactive Member
[1.0/1.1] Sending an email via a proxy server
HI all. It's been a while not I've been working on a program that has a simple component that send an email message. I got it to work like this:
MailMessage mailMessage = new MailMessage();
mailMessage.From = "[email protected]";
mailMessage.To = "[email protected]";
mailMessage.Subject = "test"
mailMessage.Body = "test";
SmtpMail.Server = "localhost";
SmtpMail.Send(mailMessage);
However, now that it is time to install the program, I realise that their Internet access operates through a proxy server.
Thus is it possible to send e-mail via a proxy server? This is since the above code is working on my work machine, but not on any of the machines I have to install it on.
Jennifer.
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
|