
16/09/2009, 12:24
|
| | Fecha de Ingreso: septiembre-2009
Mensajes: 1
Antigüedad: 15 años, 6 meses Puntos: 0 | |
Respuesta: Problema con ASPBB 0.5, no se envian los mails, que puedo hacer?? ¿Como puedo configurar aspbb?
Entro en config con el blog de notas pero no consigo que ande cuando lo subo al servidor.
Pego el config: (¿Me puede indicar que poner en cada lugar?)
<%
Option Explicit
On Error Resume Next
Dim strTable, strAlign,strNewMail, intPmCount
'#################################################
'# Database options #
'#################################################
const db_type = 1 ' 1 = MySQL, 2 = Access
const db_Server = "localhost" ' MySQL
const db_Password = "" ' Not required for Access
const db_Username = "" ' Not required for Access
const db_Database = "" ' MySQL
const db_path = "db/aspbb. mdb" ' Only if running Access
const path = "/" 'The path to where you have the forum installed
'#################################################
'# Email settings #
'#################################################
const strEmailComponent = "CDOSYS" '//Choose from w3JMail, CDONTS or CDOSYS
const strSMTPserver = "localhost"
const strSenderName = "ASPBB Active Server Pages Bulletin Board"
const strReplyAdress = "noreply @aspbb. org"
const strEmailUserName =""
const strEmailPassword = ""
'#################################################
'# Upload settings #
'#################################################
const strComponent = "aspsmartupload" '//Choose from fso, aspupload or aspsmartupload
const avatarsize =50000
const attatchmentsize = 1200000
'#################################################
'# Customize forum settings #
'#################################################
const strForumName = "ASPBB"
const strForumAddress = "h t tp:// forum. aspbb. org/" '// End with a /
const blnShowActive = true '// Show active users plugin
const blnShowStats = true '// Show status plugin
const blnGenerateRSS = true '// Activate RSS plugin
const blnShowLatest = true '// Shall we show latest threads
const intTopicsPerPage = 15 '// How many topics to display per page as default
const intReplyPerPage = 15 '// How many replys to display per page as default
const intDisplayThreads = 5 '// For show latest threads
const blnCatGap = true '// Empty row between categories
const blnThirdColor = true '// Activate apbbcolor3 for css mouseover effect
const defaultLang = "english" '// Name of language file without trailing .lang
const requireactivation = true '// Users must confirm the registration by clicking link in email
const blnAntiBump = true '/// Regular users cant make 2 post after eachother in the same thread.
const defaultUserTitle = "Member"
const avatar_width = "60"
const avatar_height = "60"
const servertimezone = 1 '//Based on GMT
const blnDebug = true '//Show helpful forum and client settings in error catcher
'#################################################
'# Database connection strings #
'#################################################
Dim objDAL
Set objDAL = new DAL
if db_type = 1 Then
objDAL.ConnectionString = "Driver={MySQL ODBC 3.51 Driver};server="&db_Server&";uid="&db_Username&";p wd="&db_Password&";database="&db_Database&""
Elseif db_type = 2 Then
objDAL.ConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source="& Server.MapPath(db_path) &";User Id="& db_Username &";Password="& db_Password &";"
End if
objDAL.Connect
%>
<!-- #include file="includes/dal.asp" -->
<!-- #include file="includes/languageParser.asp" -->
<!-- #include file="includes/inc_globalfunctions.asp" -->
<!-- #include file="includes/includeasp.asp" -->
<!-- #include file="includes/inc_sha256.asp" -->
Muchas gracias de antemano. |