Enotiks' Board v1.0 (login)
 
Home>Support>Hello again... a few questions NEW MESSAGE
Display messages for
 
Author Message
ryl
Hello again... a few questionsREPLY
Hi.

I really like your script. It's simple and fast.

I do have a few questions though:

Where is the list of users saved?
Where can I find the referer and can I change or disable it?
This is because I'm on a dynamic connection and when I create a new account I will only receive the messages for accounts having the same domain as the internet connection I use.
Example: my ip is 33.33.33.33 and lets say it's with company www.myconnections.com
It seems I can only send to emails having the ...@myconnections.com like me@myconnections.com.

So would the referer have something to do with this?

Thanks in advance for the help.

Richard

4/4/2002 6:58:42 AM
Dmitri
Re:Hello again... a few questionsREPLY
Hi Richard,

ryl wrote on 4/4/2002 6:58:42 AM:
> I really like your script. It's simple and fast.

Thank you.

> I do have a few questions though:
>
> Where is the list of users saved?

The list is saved in table member of MS Access database enotik.mdb

> Where can I find the referer and can I change or disable it?

The board does not store referer information.
However, it is possible to send email from multiple domain names using SERVER_NAME HTTP environment variable.
To make it work with the board you have to modify board_register.asp, make line 96 look something like:
mail.From = "board@" & Request.ServerVariables("SERVER_NAME")

Also, you have to do something similar on line 51 in board_forgot.asp


> This is because I'm on a dynamic connection and when I create a ne
> w account I will only receive the messages for accounts having the
> same domain as the internet connection I use.
> Example: my ip is 33.33.33.33 and lets say it's with company www.m
> yconnections.com
> It seems I can only send to emails having the ...@myconnections.co
> m like me@myconnections.com.
>
> So would the referer have something to do with this?
>
> Thanks in advance for the help.
>
> Richard


Please, let me know if you have any questions.

Thanks,
Dmitri.

4/4/2002 12:27:26 PM
ryl
Re:Re:Hello again... a few questionsREPLY
Hi Dimitry.

Call me dense, but it doesn't work.
> However, it is possible to send email from multiple domain names u
> sing SERVER_NAME HTTP environment variable.
> To make it work with the board you have to modify board_register.a
> sp, make line 96 look something like:
> mail.From = "board@" & Request.ServerVariables("SERVER_NAME")
>
> Also, you have to do something similar on line 51 in board_forgot.
> asp

Where do I find the "SERVER_NAME HTTP environment variable"?
And do I copy the 'mail.From... ' line above and paste it as is? Or do I replace the 'board@' with my email prefixe?
And do I change the 'SERVER_NAME' with my smtp server name?
Or do I just enter the server name where I'll find the server variables?

Thanks,

Ryl

>
> Please, let me know if you have any questions.
>
> Thanks,
> Dmitri.
>

4/4/2002 6:30:21 PM
ryl
Re:Re:Hello again... a few questionsREPLY
Hi Dimitry.

Call me dense, but it doesn't work.
> However, it is possible to send email from multiple domain names u
> sing SERVER_NAME HTTP environment variable.
> To make it work with the board you have to modify board_register.a
> sp, make line 96 look something like:
> mail.From = "board@" & Request.ServerVariables("SERVER_NAME")
>
> Also, you have to do something similar on line 51 in board_forgot.
> asp

Where do I find the "SERVER_NAME HTTP environment variable"?
And do I copy the 'mail.From... ' line above and paste it as is? Or do I replace the 'board@' with my email prefixe?
And do I change the 'SERVER_NAME' with my smtp server name?
Or do I just enter the server name where I'll find the server variables?

Thanks,

Ryl

>
> Please, let me know if you have any questions.
>
> Thanks,
> Dmitri.
>

4/5/2002 4:23:30 AM
Dmitri
Re:Re:Re:Hello again... a few questionsREPLY
Richard,

You can read about Environment Variables (including SERVER_NAME) at http://msdn.microsoft.com/library/default.asp?url=/library/en-us/iisre f/html/psdk/asp/vbob5vsj.asp

The NewMail object used by the board from CDONTS Library. Details at http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cdo/h tml/_denali_newmail_object_cdonts_library_.asp


To get domain name as it appears in the client browser window you have to use SERVER_NAME Environment Variable that can be obtained by executing following command: Request.ServerVariables("SERVER_NAME"). Then you have to append existing email account name with '@' sign at the end to the beggining of the server name, the resulting string should look like "board@yourdomainname.com".

To simplify debugging of the task - copy the send email part into the new asp page. Then make your changes and test it. If the test script will not send email with values that you sure should work - then the problem might be due to one of the following reasons: 1) CDONTS library is not installed; 2) SMTP server is not configured to allow sending emails by internet guest account.

Have fun,
Dmitri.

4/5/2002 8:50:51 AM
 
Copyright© 2006 Enotik.com. All rights reserved. | Terms and Conditions of Use