[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-developers] Re: plans for a notification mechanism in the
From: |
totschnig . michael |
Subject: |
[Phpgroupware-developers] Re: plans for a notification mechanism in the API? |
Date: |
Fri, 22 Nov 2002 09:53:54 -0500 |
User-agent: |
Gnus/5.090007 (Oort Gnus v0.07) XEmacs/21.4 (Economic Science, i686-pc-linux) |
thanks to Dave And Chris for the answers! These informations should
help me achieve what I need!
Dave Hall <address@hidden> a écrit:
[...]
> The dev doc is a bit old, but this is what i found:
>
> 5.5 Email/NNTP Functions
>
> $phpgw->send->msg
>
> $phpgw->msg->send($service, $to, $subject, $body, $msgtype, $cc, $bcc)
> Send a message via email or NNTP and returns any error codes.
> Example:
>
> $to = "address@hidden";
> $subject = "Hello buddy";
> $body = "Give me a call\n Been wondering what your up to.";
> $errors = $phpgw->msg->send("email", $to, $subject, $body);
>
> Note: replace $phpgw with $GLOBALS['phpgw']
"Chris Weiss" <address@hidden> a écrit:
> I believe you get this as a basic part of the email api. Have a look at
> phpgwapi/inc/class.send.inc.php, it's not well documented but is cleanly
> coded. For
> something a bit more feature filled and complicated, have a look at
> email/inc/class.mail_send.inc.php and other files in email/inc/