iIsImmediate = false; $this->iIsUseMailFunction = true; $this->iHasAttachment = false; $this->iMTA = "/var/qmail/bin/qmail-inject"; // $this->iMTA = "/usr/sbin/sendmail -t -i"; $this->iAttachment = array(); $this->iTo = ""; $this->iFrom = ""; $this->iSubject = ""; $this->iBody = ""; $this->iAdditionalHeader = array(); $this->boundary = "-*-*-*-*-*-*-*-*-Boundary_" . uniqid("b"); } function immediate() { $this->iIsImmediate = true; $this->iIsUseMailFunction = false; } function hasAttachment() { $this->iHasAttachment = true; } function useMTA() { $this->iIsUseMailFunction = false; } function to($aTo, $aName = "") { $this->iTo = $aTo; if( $aName != "" ) { $this->iToName = '"'.mb_encode_mimeheader(mb_convert_encoding($aName, "JIS")).'"'; } } function from($aFrom, $aName) { $this->iFrom = $aFrom; if( $aName != "" ) { $this->iFromName = '"'.mb_encode_mimeheader(mb_convert_encoding($aName, "JIS")).'"'; } } function subject($aSubject) { $this->iSubject = mb_encode_mimeheader($aSubject); } function mta($aMTA) { $this->iMTA = $aMTA; } function begin() { $tmp = preg_replace("/__to__/i", $this->iTo, $this->iMTA) ; $tmp = preg_replace("/__from__/i", $this->iFrom, $tmp) ; $this->iMailPipe = popen($tmp, "w"); if( !$this->iMailPipe ) { print "Can't open pipe to " . $this->tmp . "\n"; exit; } } function body($aBody) { if( $this->iIsImmediate ) { $this->checkPipe(); if( $this->iHasAttachment ) { fputs($this->iMailPipe, "--".$this->boundary."\n"); fputs($this->iMailPipe, "Content-Type: text/plain; charset=\"ISO-2022-JP\"\n"); } fputs( $this->iMailPipe, "\n"); // fputs( $this->iMailPipe, i18n_convert($aBody,"JIS") ); fputs( $this->iMailPipe, mb_convert_encoding($aBody,"JIS") ); fputs( $this->iMailPipe, "\n"); } else { // $this->iBody = i18n_convert($aBody, "JIS"); $this->iBody = mb_convert_encoding($aBody, "JIS"); } } function checkPipe() { if( !$this->iMailPipe ) { print("Pipe to MTA is not already opened. Abort.\n"); exit; } } function closeHeader() { if( $this->iIsImmediate ) { if( !$this->iMailPipe ) { $this->begin(); } $this->checkPipe(); fputs( $this->iMailPipe, "To: ".$this->iToName." <" . $this->iTo . ">\n"); fputs( $this->iMailPipe, "From: ".$this->iFromName." <" . $this->iFrom . ">\n"); fputs( $this->iMailPipe, "Subject: " . $this->iSubject . "\n"); for( $i=0; $iiAdditionalHeader); $i++ ) { fputs( $this->iMailPipe, $this->iAdditionalHeader[$i]["name"] . ": ". $this->iAdditionalHeader[$i]["value"]. "\n" ); } if( $this->iHasAttachment ) { fputs($this->iMailPipe, "MIME-Version: 1.0\n"); fputs($this->iMailPipe, "Content-Type: Multipart/Mixed; boundary=\"".$this->boundary."\"\n"); fputs($this->iMailPipe, "Content-Transfer-Encoding: Base64\n"); } fputs( $this->iMailPipe, "\n"); } else { return; } } function addAttachment(&$aData, $aFilename = "", $aType = "application/octet-stream" ){ if( $aFilename == "" ) { $aFilename = uniqid("at"); } if( $this->iIsImmediate ) { $this->checkPipe(); fputs($this->iMailPipe, "--".$this->boundary."\n"); fputs($this->iMailPipe, "Content-Type: $aType"."; name=\"" . $aFilename . "\"\n"); fputs($this->iMailPipe, "Content-Transfer-Encoding: base64\n"); fputs($this->iMailPipe, "Content-Disposition: attachment; filename=\"".$aFilename."\"\n"); fputs( $this->iMailPipe, "\n"); fputs( $this->iMailPipe,chunk_split(base64_encode($aData))); fputs( $this->iMailPipe, "\n"); } else { $tmp = count($this->iAttachment); $this->iAttachment[$tmp]["data"] = $aData; $this->iAttachment[$tmp]["file"] = $aFilename; $this->iAttachment[$tmp]["type"] = $aType; } } function addHeader($aName, $aValue) { $tmp = count($this->iAdditionalHeader); $this->iAdditionalHeader[$tmp]["name"] = $aName; $this->iAdditionalHeader[$tmp]["value"] = $aValue; } function resetHeader() { $this->iAdditionalHeader = array(); } function send() { if( $this->iIsImmediate ) { $this->checkPipe(); if( $this->iHasAttachment ) { fputs($this->iMailPipe, "--" .$this->boundary ."--\n"); } pclose($this->iMailPipe); unset($this->iMailPipe); return true; } else { $additional = "From: ". $this->iFromName ." <" . $this->iFrom . ">\n"; for( $i=0; $iiAdditionalHeader); $i++ ) { $additional .= $this->iAdditionalHeader[$i]["name"] . ": ". $this->iAdditionalHeader[$i]["value"] ."\n"; } if( $this->iHasAttachment ) { $additional .= "MIME-Version: 1.0\n"; $additional .= "Content-Type: Multipart/Mixed; boundary=\"".$this->boundary."\"\n"; $additional .= "Content-Transfer-Encoding: Base64\n"; } if( $this->iIsUseMailFunction ) { $body = ""; if( $this->iHasAttachment ) { $body .= "--".$this->boundary."\n"; $body .= "Content-Type: text/plain; charset=\"ISO-2022-JP\"\n"; $body .= "\n"; } $body .= $this->iBody; $body .= "\n"; if( $this->iHasAttachment ) { for( $i=0; $iiAttachment); $i++ ) { $body .= "--" . $this->boundary."\n"; $body .= "Content-Type: ".$this->iAttachment[$i]["type"]."; name=\"". $this->iAttachment[$i]["file"]."\"\n"; $body .= "Content-Transfer-Encoding: base64\n"; $body .= "Content-Disposition: attachment; filename=\"".$this->iAttachment[$i]["file"]."\"\n"; $body .= "\n"; $body .= chunk_split(base64_encode($this->iAttachment[$i]["data"])); $body .= "\n"; } $body .= "--" .$this->boundary ."--\n"; } return mail( $this->iTo, $this->iSubject, $body, $additional ); } else { $this->begin(); fputs( $this->iMailPipe, "To: ".$this->iToName." <" . $this->iTo . ">\n"); fputs( $this->iMailPipe, "Subject: " . $this->iSubject . "\n"); fputs( $this->iMailPipe, $additional ); fputs( $this->iMailPipe, "\n" ); if( $this->iHasAttachment ) { fputs($this->iMailPipe, "--".$this->boundary."\n"); fputs($this->iMailPipe, "Content-Type: text/plain; charset=\"ISO-2022-JP\"\n"); fputs( $this->iMailPipe, "\n"); } fputs( $this->iMailPipe, $this->iBody); fputs( $this->iMailPipe, "\n"); if( $this->iHasAttachment ) { for( $i=0; $iiAttachment); $i++ ) { fputs($this->iMailPipe, "--".$this->boundary."\n"); fputs($this->iMailPipe, "Content-Type: ".$this->iAttachment[$i]["type"]."; name=\"".$this->iAttachment[$i]["file"]."\"\n"); fputs($this->iMailPipe, "Content-Transfer-Encoding: base64\n"); fputs($this->iMailPipe,"Content-Disposition: attachment; filename=\"".$this->iAttachment[$i]["file"]."\"\n"); fputs( $this->iMailPipe, "\n"); fputs( $this->iMailPipe, chunk_split(base64_encode($this->iAttachment[$i]["data"]))); fputs( $this->iMailPipe, "\n"); } fputs($this->iMailPipe, "--" .$this->boundary ."--\n"); } return true; } } } } // end of matsMail ?> 2013 さがみ野さくら祭り出演応募フォーム|0462.net

0462.net

あなたの知らない座間がある。 0462.netは座間市内153店舗のお店が
参加するポータルサイトです。

ざまーけっとの画像検索を活用しよう!

2013 さがみ野さくら祭り出演お申し込みフォーム

2013 さがみ野さくら祭り出演のお申し込みはこちらから

  • ホーム
  • 2013 さがみ野さくら祭り出演お申し込みフォーム

さくら祭りに出演ご希望の方は本フォームに 必要事項を入力して送信ください。
追って担当者よりご連絡させていただきます。
お手数をおかけいたしますが、ご協力の程よろしくお願いいたします。

さがみ野さくら祭り実行委員会
連絡先 090-4965-5506

印は必須項目です。

貴団体名
代表者名
メールアドレス
電話番号
演目名
内容
出演希望日    
出演希望時間帯  
出演時間   
主な対象層              
ジャンル
ダンス     
音楽パフォーマンス   
楽器演奏     
パフォーマンス    
音源   
出演形式、必要備品 その他
マイク マイクスタンド  
長机   パイプいす  
当日予定車輌 控室  

■注意
この申込フォームは出演受付です。出演確定は3月1日までに実行委員会より
通知いたします。状況により出演時間の短縮や出演をお断りする場合があります。

ページトップ

トップページ以下の構成(お店のページ以外)は予告なく変更されることがありますので、リンクはトップページ( http://www.0462.net )にお願いします。
このサイトに関するご意見・お問合せは  まで。

Copyright©Commerce and store confederation of 座間市商店会連合会. Japan, All rights reserved.