Zikula: A Flexible Open Source Content Management System
home | forum | international support | contact us

Docs for page pnuserapi.php

Procedural File: pnuserapi.php

Source Location: /Mailer/pnuserapi.php

Classes:



Page Details:

Zikula Application Framework



Tags:

version:  $Id: pnuserapi.php 24383 2008-06-12 14:15:02Z markwest $
copyright:  (c) 2001, Zikula Development Team
link:  http://www.zikula.org
license:  GNU/GPL








Mailer_userapi_sendmessage [line 35]

bool Mailer_userapi_sendmessage( string $args, string 1, string 2, string 3, string 4, string 5, string 6, string 7, string 8, string 9, string 10, array 11, array 12, array/string 13, int 14, array 15)

API function to send e-mail message



Tags:

return:  true if successful, false otherwise
author:  Mark West
todo:  Loading of language file based on PN language


Parameters

string   1   args['fromaddress'] address of the sender
string   2   args['toname '] name to the recipient
string   3   args['toaddress'] the address of the recipient
string   4   args['replytoname '] name to reply to
string   5   args['replytoaddress'] address to reply to
string   6   args['subject'] message subject
string   7   args['contenttype '] optional contenttype of the mail (default config)
string   8   args['charset'] optional charset of the mail (default config)
string   9   args['encoding'] optional mail encoding (default config)
string   10   args['body'] message body
array   11   args['cc'] addresses to add to the cc list
array   12   args['bcc'] addresses to add to the bcc list
array/string   13   args['headers'] custom headers to add
int   14   args['html'] HTML flag
array   15   args['attachments'] array of absolute filenames to attach to the mail
string   $args   args['fromname'] name of the sender
[ Top ]


Packages:

Files:

Classes: