"","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 - Album
Album

eins ich kann für dich nicht alles sein

zwei leise denk ich jetzt an dich

drei du der mensch

vier ewigkeit erwacht

fünf wenn dein schatten spricht

sechs an manchen tagen  

sieben ich komme nicht zurück

acht die sonne scheint bei dir

neun if it hurts

zehn ich bin nicht da

elf komm bald wieder

 

 

 

Musik und Text Marco Schmedtje

 

Marco Schmedtje Gesang, Gitarre, Mundharmonika und Glockenspiel

Dog Kessler Schlagzeug auf 6, 10

Pablo Escajola Perkussion auf 5, 6

Hans-Jörn Brandenburg Spinett auf 3

Reverend CH. D E-Piano auf 1, 6, Orgel auf 3

Jörg Schlotter Querflöte auf 8

Hagen Kuhr Cello auf 8

 

Produziert von Marco Schmedtje & Dinesh Ketelsen

 

Aufgenommen im S19 Studio und im Raum 01

Gemischt und gemastert von Dinesh Ketelsen im Raum 01

Master Ausspielung Manfred Faust

Verlegt bei Universal Music Publishing/Chefsongs, außer: Titel 7 bei Editon Hauptmann Entertainment

 

Konzept Hana Sedelmayer, Jessica Louis

Artwork Hana Sedelmayer

Cover Photo Yvonne Schmedemann

 

Danke an Jessica für Deine liebevolle, uneingeschränkte Unterstützung; Dinesh, ohne Dich hätte es dieses Album wohl nicht gegeben; Dog, Pablo, Hans-Jörn, Reverend, Jörg und Hagen für’s Musizieren; Verena Schöttmer für’s Bild; Manfred, Yvonne, Hana, Annika, Lieven, Christoph, Katja, Tom, Johan und Manel