Re[3]: Встраивание картинок в тело письма
От: AI Россия  
Дата: 09.06.03 14:34
Оценка:
  function showbinarypechat()
    {
     return "
R0lGODlh2ACcAOcAAAICAioqRi9n/meM/YOs/obC/gQDD8LWwgQCOt7qouDz/AcFWGI5I+j6
/BhN/gUCZ35uIkAmZEoygqCTkwcFfFaA/XpqmjYehgQ3/mdkgHej/uLitgIa/QYElMG0naGT
sM7+/kIylo1/pdHFtffy/gYWro6QjFBw/ubZrTo+Si5SsgIDpKKqsmZmhioiau7qxgMS/aej
vIt+rLOvvFxOpLbA/mJOJvr6/j8NGQQq/jsOQy1e/j42Xmpugn+Y/gIGr/n+/joqYj4mcr/O
/oKOpsrSxpq0/v71/gMO/b21xdHEyFc2QAMk/nB4+KWWw9/awzha/h05/NPe/kYdV7XH/nJe
qvb2/v7+2BUw/mpiiiwIHQICuiYIPJKMrjo6tuLs/h4qpunz/lZ4/o2a/v76/h5A/sbl/jtT
/DokmLu01M7KzmBCPl5upk5KskJ0/vvt/uTYyp+Ff87Sxj0UZtrmuk1i/gIK/p6z/pqU7Nbi
0AQ+/mCA/mNp9oWj/u7u/nOY/vr2/vHy/nyN/kpWtmd5/SMEAjJW/jlk/gICwhwJHfH2/gIe
/h4uqnOM/iY+wgYCJ9zV+YuQ+Zea/tPa/XF+/uLmvh4WwiAHVr6+ug4v/rKu/qqqtlw4TFdo
+yRY/kNu/kJP/hwGQNvu+snF+q6m8oaCssK+vlpOaAIC0qi6/nxoe8LGyvPu/lxVlfX6/tLk
+snN/Vpw/tTW0o6k/iYw997d/WBPhwIuslVd8C9M/iNN/hMk/qe0/ru495O3/qvA/mdx/Nvi
/eLl/lFGb0Nk/vDp/XFZa7eciLCy/EZc/Y15gh5G/jBS/djN/meG/JOs/eze/a7O/v7+/iom
Qk5o/QID4154/nWS/oOQ/tzn/RJA/QIW/cDA/IaZ/b7U/LG5/idE/Y59lyoCbE96/p6s/tHU
/QUw/jIaUrqeqpqk/XKF/RA4/miA/mVGaL7I/UEhPENq/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XUFHpEIMB5mkA9IvTOzzCTkF1Yfx1jgLbJhTAk1izzq6LFMDYeQcuIP+
pGXZR1AtUnTksjS8IMGPxYAEAkQ9ZaTDDxOxWEyFEZsaVM8JB3ZSC2GNLIJEDt8MZpVXdbbt
Nk9viSWMvFAcPlAU+5RRORki/h1LjeqcsGosYlNjzi/SKBIRZzWws8gsApXDThmLmDOET4o8
660dYg9UTz77rON6mP+aTqpwFh1BQmrNJMPEIhik0hgs5iCRjOtRISmNO9hI04AP37jDzic1
YpMOO+6YxN3sspUj7IEaKBMIN7ohkG6kQiy12E9wfFA2XBDkF8vIBbK4IhDNHMl7TzIKEDQz
EF7kIAfLqJw0alGGbXjDICRQBD/OIA1C3E0aqeCF/xpRoxrYAwv+0rgDNSymgLkc4QQ+gIEr
...........  и так далее  - думаю понятно
}


    $hdr = "From: $from <$from_email>\n" 
   ."Return-Receipt-To:___@___.ru\n" 
   ."X-Priority: 1\n" 
   ."X-Confirm-Reading-To:____@____.ru\n" 
   ."Disposition-Notification-To:____@____.ru\n"
   ."MIME-Version: 1.0\n" 
   ."Content-type: multipart/related; boundary=\"simple boundary\"\n\n"
   ."This is the preamble.\n\n" 
   ."--simple boundary\n" 
   ."Content-Type: text/html;charset=".$_SERVER['SOURCE_CHARSET']."\n" 
   ."Content-Transfer-Encoding: 8bit\n\n" 
   .$all_page."\n"    
   ."--simple boundary\n"
   ."Content-Type: image/gif; \n"
   ."name=\"pechat.gif\"\n"
   ."Content-Transfer-Encoding: base64 \n"
   ."Content-ID: <part1.787878.00060610>\n"
   ."Content-Disposition: inline; \n"
   ." filename=\"pechat.gif\"\n\n"
   ."\n"
   .showbinarypechat()
   ."\n"  
   ."--simple boundary--";


   $rc = mail($email_company,$subj_t,$all_page,$hdr,"-f". "____@___.ru" ."");
 
Подождите ...
Wait...
Пока на собственное сообщение не было ответов, его можно удалить.