ecco il contenuto di class.mailconfig.php:
codice:<?php require("class.phpmailer.php"); $mail = new PHPMailer(); $mail->FromName = "noreply@m.com"; $mail->SMTPAuth = True; // turn on SMTP authentication $mail->Username = "noreply@m.com"; // SMTP server $mail->Password = "XXXX"; // SMTP server $mail->IsSMTP(); // telling the class to use SMTP $mail->Host = "smtp.XXXX.com"; // SMTP server $mail->Port = "25"; // SMTP server ?>

Rispondi quotando