Wrox Home  
Search P2P Archive for: Go

  Return to Index  

aspx_web_matrix thread: Sending email with web matrix


Message #1 by "Russell Sisson" <rsisson@n...> on Sat, 26 Oct 2002 19:03:29
When I attempt to send an email from within my aspx page, I get the 
following error:System.Runtime.InteropServices.COMException: The 
transport failed to connect to the server. 
I am sure the offending statement is: SmtpMail.SmtpServer = "localhost".
Since I am using the mini-server that comes with web matrix, is there any 
configuration I need to set up? I have also tried using the actual server 
name, but that doesn't work either.
Any help would be appreciated.
Russell
Message #2 by "Aaron Fleming" <aaronf@w...> on Sat, 26 Oct 2002 14:25:05 -0400
If you are using LOCALHOST make sure that SMTP (IIS) is installed on
your PC. I do not believe that there is a SMTP server as part of the
mini-server in Web Matrix.

-----Original Message-----
From: Russell Sisson [mailto:rsisson@n...] 
Sent: October 26, 2002 3:03 PM
To: ASP.NET Web Matrix
Subject: [aspx_web_matrix] Sending email with web matrix


When I attempt to send an email from within my aspx page, I get the 
following error:System.Runtime.InteropServices.COMException: The 
transport failed to connect to the server. 
I am sure the offending statement is: SmtpMail.SmtpServer = "localhost".
Since I am using the mini-server that comes with web matrix, is there
any 
configuration I need to set up? I have also tried using the actual
server 
name, but that doesn't work either.
Any help would be appreciated.
Russell

Message #3 by "Russell Sisson" <rsisson@n...> on Sat, 26 Oct 2002 21:05:11
>Thanks for the speedy reply Aaron. I am using XP Home Edition, which 
does not come with IIS. Short of getting XP Professional, is there some 
other way to get my email to work?

Russell 

If you are using LOCALHOST make sure that SMTP (IIS) is installed on
your PC. I do not believe that there is a SMTP server as part of the
mini-server in Web Matrix.

-----Original Message-----
From: Russell Sisson [mailto:rsisson@n...] 
Sent: October 26, 2002 3:03 PM
To: ASP.NET Web Matrix
Subject: [aspx_web_matrix] Sending email with web matrix


When I attempt to send an email from within my aspx page, I get the 
following error:System.Runtime.InteropServices.COMException: The 
transport failed to connect to the server. 
I am sure the offending statement is: SmtpMail.SmtpServer = "localhost".
Since I am using the mini-server that comes with web matrix, is there
any 
configuration I need to set up? I have also tried using the actual
server 
name, but that doesn't work either.
Any help would be appreciated.
Russell

Message #4 by David Barnes <DavidB@w...> on Mon, 28 Oct 2002 11:37:34 -0000
Hi Russel

Yes -- just have a look at the SMTP server you're using for your regular
email (assuming you use Outlook Express or some other Internet email
software), and use that. You'll need to be online at the time you send the
email for this to work.

If this isn't acceptable, you could have a look for a freeware SMTP server
and install that. I'm sure there will be a few available -- they are pretty
simple after all.

Cheers

David

> -----Original Message-----
> From: Russell Sisson [mailto:rsisson@n...]
> Sent: Saturday, October 26, 2002 10:05 PM
> To: ASP.NET Web Matrix
> Subject: [aspx_web_matrix] RE: Sending email with web matrix
> 
> 
> >Thanks for the speedy reply Aaron. I am using XP Home Edition, which 
> does not come with IIS. Short of getting XP Professional, is 
> there some 
> other way to get my email to work?
> 
> Russell 
> 
> If you are using LOCALHOST make sure that SMTP (IIS) is installed on
> your PC. I do not believe that there is a SMTP server as part of the
> mini-server in Web Matrix.
> 
> -----Original Message-----
> From: Russell Sisson [mailto:rsisson@n...] 
> Sent: October 26, 2002 3:03 PM
> To: ASP.NET Web Matrix
> Subject: [aspx_web_matrix] Sending email with web matrix
> 
> 
> When I attempt to send an email from within my aspx page, I get the 
> following error:System.Runtime.InteropServices.COMException: The 
> transport failed to connect to the server. 
> I am sure the offending statement is: SmtpMail.SmtpServer = 
> "localhost".
> Since I am using the mini-server that comes with web matrix, is there
> any 
> configuration I need to set up? I have also tried using the actual
> server 
> name, but that doesn't work either.
> Any help would be appreciated.
> Russell
> 
> 

  Return to Index