Mail in HTML format... |
[eluser]Sawariya[/eluser]
Hi Friends I am trying to send mail in HTML format.. My message should be like a web page.. is it possible?? I tried this... but here its displaying complete text... any solution for this... Thanks in advace
[eluser]wiredesignz[/eluser]
Can you show your code so we can see your problem.
[eluser]Sawariya[/eluser]
thanks for your reply ..Ignore this i done that thanks again
[eluser]mdriscol[/eluser]
Was something changed in the email library? I upgraded to 1.60 and my HTML emails that were sending as html are now sending as text. Does anyone know what might be the problem? It doesn't look like the email library changed besides the comments in it.
[eluser]mdriscol[/eluser]
oh I fixed it. Before when i had my config it was in Email.php because thats what the instruction said. Now the user guide says email.php. (no capital E). That fixed it.
[eluser]Edemilson Lima[/eluser]
Will 1.6.0 have embed images in HTML Emails? Look at the AddEmbedImage() method of the PHPMailer Library: Code: AddEmbeddedImage($path, $cid, $name="", $encoding = "base64", $type="application/octet-stream"); Adds an embedded attachment. This can include images, sounds, and just about any other document. Make sure to set the $type to an image type. For JPEG images use "image/jpeg" and for GIF images use "image/gif". Where $cid is an unique id, to identify each image in the HTML message. The image tag must be something like: Code: <img src="cid:<?=$cid?>.jpg" width="300" height="100" border="0" /> http://phpmailer.codeworxtech.com/methods.html Only with embed images and inline styles you can send HTML Emails with the looking of web sites, with their own layout. Without embed images you can load the images from your web site when the Email is opened, but actually most of the webmail's and Email client software do not allow this because this technique is often used by spammers to detect valid Emails.
[eluser]Sawariya[/eluser]
Hi mdriscol how did you fix it?? did you create a separate email library or changed something in current library .. let me know that?.. i done it its working ... but i created another library for send html emails.. thank in advance |
Welcome Guest, Not a member yet? Register Sign In |