EN EL CODIGO HTML seria
Código HTML:
Adjunto <input type="file" name="archivo"> Adjunto2 <input type="file" name="archivo2">
Código PHP:
require("class.phpmailer.php");
if ($_POST['action'] == "send") {
$varname = $_FILES['archivo']['name'];
$vartemp = $_FILES['archivo']['tmp_name'];
$mail = new PHPMailer();
$mail->Host = "localhost";
$mail->From = $_POST['destino'];
$mail->Subject = $_POST['asunto'];
$mail->AddAddress(mail@dominio.com);
if ($varname != "") {
$mail->AddAttachment($vartemp, $varname);
}
Le agradeceria al q me pueda ayudar en este simple problema