[horde] IMP message composition

Gold gold at medemail.com.au
Sun Oct 7 22:46:09 PDT 2001


Hi Jon,

Thanks for the prompt reply.

Quoting Jon Parise <jon at horde.org>:

> I'm afraid I don't have any insight into your immediate problem
> (maybe Chuck can chime in with an answer), but you might want to
> check into IMP 2.3.

I've grabbed the tarball and am just reading through the docs.  I don't see
anywhere where it states which version of horde is required.  I recall reading
in the archives that there have been problems with installing IMP as it often
needs a specific version of Horde.

Can anyone tell me which version of Horde IMP 2.3 will work with first time?
 
> I realize you might be doing this work primarily for your IMP 2.2
> installation, but we won't be making any more IMP 2.2 releases
> (except for security reasons), and it would be a shame for your
> work not to end up in a release.

Yeah, we're working on 2.2.4 here.

> IMP 2.3 gives you greater flexibility over message creation, too.

I see it handles GnuPG and PGP ig verification.  :)  That quarter of my work out
of the way...  :)

Regards,
Gold.
Web Programmer - http://www.babel.com.au
MedEmail - http://www.medemail.com.au


>From jan at horde.org Date: Mon,  8 Oct 2001 11:04:25 +0200
Return-Path: <jan at horde.org>
Mailing-List: contact horde-help at lists.horde.org; run by ezmlm
Delivered-To: mailing list horde at lists.horde.org
Received: (qmail 31227 invoked from network); 8 Oct 2001 09:14:55 -0000
Received: from mailout02.sul.t-online.com (HELO mailout02.sul.t-online.de) (194.25.134.17)
  by clark.horde.org with SMTP; 8 Oct 2001 09:14:55 -0000
Received: from fwd00.sul.t-online.de 
	by mailout02.sul.t-online.de with smtp 
	id 15qWUw-000444-0O; Mon, 08 Oct 2001 11:14:54 +0200
Received: from linux.wg.de (320034214675-0001@[217.0.157.79]) by fmrl00.sul.t-online.com
	with esmtp id 15qWUb-0rfpsPC; Mon, 8 Oct 2001 11:14:33 +0200
Received: from localhost (localhost [127.0.0.1])
	by linux.wg.de (8.11.0/8.11.0/SuSE Linux 8.11.0-0.4) with ESMTP id f9894Pc15535
	for <horde at lists.horde.org>; Mon, 8 Oct 2001 11:04:25 +0200
Received: from 192.168.60.1 ( [192.168.60.1])
	as user jan at mail.wg.de by linux.wg.de with HTTP;
	Mon,  8 Oct 2001 11:04:25 +0200
Message-ID: <1002531865.3bc16c1927d24 at linux.wg.de>
Date: Mon,  8 Oct 2001 11:04:25 +0200
From: Jan Schneider <jan at horde.org>
To: horde at lists.horde.org
References: <1002517470.3bc133dec8369 at www.medemail.com.au> <20011008011106.A2453 at csh.rit.edu> <1002519969.3bc13da1c0e00 at www.medemail.com.au>
In-Reply-To: <1002519969.3bc13da1c0e00 at www.medemail.com.au>
MIME-Version: 1.0
Content-Type: text/plain
Content-Transfer-Encoding: 8bit
User-Agent: Internet Messaging Program (IMP) 2.3.7-cvs
X-Sender: 320034214675-0001 at t-dialin.net
Subject: Re: [horde] IMP message composition

Zitat von Gold <gold at medemail.com.au>:

> > I'm afraid I don't have any insight into your immediate problem
> > (maybe Chuck can chime in with an answer), but you might want to
> > check into IMP 2.3.
> 
> I've grabbed the tarball and am just reading through the docs.  I don't see
> anywhere where it states which version of horde is required.  I recall
> reading
> in the archives that there have been problems with installing IMP as it
> often
> needs a specific version of Horde.

You probably want to use imp and horde from cvs. That's the only way for us to 
commit your work to the head development tree more or less seemlessly.
Also the latest imp tarball is quite out of date and the code has changed at 
lot since then.
 
> > IMP 2.3 gives you greater flexibility over message creation, too.
> 
> I see it handles GnuPG and PGP ig verification.  :)  That quarter of my work
> out
> of the way...  :)

The gpg/pgp code wasn't being maintained anymore so we dropped support for it. 
I'm not sure but I think the code has even been removed from cvs.
Again you should try to work with the current cvs.

You will also see there support for identities what probably will the place 
where you want to plugin your signing/encrypting stuff.
But you should wait a few days until you work on this because I'm currently 
moving all the identities stuff into a seperate library.

Jan.

:::::::::::::::::::::::::::::::::::::::: 
AMMMa AG - discover your knowledge
:::::::::::::::::::::::::::
Detmolder Str. 25-33 :: D-33604 Bielefeld
fon +49.521.96878-0 :: fax  +49.521.96878-20
http://www.ammma.de
::::::::::::::::::::::::::::::::::::::::::::::


>From chuck at horde.org Date: Mon,  8 Oct 2001 11:18:19 -0400
Return-Path: <chuck at horde.org>
Mailing-List: contact horde-help at lists.horde.org; run by ezmlm
Delivered-To: mailing list horde at lists.horde.org
Received: (qmail 53197 invoked from network); 8 Oct 2001 15:18:54 -0000
Received: from h00104bc60b3c.ne.mediaone.net (HELO marina.horde.org) (24.91.198.7)
  by clark.horde.org with SMTP; 8 Oct 2001 15:18:54 -0000
Received: by marina.horde.org (Postfix, from userid 33)
	id 88D5D39AD; Mon,  8 Oct 2001 11:18:19 -0400 (EDT)
Received: from 192.168.0.159 ( [192.168.0.159])
	as user chuck at localhost by marina.your.mom with HTTP;
	Mon,  8 Oct 2001 11:18:19 -0400
Message-ID: <1002554299.3bc1c3bb5c4ed at marina.your.mom>
Date: Mon,  8 Oct 2001 11:18:19 -0400
From: Chuck Hagenbuch <chuck at horde.org>
To: horde at lists.horde.org
References: <1002517470.3bc133dec8369 at www.medemail.com.au> <20011008011106.A2453 at csh.rit.edu> <1002519969.3bc13da1c0e00 at www.medemail.com.au>
In-Reply-To: <1002519969.3bc13da1c0e00 at www.medemail.com.au>
MIME-Version: 1.0
Content-Type: text/plain
Content-Transfer-Encoding: 8bit
User-Agent: Internet Messaging Program (IMP) 2.3.7-cvs
Subject: Re: [horde] IMP message composition

Quoting Gold <gold at medemail.com.au>:

> I've grabbed the tarball and am just reading through the docs.  I don't see
> anywhere where it states which version of horde is required.  I recall reading
> in the archives that there have been problems with installing IMP as it often
> needs a specific version of Horde.

The tarball of 2.3 needs Horde 1.3.3. However, as Jon said, you really should 
be using both from CVS - the tarballs are ancient.

-chuck

--
Charles Hagenbuch, <chuck at horde.org>
"What was and what may be lie, like children whose faces we cannot see, in the 
arms of silence. All we ever have is here, now." - Ursula K. Le Guin


>From jrkuipers at lauwerscollege.nl Date: Tue,  9 Oct 2001 09:28:12 +0200
Return-Path: <jrkuipers at lauwerscollege.nl>
Mailing-List: contact horde-help at lists.horde.org; run by ezmlm
Delivered-To: mailing list horde at lists.horde.org
Received: (qmail 86429 invoked from network); 9 Oct 2001 07:28:45 -0000
Received: from c3207.upc-c.chello.nl (HELO linux.lauwerscollege.nl) (212.187.3.207)
  by clark.horde.org with SMTP; 9 Oct 2001 07:28:45 -0000
Received: (from www at localhost)
	by linux.lauwerscollege.nl (8.11.6/8.8.7) id f997SCb02064
	for horde at lists.horde.org; Tue, 9 Oct 2001 09:28:12 +0200
Received: from 212.187.3.207 ( [212.187.3.207])
	as user jrkuipers at localhost by webmail.lauwerscollege.nl with HTTP;
	Tue,  9 Oct 2001 09:28:12 +0200
Message-ID: <1002612492.3bc2a70cb9d2b at webmail.lauwerscollege.nl>
Date: Tue,  9 Oct 2001 09:28:12 +0200
From: Jan Kuipers <jrkuipers at lauwerscollege.nl>
To: horde at lists.horde.org
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
User-Agent: Internet Messaging Program (IMP) 2.3.7-cvs
Subject: Gettextstrings in registry.php

Hello,

The gettextstrings in horde/config/registry.php are not translated. Any ideas?

-- 
Jan Kuipers,
Systeembeheer Lauwers College


>From jan at horde.org Date: Tue,  9 Oct 2001 10:09:54 +0200
Return-Path: <jan at horde.org>
Mailing-List: contact horde-help at lists.horde.org; run by ezmlm
Delivered-To: mailing list horde at lists.horde.org
Received: (qmail 88112 invoked from network); 9 Oct 2001 08:14:06 -0000
Received: from mailout01.sul.t-online.com (HELO mailout01.sul.t-online.de) (194.25.134.80)
  by clark.horde.org with SMTP; 9 Oct 2001 08:14:06 -0000
Received: from fwd00.sul.t-online.de 
	by mailout01.sul.t-online.de with smtp 
	id 15qs1d-0000Ay-04; Tue, 09 Oct 2001 10:14:05 +0200
Received: from linux.wg.de (320034214675-0001@[217.0.157.79]) by fmrl00.sul.t-online.com
	with esmtp id 15qs1R-05jHBgC; Tue, 9 Oct 2001 10:13:53 +0200
Received: from localhost (localhost [127.0.0.1])
	by linux.wg.de (8.11.0/8.11.0/SuSE Linux 8.11.0-0.4) with ESMTP id f9989tc22076
	for <horde at lists.horde.org>; Tue, 9 Oct 2001 10:09:55 +0200
Received: from 62.225.101.66 ( [62.225.101.66])
	as user jan at mail.wg.de by jan.dip.ammma.net with HTTP;
	Tue,  9 Oct 2001 10:09:54 +0200
Message-ID: <1002614994.3bc2b0d2c8f45 at jan.dip.ammma.net>
Date: Tue,  9 Oct 2001 10:09:54 +0200
From: Jan Schneider <jan at horde.org>
To: horde at lists.horde.org
References: <1002612492.3bc2a70cb9d2b at webmail.lauwerscollege.nl>
In-Reply-To: <1002612492.3bc2a70cb9d2b at webmail.lauwerscollege.nl>
MIME-Version: 1.0
Content-Type: text/plain
Content-Transfer-Encoding: 8bit
User-Agent: Internet Messaging Program (IMP) 2.3.7-cvs
X-Sender: 320034214675-0001 at t-dialin.net
Subject: Re: [horde] Gettextstrings in registry.php

They are, but I have also problems displaying them.
I don't know why but only those two strings I translated earlier are displayed 
correctly everytime - the others after I reloaded a few times.
Strange thing!

Jan.

Zitat von Jan Kuipers <jrkuipers at lauwerscollege.nl>:

> Hello,
> 
> The gettextstrings in horde/config/registry.php are not translated. Any
> ideas?
> 
> -- 
> Jan Kuipers,
> Systeembeheer Lauwers College
> 
> -- 
> Horde mailing list: http://horde.org/horde/
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: horde-unsubscribe at lists.horde.org
> 
> 


:::::::::::::::::::::::::::::::::::::::: 
AMMMa AG - discover your knowledge
:::::::::::::::::::::::::::
Detmolder Str. 25-33 :: D-33604 Bielefeld
fon +49.521.96878-0 :: fax  +49.521.96878-20
http://www.ammma.de
::::::::::::::::::::::::::::::::::::::::::::::


>From jrkuipers at lauwerscollege.nl Date: Tue,  9 Oct 2001 12:02:07 +0200
Return-Path: <jrkuipers at lauwerscollege.nl>
Mailing-List: contact horde-help at lists.horde.org; run by ezmlm
Delivered-To: mailing list horde at lists.horde.org
Received: (qmail 94571 invoked from network); 9 Oct 2001 10:02:39 -0000
Received: from c3207.upc-c.chello.nl (HELO linux.lauwerscollege.nl) (212.187.3.207)
  by clark.horde.org with SMTP; 9 Oct 2001 10:02:39 -0000
Received: (from www at localhost)
	by linux.lauwerscollege.nl (8.11.6/8.8.7) id f99A27603401
	for horde at lists.horde.org; Tue, 9 Oct 2001 12:02:07 +0200
Received: from 212.187.3.207 ( [212.187.3.207])
	as user jrkuipers at localhost by webmail.lauwerscollege.nl with HTTP;
	Tue,  9 Oct 2001 12:02:07 +0200
Message-ID: <1002621727.3bc2cb1f58a96 at webmail.lauwerscollege.nl>
Date: Tue,  9 Oct 2001 12:02:07 +0200
From: Jan Kuipers <jrkuipers at lauwerscollege.nl>
To: horde at lists.horde.org
References: <1002612492.3bc2a70cb9d2b at webmail.lauwerscollege.nl> <1002614994.3bc2b0d2c8f45 at jan.dip.ammma.net>
In-Reply-To: <1002614994.3bc2b0d2c8f45 at jan.dip.ammma.net>
MIME-Version: 1.0
Content-Type: text/plain
Content-Transfer-Encoding: 8bit
User-Agent: Internet Messaging Program (IMP) 2.3.7-cvs
Subject: Re: [horde] Gettextstrings in registry.php

Citeren Jan Schneider <jan at horde.org>:

> They are, but I have also problems displaying them.
> I don't know why but only those two strings I translated earlier are
> displayed 
> correctly everytime - the others after I reloaded a few times.
> Strange thing!

Bindtextdomain already set is this stage?

-- 
Jan Kuipers,
Systeembeheer Lauwers College


>From jan at horde.org Date: Tue,  9 Oct 2001 12:21:46 +0200
Return-Path: <jan at horde.org>
Mailing-List: contact horde-help at lists.horde.org; run by ezmlm
Delivered-To: mailing list horde at lists.horde.org
Received: (qmail 96020 invoked from network); 9 Oct 2001 10:24:25 -0000
Received: from mailout06.sul.t-online.com (HELO mailout06.sul.t-online.de) (194.25.134.19)
  by clark.horde.org with SMTP; 9 Oct 2001 10:24:25 -0000
Received: from fwd01.sul.t-online.de 
	by mailout06.sul.t-online.de with smtp 
	id 15qu3i-0002Ft-02; Tue, 09 Oct 2001 12:24:22 +0200
Received: from linux.wg.de (320034214675-0001@[217.0.157.90]) by fmrl01.sul.t-online.com
	with esmtp id 15qu3Q-1TcJHMC; Tue, 9 Oct 2001 12:24:04 +0200
Received: from localhost (localhost [127.0.0.1])
	by linux.wg.de (8.11.0/8.11.0/SuSE Linux 8.11.0-0.4) with ESMTP id f99ALkc24027
	for <horde at lists.horde.org>; Tue, 9 Oct 2001 12:21:46 +0200
Received: from 62.225.101.66 ( [62.225.101.66])
	as user jan at mail.wg.de by jan.dip.ammma.net with HTTP;
	Tue,  9 Oct 2001 12:21:46 +0200
Message-ID: <1002622906.3bc2cfba1a5bd at jan.dip.ammma.net>
Date: Tue,  9 Oct 2001 12:21:46 +0200
From: Jan Schneider <jan at horde.org>
To: horde at lists.horde.org
References: <1002612492.3bc2a70cb9d2b at webmail.lauwerscollege.nl> <1002614994.3bc2b0d2c8f45 at jan.dip.ammma.net> <1002621727.3bc2cb1f58a96 at webmail.lauwerscollege.nl>
In-Reply-To: <1002621727.3bc2cb1f58a96 at webmail.lauwerscollege.nl>
MIME-Version: 1.0
Content-Type: text/plain
Content-Transfer-Encoding: 8bit
User-Agent: Internet Messaging Program (IMP) 2.3.7-cvs
X-Sender: 320034214675-0001 at t-dialin.net
Subject: Re: [horde] Gettextstrings in registry.php

Zitat von Jan Kuipers <jrkuipers at lauwerscollege.nl>:

> Citeren Jan Schneider <jan at horde.org>:
> 
> > They are, but I have also problems displaying them.
> > I don't know why but only those two strings I translated earlier are
> > displayed 
> > correctly everytime - the others after I reloaded a few times.
> > Strange thing!
> 
> Bindtextdomain already set is this stage?

Yes, everything is setup correctly. I really don't know why there is so much 
trouble with it.

Btw, if you get an English login page and your preferred langaguage after 
login, the menu bar will of course stay English because it's loaded before 
login and not reloaded after.

Jan.

:::::::::::::::::::::::::::::::::::::::: 
AMMMa AG - discover your knowledge
:::::::::::::::::::::::::::
Detmolder Str. 25-33 :: D-33604 Bielefeld
fon +49.521.96878-0 :: fax  +49.521.96878-20
http://www.ammma.de
::::::::::::::::::::::::::::::::::::::::::::::


>From zrahman at partex.net Date: Tue,  9 Oct 2001 11:46:14 +0000
Return-Path: <zrahman at partex.net>
Mailing-List: contact horde-help at lists.horde.org; run by ezmlm
Delivered-To: mailing list horde at lists.horde.org
Received: (qmail 97924 invoked from network); 9 Oct 2001 11:42:38 -0000
Received: from partex.net (HELO mail.partex.net) (root at 202.4.96.10)
  by clark.horde.org with SMTP; 9 Oct 2001 11:42:38 -0000
Received: (from www at localhost)
	by mail.partex.net (8.9.3/8.9.3) id RAA03275
	for horde at lists.horde.org; Tue, 9 Oct 2001 17:46:14 +0600
From: M Z Rahman <zrahman at partex.net>
X-Authentication-Warning: mail.partex.net: www set sender to zrahman at partex.net using -f
Received: from 202.4.96.28 ( [202.4.96.28])
	as user zrahman at mail.partex.net by mail.partex.net with HTTP;
	Tue,  9 Oct 2001 11:46:14 +0000
Message-ID: <1002627974.3bc2e38631fd7 at mail.partex.net>
Date: Tue,  9 Oct 2001 11:46:14 +0000
To: horde at lists.horde.org
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
User-Agent: Internet Messaging Program (IMP) 2.3.7-cvs
X-Originating-IP: 202.4.96.28
X-Webmail-Company: Dhakacom Limited.
Subject: Fwd: Re: [doc] NSTALL document and wvHtml installation.


I think this should actually be submitted in this list.

Zia

----- Forwarded message from M Z Rahman <zrahman at partex.net> -----
    Date: Tue,  9 Oct 2001 09:14:57 +0000
    From: M Z Rahman <zrahman at partex.net>
Reply-To: doc at lists.horde.org
 Subject: Re: [doc] NSTALL document and wvHtml installation.
      To: doc at lists.horde.org

Okay, here are the other documentation fix for the Horde INSTALL document:

1. In the PHP Extentions header mcrypt link:

mcrypt - http://mcrypt.hellug.gr/

2. Mcrypt installation:

mcrypt
------

Note: get the Libmcrypt library (libmcrypt-2.4.17.tar.gz)from
ftp://mcrypt.hellug.gr/pub/mcrypt/libmcrypt, not the Mcrypt.

"cd to the directory containing your source files: cd..

Untar the libmcrypt source: tar -zxvf libmcrypt*

"cd" to the libmcrypt directory: cd libmcrypt*

Type the following:

./configure
make
make install


3. While configuring PHP4 from the CVS, if the libtool version is less then 1.4
then it will generate an error. A note can specified in the PHP4 installation
section, mentioning to install the latest libtool (at least, libtool-1.4.2).

-----this can be added-----
Note: if you have older than version 1.4 of libtool then, please upgrade the
libtool before you can proceed to configuring PHP4. Libtool can be grabbed from
http://www.gnu.org/software/libtool/libtool.html. After installing thelibtool,
besure copy the "ltconfig" file to your PHP4 src directory from
/usr/share/libtool (if you installed libtool with default settings) directory.
PHP4 complains about the "ltconfig" file if it is not in the current directory.
----Note finishes here-----

4. With the mcrypt configured and installed, the confugre command for PHP4 will be:

./configure --with-zlib --with-mm --with-mysql=/usr/local/mysql \
--with-mcal=../libmcal --with-ldap --with-imap=../imap \
--with-gettext --enable-ftp --with-db3=/usr/local/BerkeleyDB.3.1 \
--with-apache=../apache --with-mcrypt=../libmcrypt-1.4.2 

5. PHP4 CVS version has a broken line in the configure script at 59514. So,
while configuring it just gives an error and gets out. It is nothing but a echo
line, and can be avoided by just putting a remark "#" in from of the line and
the lines following. The note is specified below: (by the way, this is not a
solutions, this is just a quick hack to get the PHP4 work for horde)

----Note for broken line----
Note: if configure script exits giving a error message "./configure: syntax
error near unexpected token `_LT_AC_TRY_DLOPEN_SELF('" then you can aplly the
following diff or you can just comment out the line 59514 to line 59521. 

Diff for the config file:
59514,59521c59514,59521
< _LT_AC_TRY_DLOPEN_SELF(
<   AC_MSG_RESULT(no)
< ,
<   AC_MSG_RESULT(yes)
<   AC_DEFINE(DLSYM_NEEDS_UNDERSCORE, 1, [Define if dlsym() requires a
leading underscode in symbol names. ])
< ,
<   AC_MSG_RESULT(no)
< , )
---
> #_LT_AC_TRY_DLOPEN_SELF(
> #  AC_MSG_RESULT(no)
> #,
> #  AC_MSG_RESULT(yes)
> #  AC_DEFINE(DLSYM_NEEDS_UNDERSCORE, 1, [Define if dlsym() requires a
leading underscode in symbol names. ])
> #,
> #  AC_MSG_RESULT(no)
> #, )

-----Note finishs here-----


6. After installing the mod_ssl, while configuring apache, the ./configure
command should be the following for the ssl support as indicated by the mod_ssl
installation:

EAPI_MM=/usr/local \
SSL_BASE=../openssl-<your version> \
--activate-module=src/modules/php4/libphp4.a \
--enable-module=ssl (Leave this line and SSL_BASE line out is you are NOT
installing mod_ssl)



Thats all I could think of so far. If I remember more, I will post it
immediately. By the way, I am preparing the turba INSTALL documentation also, I
hate to see it empty. :) (My turba still is not working, I am stuck at the login
screen problem :)

Regards,

Zia


Quoting Jon Parise <jon at horde.org>:

> On Sun, Oct 07, 2001 at 02:57:35PM +0600, M Z Rahman wrote:
> 
> > I can give more suggestions on the INSTALL document which might help others
> to
> > install it properly. Like the document does not at all talk about the
> mcrypt
> > installation, where as the test.php shows a RED "NO" about mcrypt, which
> is
> > really eye-catching :)
>  
> Go for it. =)
> 
> -- 
> Jon Parise (jon at csh.rit.edu)  .  Information Technology (2001)
> http://www.csh.rit.edu/~jon/  :  Computer Science House Member
> 
> -- 
> Doc mailing list: http://docs.horde.org/
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: doc-unsubscribe at lists.horde.org
> 

-- 
Doc mailing list: http://docs.horde.org/
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: doc-unsubscribe at lists.horde.org

----- End forwarded message -----





>From chuck at horde.org Date: Tue,  9 Oct 2001 10:15:38 -0400
Return-Path: <chuck at horde.org>
Mailing-List: contact horde-help at lists.horde.org; run by ezmlm
Delivered-To: mailing list horde at lists.horde.org
Received: (qmail 9029 invoked from network); 9 Oct 2001 15:24:39 -0000
Received: from h00104bc60b3c.ne.mediaone.net (HELO marina.horde.org) (24.91.198.7)
  by clark.horde.org with SMTP; 9 Oct 2001 15:24:39 -0000
Received: by marina.horde.org (Postfix, from userid 33)
	id 1D4863D78; Tue,  9 Oct 2001 10:15:39 -0400 (EDT)
Received: from 206.243.191.252 ( [206.243.191.252])
	as user chuck at localhost by marina.horde.org with HTTP;
	Tue,  9 Oct 2001 10:15:38 -0400
Message-ID: <1002636938.3bc3068ae9973 at marina.horde.org>
Date: Tue,  9 Oct 2001 10:15:38 -0400
From: Chuck Hagenbuch <chuck at horde.org>
To: horde at lists.horde.org
References: <1002517470.3bc133dec8369 at www.medemail.com.au>
In-Reply-To: <1002517470.3bc133dec8369 at www.medemail.com.au>
MIME-Version: 1.0
Content-Type: text/plain
Content-Transfer-Encoding: 8bit
User-Agent: Internet Messaging Program (IMP) 2.3.7-cvs
Subject: Re: [horde] IMP message composition

Quoting Gold <gold at medemail.com.au>:

> I'm currently looking in imp/compose.php3 in the section starting at 
> case SEND_MESSAGE: which is about 520 lines down.
> 
> Down around line 640 we have...
> 
> $msg = $mime->generate();
> 
> This builds the body of the message (all the different mime parts etc) and 
> then goes on to build the array $envelope which contains all the message
> headers.
> 
> In order to be complient with rfc 2015 I need to get the message headers for
> Content-Type and Content-Transfer-Encoding at this point before the $envelope 
> is built so I can add them to the $msg for signing.
> 
> Can anyone help me get these at this point?

I'd love to see you do this with 2.3, btw. And it should probably be abstracted 
into a library of sorts, and made a flexible part of message generation. 
However, if I'm understanding you correctly, at this point:

$headers = $msg->textHeader();

... should give you what you need.

-chuck

--
Charles Hagenbuch, <chuck at horde.org>
"What was and what may be lie, like children whose faces we cannot see, in the 
arms of silence. All we ever have is here, now." - Ursula K. Le Guin




More information about the horde mailing list