Enotiks' Board v1.0 (login)
 
Home>Support>E-mail NEW MESSAGE
Display messages for
 
Author Message
Jorge
E-mailREPLY
What was my mistake ? The system is not sending the e-mail back to users with the password.

Nice board ! =)

6/26/2001 4:06:06 PM
Dmitri
Re:E-mailREPLY
Jorge,
There are three most common reasons why this could happen:
1. Server prevents from sending e-mail where From property doesn't match domain name or e-mail address doesn't exist.
2. SMTP service is not properly configured.
3. CDONTS library is not installed on server.

Before you change something on server try changing From property of NewMail object in board_register.asp line 96 to your existing domain e-mail address. Also try to surround e-mail addresses with '<' and '>', i.e. use '<john@domain.com>' instead of 'john@domain.com' - I've seen it worked this way on one site.

p.s. Thanks :-)

6/27/2001 7:16:06 AM
Jorge
Re:Re:E-mailREPLY


Dmitri wrote on 6/27/2001 7:16:06 AM:
> Jorge,
> There are three most common reasons why this could happen:
> 1. Server prevents from sending e-mail where From property doesn't
> match domain name or e-mail address doesn't exist.
> 2. SMTP service is not properly configured.
> 3. CDONTS library is not installed on server.
>
> Before you change something on server try changing From property o
> f NewMail object in board_register.asp line 96 to your existing dom
> ain e-mail address. Also try to surround e-mail addresses with '<'
> and '>', i.e. use '<john@domain.com>' instead of 'john@domain.com'
> - I've seen it worked this way on one site.
>
> p.s. Thanks :-)
>

How to know if I have CDONTS library installed ? and how to get it , if I need it.
I did what you told me to do , but it didnīt work.
I run my own web server on winNT 4 ( IIS 4 )
Thanks
Jorge

6/27/2001 8:02:41 PM
Dmitri
Re:Re:Re:E-mailREPLY
The simplest way to test your CDONTS and SMTP is to execute following script that will try to send an e-mail message. Don't forget to change From and To properties to your e-mail address.

<%@ Language=VBScript %>
<%
Set mail = Server.CreateObject("CDONTS.NewMail")
mail.From = "you@domain.com"
mail.To = "someone@domain.com"
mail.Subject = "Message from the Web"
mail.Body = "Test"
mail.Send
%>

If script fails on Set mail = Server.CreateObject("CDONTS.NewMail") - then you don't have CDONTS. If script executes and you didn't received e-mail then your SMTP isn't configured right.

To successfully run the CDONTS.DLL file, which holds both the in-process server and the type library, you must have installed Internet Explorer version 4.0 or later. A minimal installation is sufficient, and the Internet Explorer does not have to be actually running.

CDO for NTS is automatically installed during the typical installation of IIS 4.0. Microsoft Exchange does not have to be installed at the IIS computer on which CDO for NTS is being installed.

To run with Microsoft Exchange version 5.5, a minimal installation of Internet Explorer 4.0 is still required on the server. If the Microsoft Exchange Server is already installed, you can install Internet Explorer 4.0 on the server and then run the Internet Mail Service (IMS) Setup Wizard to enable CDO for NTS. This configures CDO for NTS to use the SMTP services that Exchange provides.

If you are installing the Microsoft Exchange Server on the same machine as IIS 4.0, Internet Explorer 4.0 should already be installed. You must also run the IMS Wizard in order to configure CDO for NTS correctly. If the IMS Wizard is not run, CDO for NTS continues to use the SMTP services provided by IIS 4.0.

For proper delivery of mail, you must have the SMTP server component of IIS configured to send mail to the addresses you specify. This is done through the Domain Name System (DNS). For more information, see Microsoft SMTP Service in the Microsoft Windows NT 4.0 Option Pack Documentation.

6/28/2001 8:00:08 AM
Jorge
Re:Re:Re:Re:E-mailREPLY


Dmitri wrote on 6/28/2001 8:00:08 AM:
> The simplest way to test your CDONTS and SMTP is to execute followi
> ng script that will try to send an e-mail message. Don't forget to
> change From and To properties to your e-mail address.
>
> <%@ Language=VBScript %>
> <%
> Set mail = Server.CreateObject("CDONTS.NewMail")
> mail.From = "you@domain.com"
> mail.To = "someone@domain.com"
> mail.Subject = "Message from the Web"
> mail.Body = "Test"
> mail.Send
> %>
>
> If script fails on Set mail = Server.CreateObject("CDONTS.NewMail"
> ) - then you don't have CDONTS. If script executes and you didn't r
> eceived e-mail then your SMTP isn't configured right.
>
> To successfully run the CDONTS.DLL file, which holds both the in-p
> rocess server and the type library, you must have installed Interne
> t Explorer version 4.0 or later. A minimal installation is sufficie
> nt, and the Internet Explorer does not have to be actually running.
>
>
> CDO for NTS is automatically installed during the typical installa
> tion of IIS 4.0. Microsoft Exchange does not have to be installed a
> t the IIS computer on which CDO for NTS is being installed.
>
> To run with Microsoft Exchange version 5.5, a minimal installation
> of Internet Explorer 4.0 is still required on the server. If the M
> icrosoft Exchange Server is already installed, you can install Inte
> rnet Explorer 4.0 on the server and then run the Internet Mail Serv
> ice (IMS) Setup Wizard to enable CDO for NTS. This configures CDO f
> or NTS to use the SMTP services that Exchange provides.
>
> If you are installing the Microsoft Exchange Server on the same ma
> chine as IIS 4.0, Internet Explorer 4.0 should already be installed
> . You must also run the IMS Wizard in order to configure CDO for NT
> S correctly. If the IMS Wizard is not run, CDO for NTS continues to
> use the SMTP services provided by IIS 4.0.
>
> For proper delivery of mail, you must have the SMTP server compone
> nt of IIS configured to send mail to the addresses you specify. Thi
> s is done through the Domain Name System (DNS). For more informatio
> n, see Microsoft SMTP Service in the Microsoft Windows NT 4.0 Optio
> n Pack Documentation.
>

6/28/2001 10:20:53 PM
Jorge
Re:Re:Re:Re:Re:E-mailREPLY
Things start to work. Now I have all mail messages stuck in the \mailroot\pickup folder..

Need to learn more about SMTP service config.


Jorge

PS. If you want, you can try this URL : http://iwbrasil.com/novoBBS


6/28/2001 10:25:20 PM
Andy
E-mail using IIS on XPREPLY
I had a probelm with the emial but I was using IIS localy in XP.

I found the CDONTS component is not installed on XP IIS.

I got the dll from DLL World: http://dll.yaroslavl.ru/index.php3?in_search=CDONTS.dll

I then copied this into the system32 directory, you'll find this in the Windows directory.

Then opened the command prompt and typed: -

regsvr32 cdonts.dll

(Make sure also you installed the SMTP server that is installed with the default installation of IIS.)

This solved my problem.

>
> PS. If you want, you can try this URL : http://iwbrasil.com/novoBB
> S
>
>

4/25/2002 10:48:29 AM
 
Copyright© 2006 Enotik.com. All rights reserved. | Terms and Conditions of Use