phpgroupware-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Phpgroupware-users] Setting up local mail delivery


From: James Mohr
Subject: Re: [Phpgroupware-users] Setting up local mail delivery
Date: Sun, 12 Jun 2005 20:35:06 +0200
User-agent: KMail/1.8

On Sunday 12 June 2005 19:00, Brian Johnson wrote:
> What he's getting at, is that you can't do what you are asking.

Hmmm. All the calendar needs to do is call the PHP mail() function. Right? I 
looked through the code and I am not 100% clear on what it is doing.  It 
seems  that an 'bocalendar' object is created that has a method 
'send_update'. Here, I lost track of exactly what it is doing. 

I am not sure about the exact order in which things are created/called, but I 
found the object class "send" in ./phpgwapi/inc/class.send.inc.php, with the 
comment "This module should replace php's mail() function".  Here too, I lost 
track of the order, but it seems like the methods within this class (function 
smail) actually open a socket to port 25 on the server machine and attempts 
to carry on an SMTP conversation with it. So far, so good?

Looks like someone re-invented the wheel here. Obviously, there is some 
underlying logic behind this. I am really curious as to what advantages this 
has over simply using the mail() function. One apparent advantage is that if 
the local server (i.e. web hostser) does not allow you to send mail locally, 
you can connect directly to the SMTP port on some other machine. (Assuming 
that one allows you to). Are there other reasons? However, why can't you have 
choice of "local" mail delivery or connecting to the SMTP port (I know: 
feature request).

Looks like I am going to have to configure one of my machines to play POP3 so 
that I can send calendar notifications. (or change the code, which is not 
what I really want to spend my time doing).

Regards,

Jim Mohr

> Chris Weiss (address@hidden) wrote:
> > ok, think about this a little.
> >
> > how will it determine what the "local" user acount is?  phpgw runs via
> > apache, which runs as a single local user no matter who you are logged
> > in as.  You can't interact with other local accounts with out some
> > sort of server process, like an email server or something custom
> > (lookup sysmailadmin on the forum).
> >
> > how will it get into the "current email client" without a mail server?
> >  And how would an email client do anything at all without an email
> > server?
> >
> > On 6/12/05, James Mohr <address@hidden> wrote:
> > > Hi All!
> > >
> > > I would like to set up the calendar so that it sends to notifications
> > > to a local user account. I don't (yet) want to go through the work of
> > > setting up either an imap or pop3 server. Instead I just want the
> > > calendar to send it to the local user and their current email client is
> > > responsible to deal with it.
> > >
> > > I found a few references to email in the existing documentation, but
> > > this is mostly how to solve specific problems. I found nothing that
> > > tells me how to do the basic configuration.
> > >
> > > Any help is greatly appreaciated.
> > >
> > > Regards,
> > >
> > > Jim Mohr
> > >
> > > --
> > > ---------------------------------------
> > > "Be more concerned with your character than with your reputation. Your
> > > character is what you really are while your reputation is merely what
> > > others think you are." -- John Wooden
> > > ---------------------------------------
> > > Be sure to visit the Linux Tutorial:  http://www.linux-tutorial.info
> > >
> > >
> > > _______________________________________________
> > > Phpgroupware-users mailing list
> > > address@hidden
> > > http://lists.gnu.org/mailman/listinfo/phpgroupware-users
> >
> > _______________________________________________
> > Phpgroupware-users mailing list
> > address@hidden
> > http://lists.gnu.org/mailman/listinfo/phpgroupware-users
>
> _______________________________________________
> Phpgroupware-users mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/phpgroupware-users

-- 
---------------------------------------
"Be more concerned with your character than with your reputation. Your
character is what you really are while your reputation is merely what others
think you are." -- John Wooden
---------------------------------------
Be sure to visit the Linux Tutorial:  http://www.linux-tutorial.info




reply via email to

[Prev in Thread] Current Thread [Next in Thread]