V8 - Email-Probleme - Website X5 Hilfe - Die Helpsite

Direkt zum Seiteninhalt

Hauptmenü:

V8 - Email-Probleme

Tutorials


Kontaktformular (E-Mail) Probleme.


Einen Dank an MANFRED58 und DENISE
aus dem alten Website X5-Forum für die Zuarbeiten.

Der korrekte E-Mailversand mit Hilfe der E-Mail Funktion von WebSite X5 Evolution 8 hängt von dem jeweiligen Server und seinen Einstellungen ab. Aus diesem Grund, ist es notwendig den Provider zu kontaktieren, wenn das Versenden der E-Mails nicht richtig funktioniert.
Die betreffende Datei die für das Funktionieren des E-Mailversands sorgt heißt IMEMAIL.INC.PHP. Man findet sie im Installationsordner des Programms, im Unterverzeichnis "RES". Die Datei wurde so aufgebaut, dass sie leicht verständlich ist damit Änderung, falls nötig schnell und einfach durchgeführt werden können.

Die Datei IMEMAIL.INC.PHP
kann E-Mails auf zwei Arten versenden:
- Die erste Methode verwendet den Befehl MAIL und zusätzlich die "Sendmail-Option", ein Zusatz, der die Versendung
 von HTML E-Mails und Attachments ermöglicht;
- Die zweite Methode, verwendet nur den Befehl MAIL (diese Methode wurde bereits in der Version 7 verwendet).

Wenn die erste Methode nicht greift, d.h. die E-Mail nicht gesendet wird, bzw. ein Fehler gemeldet wird, dann versucht das PHP-Skript, die zweite Methode.
Werden die E-Mails auch dann nicht versendet, musst Du folgendes tun:
- Stelle sicher, dass PHP (Version 5.x) von Deinem Server unterstüzt wird.
- Überprüfe, ob Dein Provider die E-Mail-Befehle zum Senden von E-Mails aktiviert hat.
- Erkundige Dich bei Deinem Provider, ob die Parameter in der Datei IMEMAIL.INC.PHP hinsichtlich der Server-Einstellungen korrekt sind.

Hier gibt es eine Anleitung zur Prüfung, welche PHP-Version bei Dir Verwendung findet.
Falls die Aufforderung kommt, dass die Datei gespeichert werden soll, wird php nicht unterstützt.

Es werden keine e-Mails verschickt
- Deine Web-Domäne (www.domain.tld) und Deine e-Mail Domäne (test@domain.tld) müssen identisch sein (mit gmx, yahoo, gmail, etc.  funktioniert es nicht) oder
- kontrolliere bzw. erkundige Dich bei Deinem Webhoster, ob der Server in der Lage ist e-Mails zu versenden.

Die erhaltene e-Mail enthält php-Code
- php ist bei Deinem gebuchten Webhosterpaket nicht dabei oder
- Dein Webhoster verwendet eine php-Version < 5.x, kontaktiere Deinen Webhoster.

Die erhaltene e-Mail enthält html-Code und/oder plain Text
Dein Server arbeitet nicht mit dem originalen V8_IMEMAIL.INC.PHP-Script zusammen.
Entweder Du kontaktierst Deinen Webhoster und ersuchst ihn sich das Script anzuschauen und Dir Änderungen bekannt zu geben oder
Du verwendest das (V8_Alternate) imemail.inc.php-Script oder
Du verwendest das (V7_Alternate) imemail.inc.php-Script der Version 7 (nur plain Text und kein html möglich).

Die erhaltene html e-Mail enthält zusätzlich plain Text
Das sollte eigentlich nicht vorkommen, da das IMEMAIL.INC.PHP-Script plain Text erst dann sendet, wenn die html-Variablen leer bleiben.
Benutze das (V8_HTML) imemail.inc.php-Script.

Bei der Verwendung eines schweizer Webhosters
Bei einigen schweizer Webhoster funktioniert keine der geposteten Scripte optimal.
Verwende das (CH_Version) imemail.inc.php-Script.
Sollte es mit dieser Version zu doppelten e-Mails kommen, gibt es das (CH_Alternat) imemail.inc.php-Script.

Hinweise zur Codeverwendung:
Kopiere den gewünschten Code in den Editor und speichere die Datei als imemail.inc.php (nicht als .txt - nötigenfalls umbenennen)

im Verzeichnis ./res im X5-Programmverzeichnis und am Server ab.
Solltest Du die originale V8 IMEMAIL.INC.PHP nicht gesichert bzw. überschrieben haben, gibt's den Code ganz unten.


<?php
 
// alternative (Mindere Server)
 // (V8_Alternate) imemail.inc.php
 // Incomedia WebSite X5 EMail Class. All rights reserved.

 // true = force the user email address to be set as the sender

 $imForceSender = false;

  class imEMail {
     var $from;
     var $to;
     var $subject;
     var $charset;
     var $text;
     var $html;
     
     var $attachments;
     
     function imEMail($from,$to,$subject,$charset) {
        $this->from = $from;
        $this->to = $to;
        $this->subject = $subject;
        $this->charset = $charset;
     }
     
     function setFrom($from) {
        $this->from = $from;
     }
     
     function setTo($to) {
        $this->to = $to;
     }
     
     function setSubject($subject) {
        $this->subject = $subject;
     }
     
     function setCharset($charset) {
        $this->charset = $charset;
     }
     
     function setText($text) {
        $this->text = $text;
     }
     
     function setHTML($html) {
        $this->html = $html;
     }
     
     function attachFile($name,$content,$mime_type) {
        $attachment['name'] = $name;
        $attachment['content'] = base64_encode($content);
        $attachment['mime_type'] = $mime_type;
        $this->attachments[] = $attachment;
     }
     
     function send() {
        $headers = "";
        $msg = "";

        if($this->from == "" || $this->to == "" || ($this->text == "" && $this->html == ""))
           return false;
        
        $boundary = md5(time());
        
        $headers .= "From: " . $this->from . "\n";
        $headers .= "Message-ID: <" . time() . rand(0,9) . rand(0,9) . "@websitex5.users>\n";
        $headers .= "X-Mailer: WebSiteX5 Mailer\n";
        $headers .= "MIME-Version: 1.0\n";

        if(is_array($this->attachments)) {
           $headers .= "Content-Type: multipart/mixed; boundary=\"" . $boundary . "\"\n\n";
           $headers .= "--" . $boundary . "\n";
        }
        
        if($this->html == "") {
           $headers .= "Content-Type: text/plain; charset=" . $this->charset . "\n";
           $headers .= "Content-Transfer-Encoding: 8bit\n";
           $msg .= $this->text . "\n\n";
        }
        else if($this->text == "") {
           $headers .= "Content-Type: text/html; charset=" . $this->charset . "\n";
           $headers .= "Content-Transfer-Encoding: 8bit\n";
           $msg .= $this->html . "\n\n";
        }
        else {
           $alt_boundary = $boundary . "_alt";
           $headers .= "Content-Type: multipart/alternative; boundary=\"" . $alt_boundary . "\"\n";
           
           $msg .= "--" . $alt_boundary . "\n";
           $msg .= "Content-Type: text/plain; charset=" . $this->charset . "\n";
           $msg .= "Content-Transfer-Encoding: 7bit\n\n";
           $msg .= $this->text . "\n\n";
           
           $msg .= "--" . $alt_boundary . "\n";
          $msg .= "Content-Type: text/html; charset=" . $this->charset . "\n";
           $msg .= "Content-Transfer-Encoding: 7bit\n\n";
           $msg .= $this->html . "\n\n";
           
           $msg .= "--" . $alt_boundary . "--\n\n";
        }
        
        if(is_array($this->attachments)) {
           foreach($this->attachments as $attachment) {
              $msg .= "--" . $boundary . "\n";
              $msg .= "Content-Type: " . $attachment["mime_type"] . "; name=\"" . $attachment["name"] . "\"\n";
              $msg .= "Content-Transfer-Encoding: base64\n";
              $msg .= "Content-Disposition: attachment; filename=\"" . $attachment["name"] . "\"\n\n";
              $msg .= chunk_split($attachment["content"]) . "\n\n";
           }
        
           $msg .= "--" . $boundary . "--\n\n";
        }
        
        $r = @mail($this->to, $this->subject, $msg, $headers, "-f" . $this->from);
        if(!$r) {
           $headers = "To: " . $this->to . "\n" . $headers;
           $r = @mail($this->to, $this->subject, $msg, $headers);
        }
        return $r;
     }
  }
?>



<?php
 
// V7 (plain Text) Version
 // (V7_Alternate) imemail.inc.php
 // Incomedia WebSite X5 EMail Class. All rights reserved.

  // true = force the user email address to be set as the sender

 $imForceSender = false;

  class imEMail {
     var $from;
     var $to;
     var $subject;
     var $charset;
     var $text;
     var $html;
     
     var $attachments;
     
     function imEMail($from,$to,$subject,$charset) {
        $this->from = $from;
        $this->to = $to;
        $this->subject = $subject;
        $this->charset = $charset;
     }
     
     function setFrom($from) {
        $this->from = $from;
     }
     
     function setTo($to) {
        $this->to = $to;
     }
     
     function setSubject($subject) {
        $this->subject = $subject;
     }
     
     function setCharset($charset) {
        $this->charset = $charset;
     }
     
     function setText($text) {
        $this->text = $text;
     }
     
     function setHTML($html) {
        $this->html = $html;
     }
     
     function attachFile($name,$content,$mime_type) {
        $attachment['name'] = $name;
        $attachment['content'] = base64_encode($content);
        $attachment['mime_type'] = $mime_type;
        $this->attachments[] = $attachment;
     }
     
     function send() {
        $headers = "";
        $msg = "";

        if($this->from == "" || $this->to == "" || ($this->text == "" && $this->html == ""))
           return false;
        
        $headers .= "From: " . $this->from . "\r\n";
        $headers .= "Content-Type: text/plain;charset=" . $this->charset . "\r\n";
        $msg .= $this->text . "\r\n\r\n";

        $r = @mail($this->to, $this->subject, $msg, $headers);
        return $r;
     }
  }
?>


<?php
 // (V8_HTML) imemail.inc.php

 $imForceSender = false;

   class imEMail {
       var $from;
       var $to;
       var $subject;
       var $charset;
       var $text;
       var $html;

       var $attachments;

       function imEMail($from,$to,$subject,$charset) {
           $this->from = $from;
           $this->to = $to;
           $this->subject = $subject;
           $this->charset = $charset;
       }

       function setFrom($from) {
           $this->from = $from;
       }

       function setTo($to) {
           $this->to = $to;
       }

       function setSubject($subject) {
           $this->subject = $subject;
       }

       function setCharset($charset) {
           $this->charset = $charset;
       }

       function setText($text) {
           $this->text = $text;
       }

       function setHTML($html) {
           $this->html = $html;
       }

       function attachFile($name,$content,$mime_type) {
           $attachment['name'] = $name;
           $attachment['content'] = base64_encode($content);
           $attachment['mime_type'] = $mime_type;
           $this->attachments[] = $attachment;
       }

       }

  function send() {
  $headers = "";
  $msg = "";

  if($this->from == "" || $this->to == "" || ($this->text == "" && $this->html == ""))
  return false;

  $boundary = md5(time());

  $headers .= "From: " . $this->from . "\r\n";
  $headers .= "Message-ID: <time>attachments)) {
  $headers .= "Content-Type: multipart/mixed; boundary=\"" . $boundary . "\"\r\n\r\n";
  $headers .= "--" . $boundary . "\r\n";
  }

  if($this->html == "") {
  $headers .= "Content-Type: text/plain; charset=" . $this->charset . "\r\n";
  $headers .= "Content-Transfer-Encoding: 8bit\r\n";
  $msg .= $this->text . "\r\n\r\n";
  }
  else if($this->text == "") {
  $headers .= "Content-Type: text/html; charset=" . $this->charset . "\r\n";
  $headers .= "Content-Transfer-Encoding: 8bit\r\n";
  $msg .= $this->html . "\r\n\r\n";
  }
  else {
  $alt_boundary = $boundary . "_alt";
  $headers .= "Content-Type: multipart/alternative; boundary=\"" . $alt_boundary . "\"\r\n";

  $msg .= "--" . $alt_boundary . "\r\n";
  $msg .= "Content-Type: text/plain; charset=" . $this->charset . "\r\n";
  $msg .= "Content-Transfer-Encoding: 7bit\r\n\r\n";
  $msg .= $this->text . "\r\n\r\n";

  $msg .= "--" . $alt_boundary . "\r\n";
  $msg .= "Content-Type: text/html; charset=" . $this->charset . "\r\n";
  $msg .= "Content-Transfer-Encoding: 7bit\r\n\r\n";
  $msg .= $this->html . "\r\n\r\n";

  $msg .= "--" . $alt_boundary . "--\r\n\r\n";
  }

  if(is_array($this->attachments)) {
  foreach($this->attachments as $attachment) {
  $msg .= "--" . $boundary . "\r\n";
  $msg .= "Content-Type: " . $attachment["mime_type"] . "; name=\"" . $attachment["name"] . "\"\r\n";
  $msg .= "Content-Transfer-Encoding: base64\r\n";
  $msg .= "Content-Disposition: attachment; filename=\"" . $attachment["name"] . "\"\r\n\r\n";
  $msg .= chunk_split($attachment["content"]) . "\r\n\r\n";
  }

  $msg .= "--" . $boundary . "--\r\n\r\n";
  }

  ini_set("sendmail_from", $this->from);

  //$r = @mail($this->to, $this->subject, $msg, $headers, "-f" . $this->from);
  $headers = "To: " . $this->to . "\r\n" . $headers;
  $r = @mail($this->to, $this->subject, $msg, $headers);
  return $r;
  }
  }
?>



<?php
  
// Incomedia WebSite X5 EMail Class. All rights reserved.
  // (CH_Version) imemail.inc.php
  // true = force the user email address to be set as the sender

 $imForceSender = false;

  class imEMail {
     var $from;
     var $to;
     var $subject;
     var $charset;
     var $text;
     var $html;
     
     var $attachments;
     
     function imEMail($from,$to,$subject,$charset) {
        $this->from = $from;
        $this->to = $to;
        $this->subject = $subject;
        $this->charset = $charset;
     }
     
     function setFrom($from) {
        $this->from = $from;
     }
     
     function setTo($to) {
        $this->to = $to;
     }
     
     function setSubject($subject) {
        $this->subject = $subject;
     }
     
     function setCharset($charset) {
        $this->charset = $charset;
     }
     
     function setText($text) {
        $this->text = $text;
     }
     
     function setHTML($html) {
        $this->html = $html;
     }
     
     function attachFile($name,$content,$mime_type) {
        $attachment['name'] = $name;
        $attachment['content'] = base64_encode($content);
        $attachment['mime_type'] = $mime_type;
        $this->attachments[] = $attachment;
     }
     
     function send() {
        $headers = "";
        $msg = "";

        if($this->from == "" || $this->to == "" || ($this->text == "" && $this->html == ""))
           return false;
        
        $boundary = md5(time());
        
        $headers .= "From: " . $this->from . "\n";
        $headers .= "Message-ID: <" . time() . rand(0,9) . rand(0,9) . "@websitex5.users>\n";
        $headers .= "X-Mailer: WebSiteX5 Mailer\n";
        $headers .= "MIME-Version: 1.0\n";

        if(is_array($this->attachments)) {
           $headers .= "Content-Type: multipart/mixed; boundary=\"" . $boundary . "\"\n\n";
           $headers .= "--" . $boundary . "\n";
        }
        
        if($this->html == "") {
           $headers .= "Content-Type: text/plain; charset=" . $this->charset . "\n";
           $headers .= "Content-Transfer-Encoding: 8bit\n";
           $msg .= $this->text . "\n\n";
        }
        else if($this->text == "") {
           $headers .= "Content-Type: text/html; charset=" . $this->charset . "\n";
           $headers .= "Content-Transfer-Encoding: 8bit\n";
           $msg .= $this->html . "\n\n";
        }
        else {
           $alt_boundary = $boundary . "_alt";
           $headers .= "Content-Type: multipart/alternative; boundary=\"" . $alt_boundary . "\"\n";
           
           $msg .= "--" . $alt_boundary . "\n";
           $msg .= "Content-Type: text/plain; charset=" . $this->charset . "\n";
           $msg .= "Content-Transfer-Encoding: 7bit\n\n";
           $msg .= $this->text . "\n\n";
           
           $msg .= "--" . $alt_boundary . "\n";
          $msg .= "Content-Type: text/html; charset=" . $this->charset . "\n";
           $msg .= "Content-Transfer-Encoding: 7bit\n\n";
           $msg .= $this->html . "\n\n";
           
           $msg .= "--" . $alt_boundary . "--\n\n";
        }
        
        if(is_array($this->attachments)) {
           foreach($this->attachments as $attachment) {
              $msg .= "--" . $boundary . "\n";
              $msg .= "Content-Type: " . $attachment["mime_type"] . "; name=\"" . $attachment["name"] . "\"\n";
              $msg .= "Content-Transfer-Encoding: base64\n";
              $msg .= "Content-Disposition: attachment; filename=\"" . $attachment["name"] . "\"\n\n";
              $msg .= chunk_split($attachment["content"]) . "\n\n";
           }
        
           $msg .= "--" . $boundary . "--\n\n";
        }
        
        $r = @mail($this->to, $this->subject, $msg, $headers, "-f" . $this->from);
        if(!$r) {
           $headers = "To: " . $this->to . "\n" . $headers;
           $r = @mail($this->to, $this->subject, $msg, $headers);
        }
        return $r;
     }
  }
?>



<?php
  
// Incomedia WebSite X5 EMail Class. All rights reserved.
  // (CH_Alternate) imemail.inc.php
  // true = force the user email address to be set as the sender
 $imForceSender = false;

  class imEMail {
     var $from;
     var $to;
     var $subject;
     var $charset;
     var $text;
     var $html;
     
     var $attachments;
     
     function imEMail($from,$to,$subject,$charset) {
        $this->from = $from;
        $this->to = $to;
        $this->subject = $subject;
        $this->charset = $charset;
     }
     
     function setFrom($from) {
        $this->from = $from;
     }
     
     function setTo($to) {
        $this->to = $to;
     }
     
     function setSubject($subject) {
        $this->subject = $subject;
     }
     
     function setCharset($charset) {
        $this->charset = $charset;
     }
     
     function setText($text) {
        $this->text = $text;
     }
     
     function setHTML($html) {
        $this->html = $html;
     }
     
     function attachFile($name,$content,$mime_type) {
        $attachment['name'] = $name;
        $attachment['content'] = base64_encode($content);
        $attachment['mime_type'] = $mime_type;
        $this->attachments[] = $attachment;
     }
     
     function send() {
        $headers = "";
        $msg = "";

        if($this->from == "" || $this->to == "" || ($this->text == "" && $this->html == ""))
           return false;
        
        $boundary = md5(time());
        
        $headers .= "From: " . $this->from . "\n";
        $headers .= "Message-ID: <" . time() . rand(0,9) . rand(0,9) . "@websitex5.users>\n";
        $headers .= "X-Mailer: WebSiteX5 Mailer\n";
        $headers .= "MIME-Version: 1.0\n";

        if(is_array($this->attachments)) {
           $headers .= "Content-Type: multipart/mixed; boundary=\"" . $boundary . "\"\n\n";
           $headers .= "--" . $boundary . "\n";
        }
        
        if($this->html == "") {
           $headers .= "Content-Type: text/plain; charset=" . $this->charset . "\n";
           $headers .= "Content-Transfer-Encoding: 8bit\n";
           $msg .= $this->text . "\n\n";
        }
        else if($this->text == "") {
           $headers .= "Content-Type: text/html; charset=" . $this->charset . "\n";
           $headers .= "Content-Transfer-Encoding: 8bit\n";
           $msg .= $this->html . "\n\n";
        }
        else {
           $alt_boundary = $boundary . "_alt";
           $headers .= "Content-Type: multipart/alternative; boundary=\"" . $alt_boundary . "\"\n";
           
           $msg .= "--" . $alt_boundary . "\n";
           $msg .= "Content-Type: text/plain; charset=" . $this->charset . "\n";
           $msg .= "Content-Transfer-Encoding: 7bit\n\n";
           $msg .= $this->text . "\n\n";
           
           $msg .= "--" . $alt_boundary . "\n";
          $msg .= "Content-Type: text/html; charset=" . $this->charset . "\n";
           $msg .= "Content-Transfer-Encoding: 7bit\n\n";
           $msg .= $this->html . "\n\n";
           
           $msg .= "--" . $alt_boundary . "--\n\n";
        }
        
        if(is_array($this->attachments)) {
           foreach($this->attachments as $attachment) {
              $msg .= "--" . $boundary . "\n";
              $msg .= "Content-Type: " . $attachment["mime_type"] . "; name=\"" . $attachment["name"] . "\"\n";
              $msg .= "Content-Transfer-Encoding: base64\n";
              $msg .= "Content-Disposition: attachment; filename=\"" . $attachment["name"] . "\"\n\n";
              $msg .= chunk_split($attachment["content"]) . "\n\n";
           }
        
           $msg .= "--" . $boundary . "--\n\n";
        }
        

        ini_set("sendmail_from", $this->from);
        
        
        if(!$r) {
           /* $headers = "To: " . $this->to . "\n" . $headers; */
           $r = @mail($this->to, $this->subject, $msg, $headers);
        }
        return $r;
     }
  }
?>



<?php
 
// originale V8 IMEMAIL.INC.PHP
 // (V8_Originale) imemail.inc.php
 $imForceSender = false;

   class imEMail {
       var $from;
       var $to;
       var $subject;
       var $charset;
       var $text;
       var $html;

       var $attachments;

       function imEMail($from,$to,$subject,$charset) {
           $this->from = $from;
           $this->to = $to;
           $this->subject = $subject;
           $this->charset = $charset;
       }

       function setFrom($from) {
           $this->from = $from;
       }

       function setTo($to) {
           $this->to = $to;
       }

       function setSubject($subject) {
           $this->subject = $subject;
       }

       function setCharset($charset) {
           $this->charset = $charset;
       }

       function setText($text) {
           $this->text = $text;
       }

       function setHTML($html) {
           $this->html = $html;
       }

       function attachFile($name,$content,$mime_type) {
           $attachment['name'] = $name;
           $attachment['content'] = base64_encode($content);
           $attachment['mime_type'] = $mime_type;
           $this->attachments[] = $attachment;
       }

       function send() {
           $headers = "";
           $msg = "";

           if($this->from == "" || $this->to == "" || ($this->text == "" && $this->html == ""))
               return false;

           $boundary = md5(time());

           $headers .= "From: " . $this->from . "\r\n";
           $headers .= "Message-ID: <" . time() . rand(0,9) . rand(0,9) . "@websitex5.users>\r\n";
           $headers .= "X-Mailer: WebSiteX5 Mailer\r\n";
           $headers .= "MIME-Version: 1.0\r\n";

           if(is_array($this->attachments)) {
               $headers .= "Content-Type: multipart/mixed; boundary=\"" . $boundary . "\"\r\n\r\n";
               $headers .= "--" . $boundary . "\r\n";
           }
          
           if($this->html == "") {
               $headers .= "Content-Type: text/plain; charset=" . $this->charset . "\r\n";
               $headers .= "Content-Transfer-Encoding: 8bit\r\n";
               $msg .= $this->text . "\r\n\r\n";

            }

           else if($this->text == "") {
               $headers .= "Content-Type: text/html; charset=" . $this->charset . "\r\n";
               $headers .= "Content-Transfer-Encoding: 8bit\r\n";
               $msg .= $this->html . "\r\n\r\n";
           }
           else {
               $alt_boundary = $boundary . "_alt";
               $headers .= "Content-Type: multipart/alternative; boundary=\"" . $alt_boundary . "\"\r\n";

               $msg .= "--" . $alt_boundary . "\r\n";
               $msg .= "Content-Type: text/plain; charset=" . $this->charset . "\r\n";
               $msg .= "Content-Transfer-Encoding: 7bit\r\n\r\n";
               $msg .= $this->text . "\r\n\r\n";

               $msg .= "--" . $alt_boundary . "\r\n";
             $msg .= "Content-Type: text/html; charset=" . $this->charset . "\r\n";
               $msg .= "Content-Transfer-Encoding: 7bit\r\n\r\n";
               $msg .= $this->html . "\r\n\r\n";

               $msg .= "--" . $alt_boundary . "--\r\n\r\n";
           }

           if(is_array($this->attachments)) {
               foreach($this->attachments as $attachment) {
                   $msg .= "--" . $boundary . "\r\n";
                   $msg .= "Content-Type: " . $attachment["mime_type"] . "; name=\"" . $attachment["name"] . "\"\r\n";
                   $msg .= "Content-Transfer-Encoding: base64\r\n";
                   $msg .= "Content-Disposition: attachment; filename=\"" . $attachment["name"] . "\"\r\n\r\n";
                   $msg .= chunk_split($attachment["content"]) . "\r\n\r\n";
               }

               $msg .= "--" . $boundary . "--\r\n\r\n";
           }

           ini_set("sendmail_from", $this->from);

           $r = @mail($this->to, $this->subject, $msg, $headers, "-f" . $this->from);
           if(!$r) {
               $headers = "To: " . $this->to . "\r\n" . $headers;
               $r = @mail($this->to, $this->subject, $msg, $headers);
           }
           return $r;
       }
   }
?>


Feedbacks zu ""

es gibt insgesamt 0 Kommentar(e)



Name*
Vorname
Kommentar*
Email *
Homepage
Telefon
Sicherheitscode *
 
Logo HTML5
Button Spenden

© 2009 - 2018




  Besucher Statistik
 » 5 Online
 » 16 Heute
 » 1091 Woche
 » 3303 Monat
 » 47064 Jahr
 » 293642 Gesamt
Rekord: 1420 (10.04.2014)
Zurück zum Seiteninhalt | Zurück zum Hauptmenü