Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> Osadzanie flasha w mailu wysylanym przez PHPMailera
Vit0
post
Post #1





Grupa: Zarejestrowani
Postów: 14
Pomógł: 0
Dołączył: 26.07.2004

Ostrzeżenie: (0%)
-----


Witam,

Pisze newsletter uzywajacy phpmailera. Do tej pory wszystko szlo mi w miare dobrze i wiekszosc newslettera mam - dziala, wysyla sie za pomoca AJAXa, wiec z tym problemow nie mam.
Jednak natknalem sie dzisiaj na problem z osadzeniem Flasha w mailu. Moim zalozeniem jest wyslanie newslettera bez zalacznikow ani bez obrazkow otwieranych online, czyli wszystko do tej pory mam jako obiekty zalaczane.
Jednak nie wiem jak to zrobic z flashem? W momencie kiedy osadzilem go jako <OBJECT>flash</OBJECT> miejsce na flasha jest puste i nic sie nie pojawia w klientach pocztowych.
Jak mozna osadzic flasha w mailu tak, aby nie pojawial sie jako zalacznik ani nie wymagal klikniecia zeby uruchomic obiekt?
Go to the top of the page
+Quote Post
 
Start new topic
Odpowiedzi
nospor
post
Post #2





Grupa: Moderatorzy
Postów: 36 559
Pomógł: 6315
Dołączył: 27.12.2004




Po pierwsze: nie to forum.Przenosze
Po drugie: dokumentacje PHPMailera zamkneli? :
http://phpmailer.sourceforge.net/tutorial.html
Cytat
If you want to send out a HTML-message with pictures, or even flash animations or whatever, PHPMailer supports this as well. Adding a picture to your HTML-message for example is explained in the Chapter Inline Attachments in detail and should lead you to your 'I am a superb HTML-Message-Designer' pleasure. For short, here are 2 lines of Code you've to insert before sending the mail out:
$mail->AddEmbeddedImage("rocks.png", "my-attach", "rocks.png"));
$mail->Body = 'Embedded Image: <img alt="PHPMailer" src="cid:my-attach"> Here is an image!';

Podobnie zrob z flashem
Go to the top of the page
+Quote Post

Posty w temacie


Reply to this topicStart new topic
2 Użytkowników czyta ten temat (2 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Aktualny czas: 4.10.2025 - 15:37