Torna indietro   Hardware Upgrade Forum > Software > Programmazione

AMD Ryzen 7 9850X3D: Zen 5, 3D V-Cache e frequenze al top per il gaming
AMD Ryzen 7 9850X3D: Zen 5, 3D V-Cache e frequenze al top per il gaming
AMD Ryzen 7 9850X3D è la nuova CPU gaming di riferimento grazie alla 3D V-Cache di seconda generazione e frequenze fino a 5,6 GHz. Nei test offre prestazioni superiori a 9800X3D e 7800X3D, confermando la leadership AMD nel gaming su PC.
Le soluzioni FSP per il 2026: potenza e IA al centro
Le soluzioni FSP per il 2026: potenza e IA al centro
In occasione del Tech Tour 2025 della European Hardware Association abbiamo incontrato a Taiwan FSP, azienda impegnata nella produzione di alimentatori, chassis e soluzioni di raffreddamento tanto per clienti OEM come a proprio marchio. Potenze sempre più elevate negli alimentatori per far fronte alle necessità delle elaborazioni di intelligenza artificiale.
AWS annuncia European Sovereign Cloud, il cloud sovrano per convincere l'Europa
AWS annuncia European Sovereign Cloud, il cloud sovrano per convincere l'Europa
AWS è il principale operatore di servizi cloud al mondo e da tempo parla delle misure che mette in atto per garantire una maggiore sovranità alle organizzazioni europee. L'azienda ha ora lanciato AWS European Sovereign Cloud, una soluzione specificamente progettata per essere separata e distinta dal cloud "normale" e offrire maggiori tutele e garanzie di sovranità
Tutti gli articoli Tutte le news

Vai al Forum
Discussione Chiusa
 
Strumenti
Old 30-01-2008, 10:59   #1
Ginos
Member
 
L'Avatar di Ginos
 
Iscritto dal: Jun 2006
Messaggi: 188
Come configurare VList Lite (mail)

La connessione al database ora va ma purtroppo ora mi continua a dare questi errori:
Warning: mail(): Failed to connect to mailserver at "localhost" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set() in
oppure l'errore 501 invalid address . (Mi indica gli errori sempre su entrambe le linee evidenziate in grassetto qui sotto. Dipende da come invio la mail: o in TXT o in HTML)
Non so più cosa modificare!
L'errore mi viene segnalato nel file listsend.it dove risiede la funzione mail()

Questo il codice del file listsend.php:



Citazione:
<? include("listconfig.php"); ?>

<html>
<head>
<title>vList Lite Administrative Interface</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>

<body bgcolor="#FFFFFF" text="#000000">

<?
ini_set( "SMTP","localhost" ); (questa funzione l'ho aggiunta io per testarlo in locale ora non so se bisogna lasciarla o meno)

if ($Submit=="Send Now!")
{
// Security
$subject = strip_tags($subject);
$TEXTMailText = stripslashes($MailText); // put nl2br() if not showing newline properly in email messages

$connection = mysql_connect($dbhost, $dbusername, $dbpassword);
$query = "SELECT * FROM listsubscribers";
$result = mysql_db_query($dbname, $query);

if ($row = mysql_fetch_array($result))
{
$EmailTo = $row["email"];
$ok = true;
}

while ($row = mysql_fetch_array($result))
{
$EmailTo .= ", " . $row["email"];
$ok = true;
}

if (($mailtype=="text") && ($ok))
{
$Message = $TEXTMailText;
$Message .= $TXTfooter;

$sent = mail ($SenderFrom. "<" . $EmailFrom. ">" , $subject, $Message, "From:$SenderFrom<$EmailFrom>\nReply-to:$EmailReplyTo
\nbcc:$EmailTo" ) ;
}
elseif (($mailtype=="html") && ($ok))
{
$Message = $MailText; // Send HTML mail as it was entered in multi line text box
$Message .= $HTMLfooter;


$sent = mail( $SenderFrom. "<" . $EmailFrom. ">" , $subject, $Message, "From:$SenderFrom<$EmailFrom>\nReply-to:$EmailReplyTo
\nbcc:$EmailTo\nContent-Type:text/html; charset=iso-8859-1" ) ;
}

}
?>

Queste le variabili nel file listconfig.php:


Citazione:
<?
// Database settings
$dbhost = "localhost"; // change this to reflect your db host name
$dbusername = "******"; // change this to reflect your db username
$dbpassword = "******"; // change this to reflect your db password
$dbport = "3306"; // default is 3306; change this if different
$dbname = "*******"; // name of the database

// ***** Email Settings *****

// Value for the FROM field of the message to member
$SenderFrom = "TEST MAIL" ;

// email address that will show from the email you sent. every email sent to the list would also be sent here
$EmailFrom = "[email protected]" ;(E' corretto inserire il mio indirizzo in questa variabile anche se l'SMTP è impostato su localhost?)

// email address where list member replies will be sent
$EmailReplyTo = "[email protected]" ;
(

// URL of listunsubscribe.php - Change this to reflect your settings
$UnsubscribeURL = "http://www.domain.net/vListLite/listunsubscribe.php";

// unsubscribe text version - you may opt to change this
$TXTfooter = "\n\n---------------------------------------------\nTo unsubscribe from this mailing list, please click on the URL below OR if this is not possible, copy and paste the URL into your web browser and then enter your email address in the field provided. The URL is: " . $UnsubscribeURL;

// unsubscribe html version - you may opt to change this
$HTMLfooter = "<br><BR>---------------------------------------------<br><font face=\"Verdana\" size=\"1\">To unsubscribe from this mailing list, please click on the URL below OR if this is not possible, copy and paste the URL into your web browser and then enter your email address in the field provided. The URL is: " . $UnsubscribeURL;

?>

Ovviamente il tutto funziona alla grande in locale! Sicuramente sarà qualche problema di configurazione (l'applicativo era già compilato).
Ragazzi entro oggi dovrei renderlo funzionante mi aiutate per favore?
Grazie mille
Ginos è offline  
Old 30-01-2008, 19:00   #2
cionci
Senior Member
 
L'Avatar di cionci
 
Iscritto dal: Apr 2000
Città: Vicino a Montecatini(Pistoia) Moto:Kawasaki Ninja ZX-9R Scudetti: 29
Messaggi: 53971
Thread chiuso
|
V
cionci è offline  
 Discussione Chiusa


AMD Ryzen 7 9850X3D: Zen 5, 3D V-Cache e frequenze al top per il gaming AMD Ryzen 7 9850X3D: Zen 5, 3D V-Cache e frequen...
Le soluzioni FSP per il 2026: potenza e IA al centro Le soluzioni FSP per il 2026: potenza e IA al ce...
AWS annuncia European Sovereign Cloud, il cloud sovrano per convincere l'Europa AWS annuncia European Sovereign Cloud, il cloud ...
Redmi Note 15 Pro+ 5G: autonomia monstre e display luminoso, ma il prezzo è alto Redmi Note 15 Pro+ 5G: autonomia monstre e displ...
HONOR Magic 8 Pro: ecco il primo TOP del 2026! La recensione HONOR Magic 8 Pro: ecco il primo TOP del 2026! L...
Xiaomi SU7 Ultra: da domani tutti i gioc...
Sharp Inspire Expo 2026: da produttore d...
Razer Synapse Web è realtà...
Concessionarie Audi chiudono improvvisam...
Resident Evil Requiem: 4K, 60 FPS e ray ...
Le batterie LFP sono piccole e pesanti? ...
Motorola inarrestabile: nuova serie moto...
Decima generazione Pokémon: grafi...
Una nuova legge consente di rottamare un...
Google mostra per sbaglio Android per PC...
Tesla non convince più: crolla il...
OpenAI lancia Prism: l'AI ora lavora fia...
Nissan mette i pannelli solari su Ariya:...
Day 3 a Barcellona: la prima di Norris c...
Usa: il capo della cyber sicurezza ha ca...
Chromium
GPU-Z
OCCT
LibreOffice Portable
Opera One Portable
Opera One 106
CCleaner Portable
CCleaner Standard
Cpu-Z
Driver NVIDIA GeForce 546.65 WHQL
SmartFTP
Trillian
Google Chrome Portable
Google Chrome 120
VirtualBox
Tutti gli articoli Tutte le news Tutti i download

Strumenti

Regole
Non Puoi aprire nuove discussioni
Non Puoi rispondere ai messaggi
Non Puoi allegare file
Non Puoi modificare i tuoi messaggi

Il codice vB è On
Le Faccine sono On
Il codice [IMG] è On
Il codice HTML è Off
Vai al Forum


Tutti gli orari sono GMT +1. Ora sono le: 18:24.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
Served by www3v