

Hotmaile Gönderilen Otomatik Hesap Etkinleştirme Mailine Resim Ekle Sorunu
-
Sitem tarafından gonderilen hesap etkinleştirme mailline resim eklemeyi denedim hotmaile giden maillerde resim sadece kod olarak gorunuyor direk resmin gorunmesi icin ne yapmam gerekir bu konuda yardımcı olabilirmisiniz.
-
web sitesinin sisteminden gonderilen otomatik maillere direk gorunebilecek resimleri nasıl ekleyebilirim banner gibi bu konuda bilgi verebilecek biri yok mu acaba?
-
normal html kodları kullanmalısın.
mesela
<img src="http://www.tahribat.com/css/Themes/Default/navbar_orjinal.jpg" alt="tahribat" />
gibi..
-
cracker bunu yazdı:
-----------------------------
normal html kodları kullanmalısın.
mesela
<img src="http://www.tahribat.com/css/Themes/Default/navbar_orjinal.jpg" alt="tahribat" />
gibi..
-----------------------------kardesim bunu denedim fakat sadece kod gorunuyor resimden eser yok
-
basına sonuna <html>
</html>
ekle. buda olmuyosa muhtemelen kullandıgın text editorundendir.. çunku html tagları olupta düz kod gorunmesi çok ilginç bi durum.
eğer onuda yapamıyosan , msn pm at.. birebir bakalım.
-
cracker bunu yazdı:
-----------------------------
basına sonuna
ekle. buda olmuyosa muhtemelen kullandıgın text editorundendir.. çunku html tagları olupta düz kod gorunmesi çok ilginç bi durum.
eğer onuda yapamıyosan , msn pm at.. birebir bakalım.
-----------------------------yok kardesim saka gib :D beceremedim gitti sunu
<html><img src='http://www.tahribat.com/css/Themes/Default/navbar_orjinal.jpg' alt='tahribat' /></html>
Bu Email size otomatik olarak sistemimiz tarafından gönderilmiştir!ahanda bole gorunuyo gelen mesaj hotmailde (:
-
Mail yollama kodunda "AllowHTML = true" olmalı. Ona bak bakalım.
-
wking bunu yazdı:
-----------------------------
Mail yollama kodunda "AllowHTML = true" olmalı. Ona bak bakalım.
-----------------------------yok kardesim ole bi kod da yok ama genede olmuyor :/
-
function mailer($in, $out, $sender, $html)
{
$this->outgoing = $out;
$this->incoming = $in;
$this->sender = $sender;
$this->html = false;
$this->server = 'localhost';
$this->recipient = '';
$this->message = '';
$this->subject = '';
$this->list = '';
$this->bcc = array();
$this->headers = array();
}
function setBcc($email)
{
$this->bcc[] = $email;
}
function doBcc()
{
if (!$this->bcc) {
return false;
}
$this->list .= implode(', ', $this->bcc);
$this->setHeader('Bcc: ' . $this->list);
return true;
}
function setRecipient($recipient)
{
$this->recipient = $recipient;
}
function setSubject($subject)
{
$subject = str_replace(array("\n", "\r"), array(' ', ' '), $subject);
$this->subject = $subject;
}
function setMessage($message)
{
$this->message = $message;
}
function setHeader($header)
{
$header = str_replace(array("\n", "\r"), array(' ', ' '), $header);
$this->headers[] = $header;
}
function setServer($server)
{
$this->server = $server;
}
function doSend()
{
if (!strlen($this->subject)) {
return false;
}
$this->setHeader('From: ' . $this->sender . ' <' . $this->outgoing . '>');
$this->setHeader('Reply-To: ' . $this->incoming);
if (!strlen($this->recipient)) {
$this->doBcc();
$to = $this->sender . ' <' . $this->outgoing . '>';
} else {
$to = $this->recipient;
}
if ($this->server) {
@ini_set('SMTP', $this->server);
}
if (mail($to, $this->subject, $this->message, implode("\n", $this->headers))) {
return true;
} else {
return false;
}
}
}-------------------------------------------------------------------------
mail kodu bu kodlamı alakalı bir sorum acaba
-
O kod yoktur işte, değeri false'tur. True yap onu.
Şu olabilir mesela: $this->html = false;
-
wking bunu yazdı:
-----------------------------
O kod yoktur işte, değeri false'tur. True yap onu.
Şu olabilir mesela: $this->html = false;
-----------------------------durum hala aynı hotmaile gelen mail bu sekilde oluyor
<html><img src="http://www.tahribat.com/css/Themes/Default/navbar_orjinal.jpg" alt="tahribat" /></html>
Bu Email size otomatik olarak sistemimiz tarafından gönderilmiştir!