$emailboundary = md5(time()); // Just something random for the boundary
$emailboundary = '----=Email_Boundary_'.$emailboundary; // Full boundary
if(!empty($imagedata['mime']) && !empty($imagedata['name']) && !empty($imagedata['data']))
{
$emailheaders .= "\nDate: " . gmdate('D, d M Y H:i:s') . " -0000\nX-Mailer: Lazarus Guestbook\nMIME-Version: 1.0\nContent-type: multipart/mixed;\n boundary=\"".$emailboundary."\"";