FrontPage Inside Out mail configuration

R

Rick Rantilla

I'm trying to use the ASP.net self registration "system" in Jim Buyens
"Frontpage 2003 Inside Out" book. On my page
http://www.just-improvement.com/selfregnet/register.aspx
when I try the "Email me my password" function I get an error "503 This mail
server requires authentication when attempting to send to a non-local e-mail
address"
How do I configure my email to avoid this?
 
J

Jim Buyens

Unfortunately, neither the .NET SmtpMail object nor the .NET MailMessage
object, which these pages use, have properties or methods for authenticating
with a mail server.

As a result, you'll need to get the mails erver administrator to relax this
restriction, or find a different mail server.

Jim Buyens
Microsoft FrontPage MVP
http://www.interlacken.com
Author of:
*----------------------------------------------------
|\---------------------------------------------------
|| Microsoft Windows SharePoint Services Inside Out
|| Microsoft Office FrontPage 2003 Inside Out
||---------------------------------------------------
|| Web Database Development Step by Step .NET Edition
|| Microsoft FrontPage Version 2002 Inside Out
|| Faster Smarter Beginning Programming
|| (All from Microsoft Press)
|/---------------------------------------------------
*----------------------------------------------------
 
T

Tom Pepper Willett

....and, it's unlikely the mail server admin will relax the restriction, as
authentication is an extremely crucial security issue with mail
servers....to avoid open relays for spammers to use.

--
===
Tom "Pepper" Willett
Microsoft MVP - FrontPage
---
About FrontPage 2003:
http://office.microsoft.com/home/office.aspx?assetid=FX01085802
FrontPage 2003 Product Information:
http://www.microsoft.com/office/frontpage/prodinfo/default.mspx
Understanding FrontPage:
http://msdn.microsoft.com/office/understanding/frontpage/
===
| Unfortunately, neither the .NET SmtpMail object nor the .NET MailMessage
| object, which these pages use, have properties or methods for
authenticating
| with a mail server.
|
| As a result, you'll need to get the mails erver administrator to relax
this
| restriction, or find a different mail server.
|
| Jim Buyens
| Microsoft FrontPage MVP
| http://www.interlacken.com
| Author of:
| *----------------------------------------------------
||\---------------------------------------------------
||| Microsoft Windows SharePoint Services Inside Out
||| Microsoft Office FrontPage 2003 Inside Out
|||---------------------------------------------------
||| Web Database Development Step by Step .NET Edition
||| Microsoft FrontPage Version 2002 Inside Out
||| Faster Smarter Beginning Programming
||| (All from Microsoft Press)
||/---------------------------------------------------
| *----------------------------------------------------
|
| "Rick Rantilla" wrote:
|
| > I'm trying to use the ASP.net self registration "system" in Jim Buyens
| > "Frontpage 2003 Inside Out" book. On my page
| > http://www.just-improvement.com/selfregnet/register.aspx
| > when I try the "Email me my password" function I get an error "503 This
mail
| > server requires authentication when attempting to send to a non-local
e-mail
| > address"
| > How do I configure my email to avoid this?
 
R

Rick Rantilla

Jim, Thanks once again. Just knowing something can't be done helps me a lot.

- Rick
 
R

Rick Rantilla

Tom,

And thanks for the confirmation. Knowing what can't be done saves a lot of
time.

- Rick
 
J

Jim Buyens

It depends. In the case of the SMTP server that comes with IIS, or one that
operates on an intranet, it might not be so difficult. Also, some ISP's will
provide a server that relies on source IP Address filtering if you ask them.

But other times, I agree, this can be a difficult problem.

Jim Buyens
Microsoft FrontPage MVP
http://www.interlacken.com
Author of:
*----------------------------------------------------
|\---------------------------------------------------
|| Microsoft Windows SharePoint Services Inside Out
|| Microsoft Office FrontPage 2003 Inside Out
||---------------------------------------------------
|| Web Database Development Step by Step .NET Edition
|| Microsoft FrontPage Version 2002 Inside Out
|| Faster Smarter Beginning Programming
|| (All from Microsoft Press)
|/---------------------------------------------------
*----------------------------------------------------
 
R

Rick Rantilla

OK,

Now I've "gutted" Jim's security system and will pick up registrations and
send them their passwords manually. (I'll write a routine to do this
automatically when the volume picks up). When I write an ASP.net page
within the secure zone I get the following error:

Parser Error
Description: An error occurred during the parsing of a resource required to
service this request. Please review the following specific parse error
details and modify your source file appropriately.

Parser Error Message: Cannot use 'C#' because another language has been
specified earlier in this page.

Source Error:


Line 13: <title>Secure Web Page</title>
Line 14: <link rel="stylesheet" type="text/css" href="../../styles.css">
Line 15: <script language="C#" runat="server"
src="../../_fpclass/fputil.cs"></script>
Line 16: </head>
Line 17:


Source File:
C:\Accounts\justimpr\wwwRoot\selfregnet\securezone\MemberBookSwapHistory.aspx
Line: 15


--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:1.1.4322.2032; ASP.NET
Version:1.1.4322.2032

Jim, you, of course, are already in the data base and probably remember your
password, so you can get this far starting at
http://just-improvement.com/selfregnet/login.aspx

Does Jim's security package and FrontPage 2003's Data Base Results Wizard
work in incompatible languages? Or is this error something else?
 
J

Jim Buyens

The SmtpMail and MailMessage classes are standard, mainstream, .NET
components. If your host claims to support ASP.NET, its probably worthwhile
asking them how to make these components work. For example, the host may
operate a mail server that doesn't require authentication, but which only
accepts mail from other servers in their computer room.

As to your parser error you probably have an @ Page declaration somewhat like:

<%@ Page Language="vb" Debug="true" Explicit="True"%>

The Page Language="vb" setting declares that all server-side scripts in the
curernt page will be in Visual Basic. If you want to use C#, change this to

<%@ Page Language="c#" Debug="true" Explicit="True"%>

Jim Buyens
Microsoft FrontPage MVP
http://www.interlacken.com
Author of:
*----------------------------------------------------
|\---------------------------------------------------
|| Microsoft Windows SharePoint Services Inside Out
|| Microsoft Office FrontPage 2003 Inside Out
||---------------------------------------------------
|| Web Database Development Step by Step .NET Edition
|| Microsoft FrontPage Version 2002 Inside Out
|| Faster Smarter Beginning Programming
|| (All from Microsoft Press)
|/---------------------------------------------------
*----------------------------------------------------
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top