PHP - Envio de notificación a correo IBM Lotus Notes

 
Vista:
sin imagen de perfil

Envio de notificación a correo IBM Lotus Notes

Publicado por Luis Alberto (11 intervenciones) el 10/02/2016 00:16:01
Alguien sabe como puedo enviar un correo desde php a IBM Lotus Notes, ya puedo enviarlo a gmail y hotmail pero me intersa que llegue a correos Lotus. Tengo este codigo

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
<?php
   $msg = null;
   if(isset($_POST["phpmailer"])){
       $nombre = htmlspecialchars($_POST["nombre"]);
       $email = htmlspecialchars($_POST["email"]);
       $asunto =htmlspecialchars( $_POST["asunto"]);
       $mensaje = $_POST["mensaje"];
       $adjunto = $_FILES["adjunto"];
       require "phpmailer/class.phpmailer.php";
       $mail = new PHPMailer;
       $mail->IsSMTP();
       $mail->SMTPAuth = true;
       $mail->SMTPSecure = "ssl";
       $mail->Host = "smtp.gmail.com";
       $mail->Port = 465;
       $mail->Username = "xxxx@mail.com";
       $mail->Password = "password";
       $mail->FromName = "Administrador";
       $mail->Subject = $asunto;
       $mail->addAddress($email, $nombre);
       $mail->MsgHTML($mensaje);
 
 
       if ($adjunto ["size"] > 0)
      {
 
          $mail->addAttachment($adjunto ["tmp_name"], $adjunto ["name"]);
   }
 
 
          if($mail->Send())
        {
    $msg= "En hora buena el mensaje ha sido enviado con exito a $email";
    }
        else
        {
    $msg = "Lo siento, ha habido un error al enviar el mensaje a $email";
    }
 }
?>
Valora esta pregunta
Me gusta: Está pregunta es útil y esta claraNo me gusta: Está pregunta no esta clara o no es útil
0
Responder