Project

General

Profile

Actions

Bug #1725

closed

Filenames missing in email attachments API

Added by beat almost 14 years ago. Updated almost 14 years ago.

Status:
Closed
Priority:
Low
Assignee:
Target version:
Start date:
13 June 2010
Due date:
% Done:

100%

Estimated time:
0:18 h

Description

this should be like this:


/**
* Mail function (uses phpMailer or SMTP depending on global settings)
*
* @param  string        $from         From e-mail address
* @param  string        $fromname     From name
* @param  string|array  $recipient    Recipient e-mail address(es)
* @param  string        $subject      E-mail subject
* @param  string        $body         Message body
* @param  boolean       $mode         false = plain text, true = HTML
* @param  string|array  $cc           CC e-mail address(es)
* @param  string|array  $bcc          BCC e-mail address(es)
* @param  string|array  $attachment   Attachment file name(s)-------------------> (array index is filename, if string)
* @param  string|array  $replyto      ReplyTo e-mail address(es)
* @param  string|array  $replytoname  ReplyTo name(s)
* @return boolean                     True: mail sent, False: mail not sent (error)
*/
function comprofilerMail( $from, $fromname, $recipient, $subject, $body, $mode = 0, $cc = null, $bcc = null, $attachment = null, $replyto = null, $replytoname = null ) {
Actions #1

Updated by beat almost 14 years ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100

Fixed in commit r1085 .

Actions

Also available in: Atom PDF