Have a question about CiviCRM? Get it answered quickly at the new CiviCRM Stack Exchange Q+A siteThis forum was archived on 25 November 2017. Learn more.How to get involved.What to do if you think you've found a bug.
Code: [Select]Content-Type: multipart/alternative; boundary="----=_NextPart_000_0046_01C89645.927685D0"
Content-Type: multipart/alternative; boundary="----=_NextPart_000_0046_01C89645.927685D0"
Code: [Select]Content-Type: text/plain; charset="ISO-8859-1"Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset="ISO-8859-1"Content-Transfer-Encoding: 7bit
$message =& new Mail_Mime("\n"); $headers = array( 'Subject' => "Re: {$mailing->subject}", 'To' => $mailing->replyto_email, 'From' => $from, 'Reply-To' => empty($replyto) ? $dao->email : $replyto, 'Return-Path' => "do-not-reply@{$domain->email_domain}", ); $message->setTxtBody($body); $b = $message->get(); $h = $message->headers($headers);
/** * Adds a file to the list of attachments. * * @param string $file The file name of the file to attach * OR the file data itself * @param string $c_type The content type * @param string $name The filename of the attachment * Only use if $file is the file data * @param bool $isFilename Whether $file is a filename or not * Defaults to true * @return mixed true on success or PEAR_Error object * @access public */ function addAttachment($file, $c_type = 'application/octet-stream', $name = '', $isfilename = true, $encoding = 'base64')
regarding the cost/benefit issue, i'm a bit unsure how to answer that. It will take us some time also to figure out the code, replicate the problem and fix it. As an open source project we do appreciate contributions and patches to existing issueslobo