"","text/html"=>""); // mail body var $parts=array(); // attachments holder var $headers=array( "Return-path:"=>"", "Envelope-to:"=>"", "From:"=>"", "MIME-Version:"=>"1.0", "Content-Type:"=>"multipart/mixed;\n\tboundary=\"----=_NextPart_000_0001_00000001.00000001\"", "X-priority:"=>"3", "X-MSMail-Priority:"=>"Normal", "X-Mailer:"=>"clsImap Mail Handler 2.0" ); // headers /* This function sets the CarbonCopy header */ function sh_CarbonCopy($address) { $this->headers["CC:"]=$address; } /* This function sets the BlindCarbonCopy header */ function sh_BlindCarbonCopy($address) { $this->headers["BCC:"]=$address; } /* This function sets the ReturnPath header */ function SH_ReturnPath($rp) { $this->headers["Return-Path:"]="<".$rp.">"; } /* This function sets the EnvelopeTo header */ function SH_EnvelopeTo($et) { $this->headers["Envelope-to:"]=$rp; } /* This function sets the ContentType header */ function SH_ContentType($ct) { $this->headers["Content-Type:"]="$ct;\n\tboundary=\"----=_NextPart_000_0001_00000001.00000001\""; } /* This function sets the FromName header (internal) */ function SH_FromName($fromName) { $this->from_name=$fromName; } /* This function sets the FromAddr header (internal) */ function SH_FromAddr($fromAddr) { $this->from_addr=$fromAddr; } /* This function is the class' constructor. */ function ComposeMail($to, $subject) { $this->to=$to; $this->from_addr=$from_addr; $this->from_name=$from_name; $this->subject=$subject; } /* This function adds an attachment from a file 2004-11-30: Added a new parameter to name the attachment. Useful if the file to attach is obtained by HTTP upload. This was added thanks to Federico Larsen from Argentina, who needed that feature in the class... ;) */ function addAttachFromFile($fullname,$ftype,$fdispos="",$fdescrip="",$fid="",$attach_file_name = "") { if ($attach_file_name == ""){ $fname=basename($fullname); } else { $fname= $attach_file_name; } $thePart="Content-Type: $ftype;\n\tname=\"$fname\"\n"; $thePart.="Content-Transfer-Encoding: base64\n"; if (!empty($fdispos)) $thePart.="Content-Disposition: $fdispos;\n\tfilename=\"$fname\"\n"; if (!empty($fdescrip)) $thePart.="Content-Description: $fdescrip\n"; if (!empty($fid)) $thePart.="Content-Id: <$fid>\n"; $thePart.="\n"; $data=base64_encode(fread(fopen($fullname,"r"),filesize($fullname))); if (function_exists("chunk_split")) $thePart.=chunk_split($data,76,"\n"); else { $theData=$data; while (strlen($theData)>76) { $thePart.=substr($theData,0,76)."\n"; $theData=substr($theData,76); } $thePart.=$theData."\n"; } $this->parts[]=$thePart; } /* This function adds an attachment from a base64 encoded string */ function addAttachFromData($data,$dname,$dtype,$ddispos) { $thePart="Content-Type: $dtype\n\tname=\"$dname\"\nContent-Transfer-Encoding: base64\nContent-Disposition: $ddispos;\n\tfilename=\"$dname\"\n\n"; if (function_exists("chunk_split")) $thePart.=chunk_split($data,76,"\n"); else { $theData=$data; while (strlen($theData)>76) { $thePart.=substr($theData,0,76)."\n"; $theData=substr($theData,76); } $thePart.=$theData."\n"; } $thePart.=$theData."\n"; $this->parts[]=$thePart; } /* This function adds the HTML body part */ function addHtmlBodyPart($html) { //$this->bodyParts["text/html"]="\n".imap_8bit($html).""; $this->bodyParts["text/html"]="\n".$html.""; } /* This function adds the Plain Text body part */ function addTextPlainBodyPart($text) { $this->bodyParts["text/plain"]=$text; } /* This function builds and sends the message */ function BuildAndSendMessage() { $theMessage="This is a multi-part message in MIME format.\n"; $theMessage.="\n------=_NextPart_000_0001_00000001.00000001\nContent-type: multipart/alternative;\n\tboundary=\"----=_NextPart_000_0001_00000001.00000011\""; $theMessage.="\n\n\n------=_NextPart_000_0001_00000001.00000011\nContent-type: text/plain;\n\tcharset=\"iso-8859-1\"\nContent-Transfer-Encoding: quoted-printable\n\n".$this->bodyParts["text/plain"]; $theMessage.="\n------=_NextPart_000_0001_00000001.00000011\nContent-type: text/html;\n\tcharset=\"iso-8859-1\"\nContent-Transfer-Encoding: quoted-printable\n\n".$this->bodyParts["text/html"]; $theMessage.="\n\n------=_NextPart_000_0001_00000001.00000011--\n"; for ($idx=0; $idxparts); $idx++) { $theMessage.="\n------=_NextPart_000_0001_00000001.00000001\n"; $theMessage.=$this->parts[$idx]; } $theMessage.="\n------=_NextPart_000_0001_00000001.00000001--\n"; if ($this->headers["Return-Path:"]=="") $this->headers["Return-Path:"]="<".$this->from_addr.">"; if ($this->headers["Envelope-To:"]=="") $this->headers["Envelope-To:"]=$this->to; if ($this->from_name!="" && $this->from_addr!="") $this->headers["From:"]="\"".$this->from_name."\" <".$this->from_addr.">"; elseif ($this->from_addr!="") $this->headers["From:"]=$this->from_addr; else return "No sender specified"; $theHeaders=""; reset($this->headers); while (list($k,$v)=each($this->headers)) { $theHeaders.="$k $v\n"; } mail($this->to,$this->subject,$theMessage,chop($theHeaders)); } function BuildAndSendMessageTextPlain() { $theMessage=$this->bodyParts["text/plain"]; $this->headers["Content-Type:"]="text/plain; charset=\"iso-8859-1\"\nContent-Transfer-Encoding: 7bit"; //$this->headers["Content-Type:"]="text/plain; charset=\"utf-8\"\nContent-Transfer-Encoding: 7bit"; if ($this->headers["Return-Path:"]=="") $this->headers["Return-Path:"]="<".$this->from_addr.">"; if ($this->headers["Envelope-To:"]=="") $this->headers["Envelope-To:"]=$this->to; if ($this->from_name!="" && $this->from_addr!="") $this->headers["From:"]="\"".$this->from_name."\" <".$this->from_addr.">"; elseif ($this->from_addr!="") $this->headers["From:"]=$this->from_addr; else return "No sender specified"; $theHeaders=""; reset($this->headers); while (list($k,$v)=each($this->headers)) { $theHeaders.="$k $v\n"; } mail($this->to,$this->subject,$theMessage,chop($theHeaders)); } } /* -------------------------------------------------------------------------------- Sample script -------------------------------------------------------------------------------- $mailer=new ComposeMail("sombody@address.com","some subject"); $mailer->sh_fromName("You know who I am"); $mailer->sh_fromAddr("iamhere@thisserver.com"); $mailer->addTextPlainBodyPart("test message (plain)"); $mailer->addHTMLBodyPart("Test Message (HTML)"); // this gets some base64 encoded files from a MySQL table cotiz_attch Structure: cont_attch : LONGBLOB field, containing the base64 enconded file content nom_attch : string field, with the file name tipo_attch : mime type of the file $db->select("*","cotiz_attch","id_cotiz='$id_cotiz'"); $attachs=array(); $tam_total=0; while ($data=$db->fetch_array()) { $mailer->addAttachFromData($data["cont_attch"],$data["nom_attch"],$data["tipo_attch"],"attachment"); } $mailer->BuildAndSendMessage(); */ ?> marcoschmedje.de - Termine
Termine

 

 

Jan Plewka & Marco Schmedtje

 

BETWEEN THE BARS

 

Sa. 18.01.20 Bad Oldesloe, KuB
Do. 06.02.20 B├╝nde, Universum
Fr. 07.02.20 Hamburg, Nochtspeicher
Mi. 12.02.20 Wiesbaden, Schlachthof
Do. 13.02.20 Ilvesheim, Schwarzer Salon der Schloss-Schule Ilvesheim (Konzert im Dunkeln)
Fr. 14.02.20 Reutlingen, Franz K
Sa. 15.02.20 Weinheim, Cafe Central
Fr. 17.04.20 Rostock, Pub
Sa. 18.04.20 Greifswald, St. Spiritus
So. 19.04.20 Eberswalde, Kleinschmidt
Mo. 20.04.20 Eberswalde, Kleinschmidt
Fr. 24.04.20 Detmold, Stadthalle
Sa. 15.08.20 Warder, Steinpark (Schleswig Holstein Musik Festival)
So. 16.08.20 Norderstedt, Feuerwehrmuseum (Schleswig Holstein Musik Festival)
Sa. 05.09.20 Barmstedt, Kulturschusterei
Do. 24.09.20 Hamburg, Fabrik

 

JAN PLEWKA singt Ton Steine Scherben und Rio Reiser (2)

Wann wenn nicht jetzt

 

Di. 14.01.20 Leipzig, Kupfersaal
Mi. 15.01.20 Dresden, Staatsschauspiel
Sa. 25.01.20 L├╝beck, Theater
Fr. 31.01.20 Frankfurt (Oder), Kleist Forum
Sa. 01.02.20 Hannover, Pavillon
Do. 27.02.20 Hamburg, Kampnagel
Di. 31.03.20 Kiel, Schauspielhaus
Fr. 03.04.20 Berlin, Kesselhaus
Mi. 13.05.20 Wolfenb├╝ttel, Lessingtheater
Do. 14.05.20 M├╝lheim, Ringlokschuppen
Fr. 15.05.20 K├Âln, Kulturkirche
Sa. 16.05.20 G├Âttingen, Deutsches Theater
Di. 26.05.20 W├╝rselen, Burg Wilhelmstein
Mi. 27.05.20 Aschaffenburg, Colossaal
Do. 28.05.20 Weimar, K├Âstritzer Spiegelzelt
Sa. 06.06.20 L├╝neburg, Kulturforum
Sa. 13.06.20 Recklinghausen, Ruhrfestspiele
Sa. 13.06.20 Recklinghausen, Ruhrfestspiele
Do. 29.10.20 Fulda, Kreuz
Fr. 30.10.20 Darmstadt, Centralstation
Sa. 31.10.20 Wolfsburg, Hallenbad
Do. 12.11.20 Osnabr├╝ck, Rosenhof
Fr. 13.11.20 K├Âln, Kulturkirche
Sa. 14.11.20 D├╝sseldorf, Zakk
Sa. 12.12.20 Bremen, Schlachthof

 

 

 

 

 

Jan Plewka singt Simon & Garfunkel

 

Fr. 10.01.20 Hamburg, Fabrik