![]() |
![]() |
![]() |
||||
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 |
Confirmed User
Join Date: Jan 2006
Location: Paradise
Posts: 1,047
|
GMAIL - HTML Compatibility?
Supposedly there is a line of code one can throw into the html header of, say, an email newsletter, to make it display correcty in gmail.
![]() ![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
Confirmed IT Professional
Industry Role:
Join Date: Nov 2005
Location: Hollywood, CA
Posts: 3,744
|
Simple html works fine for me. Although you have to form the proper headers. I use php to make it.
![]()
__________________
The Best Affiliate Software, Ever. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 | |
Confirmed IT Professional
Industry Role:
Join Date: Nov 2005
Location: Hollywood, CA
Posts: 3,744
|
Quote:
Code:
$from = '[email protected]'; $message = '<html><head><title>Message Title</title></head> <body bgcolor=#ffffff text=#ff5500><div align=center> <font face=tahoma size=2 color=#ff5500><b> Hi, this is a message in html.<br /><br />'; $message .= 'You are receiving this email message because you or someone else has submitted information to an adult related website using your email address and this message is it\'s reply. </font></div></body></html>'; $headers = 'MIME-Version: 1.0' . "\r\n"; $headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n"; $headers .= 'From: Your Name <' . $from . '>' . "\r\n"; $subject = 'Hi there!'; $to = '[email protected]'; mail($to, $subject, $message, $headers);
__________________
The Best Affiliate Software, Ever. |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 |
Confirmed User
Join Date: Jan 2006
Location: Paradise
Posts: 1,047
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |