4images Forum & Community
4images Issues / Ausgaben => Feedback & Suggestions => Topic started by: giffy007 on June 30, 2002, 12:54:58 PM
-
Hi a while back i wanted to send html emails to ours members and you came with this :
open "includes/email.php" and add under this line
Code:
$headers = $this->create_header();
this line
Code:
$headers .= "Content-Type: text/html\r\nContent-Transfer-Encoding: 8bit\r\n";
Well i cannot seem to get this working , all i end up with is alot of text, please can you help me :!:
Giffy :wink:
-
Add it below this line:
$header .= sprintf("Subject: %s".$this->crlf, $this->subject);
Greets Jan
-
Hi Jan tried this and it didnt work , all i am getting is text , more help needed :!:
Giffy :cry:
-
Hi Jan ,
Have you got some thing for me yet , so i can send html emails , as i wrote it didnt work the last thing you gave me :!:
Giffy
-
Use this line:
$header .= "Content-Type: text/html\r\nContent-Transfer-Encoding: 8bit\r\n";
Jan
-
How do i get rid of this in the emails :?: :
Content-Transfer-Encoding: 8bit This is an email sent to you by an administrator of . If this message is spam, contains abusive or other comments you find offensive please contact the webmaster at: xxxxxxxx Message sent to you follows: -------------------------------------------
Giffy :wink:
-
Open includes/email.php and search for this code fragment:
function create_header() {
global $config;
$header = "";
After $header = ""; add the following line:
$header .= "Content-Type: text/html\r\nContent-Transfer-Encoding: 8bit\r\n";
This seems to work for me.
NOTE: You will need to update lang/<your language>/email/admin_email.html with HTML tags.
-
It works perfect. Thanks man :)