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

Docs for page pnadmin.php

Procedural File: pnadmin.php

Source Location: /Mailer/pnadmin.php

Classes:



Page Details:

Zikula Application Framework



Tags:

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








Mailer_admin_main [line 24]

string Mailer_admin_main( )

the main administration function

This function is the default function, and is called whenever the module is initiated without defining arguments. As such it can be used for a number of things, but most commonly it either just shows the module menu and returns or calls whatever the module designer feels should be the default function (often this is the view() function)




Tags:

return:  HTML string
author:  Mark West


[ Top ]



Mailer_admin_modifyconfig [line 43]

string Mailer_admin_modifyconfig( )

This is a standard function to modify the configuration parameters of the

module




Tags:

return:  HTML string
author:  Mark West


[ Top ]



Mailer_admin_sendmessage [line 177]

bool Mailer_admin_sendmessage( string $args, string 1, string 2, string 3, int 4)

This function processes the results of the test form



Tags:

return:  true
author:  Mark West


Parameters

string   1   args['toaddress'] the address of the recipient
string   2   args['subject'] message subject
string   3   args['body'] message body
int   4   args['html'] HTML flag
string   $args   args['toname '] name to the recipient
[ Top ]



Mailer_admin_testconfig [line 153]

string Mailer_admin_testconfig( )

This function displays a form to sent a test mail



Tags:

return:  HTML string
author:  Mark West


[ Top ]



Mailer_admin_updateconfig [line 85]

bool Mailer_admin_updateconfig( int 0, string 1, string 2, bool 3, int 4, int 5, string 6, int 7, string 8, int 9, int 10, string 11, string 12)

This is a standard function to update the configuration parameters of the

module given the information passed back by the modification form




Tags:

return:  true if update successful
author:  Mark West
see:  Mailer_admin_updateconfig()


Parameters

int   0   mailertype Mail transport agent
string   1   charset default character set of the message
string   2   encoding default encoding
bool   3   html send html e-mails by default
int   4   wordwrap word wrap column
int   5   msmailheaders include MS mail headers
string   6   sendmailpath path to sendmail
int   7   smtpauth enable SMTPAuth
string   8   smtpserver ip address of SMTP server
int   9   smtpport port number of SMTP server
int   10   smtptimeout SMTP timeout
string   11   smtpusername SMTP username
string   12   smtppassword SMTP password
[ Top ]


Packages:

Files:

Classes: