Welcome Guest, Not a member yet? Register   Sign In
Send many mails with mail function
#1

[eluser]Diegosf93[/eluser]
Hi ii´m testing my app at localhost and using and emulator to send mails, the problem is that i want to load an imagen in the body of the mail but dont show me it.

look:

Code:
$cabeceras  = 'MIME-Version: 1.0' . "\r\n";
$cabeceras .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n";
              
$cuerpo= "<html>
<head>
  <title>TEST</title>
</head>
<body>

  $mail;
  
</body>
</html>";

        mail($destinatario,$asunto,$cuerpo,$cabeceras) ;
      }

$mail --> This is the content of the mail that i get it by the db.

This show me in the mail:

<img src='http://localhost/CodeIgniter_2.1.2/imagesMail/23.jpg' />;
#2

[eluser]kreamik[/eluser]
maybe because you just attach the picture without embedding it,
try this one :
http://www.designerstalk.com/forums/help...hment.html




Theme © iAndrew 2016 - Forum software by © MyBB