PDA

View Full Version : Formmail ed il suo script....aiutatemi a configurarlo.


fabstars
02-04-2008, 18:03
Salve ragazzi,

Ho scaricato da un sito dei file che mi permetteranno (forse) di creare un formmail sul mio sito.

Non sono un esperto in materia ma mi è sembrato di capire che se adeguatamente configurato dovrebbe funzionare.

La parte che può essere modificata è questa:

'############################## CONFIGURATION VARIABLES ####################################

'These are the only lines you will need to change
'----------------------------------------------------------------------------------------------------
strServer = "box.tin.it" 'set which smtp server will be used to send the email. enter ip address or domain name. eg: "xxx.xxx.xxx.xxx" or "smtp.your-domain.com"
intPort = 25 'set the smtp port to be used when sending mail (by default port 25 is used)
'Referrer's Array is defined here. Enter the valid domains which may use this script.
'
'
'###################################################
'
'
Dim e
Dim o
e="www." + Request.QueryString("domain")
o = Request.QueryString("domain")
url = Array(o,e)
'
'
'###############################################
'
'
'Set which urls that will be accepted. http://xxxxx/
'Seperate multiple domains by commas
'eg: url= Array("www.your-domain.com","your-domain.com","www.my-domain.com")
'computer names can be used instead of domains if this script is being run locally
'eg: url = Array("computername")


Il resto del file (formmail.asp) deve rimanere invariato per poterlo utilizzare.

Qualcuno è in grado di capire come fare??

Come faccio ad impostare l'indirizzo e-mail su cui dovranno pervenire le informazioni che saranno inviate dal mio sito attraverso il modulo??

Grazie