isSMTP(); $mail->Host = 'localhost'; $mail->Port = 25; //Use a fixed address in your own domain as the from address //**DO NOT** use the submitter's address here as it will be forgery //and will cause your messages to fail SPF checks $mail->setFrom('contacto@h2electry.com', 'Desde H2Electry.com'); //Choose who the message should be sent to //You don't have to use a