On Monday 08 September 2003 02:12, Doug Weimer wrote:
> On Sun, 2003-09-07 at 08:01, Jason Stubbs wrote:
>
>
> > # Can I combine the following two lines in any way?
> > # $mail_body = @$mail->body(); does not work.
> > $mail_body_ref = $mail->body();
> > @mail_body = @$mail_bo
On Sun, 2003-09-07 at 08:01, Jason Stubbs wrote:
> # Can I combine the following two lines in any way?
> # $mail_body = @$mail->body(); does not work.
> $mail_body_ref = $mail->body();
> @mail_body = @$mail_body_ref;
@{$mail->body()} works here. If you want, you can also use
foreach(@{$mail->body
Jason Stubbs ([EMAIL PROTECTED]) scribbled:
> On Tuesday 02 September 2003 10:50, Marshal Newrock wrote:
> > On Mon, 1 Sep 2003, Jason wrote:
> > > above, what I want to do is:
> > >
> > > @sometext = ("text\n\with\nmore\nthan\none\nnewline\n",
> > > "some\nother\nline\n");
> > > @newtext = ("text\
On Tuesday 02 September 2003 10:50, Marshal Newrock wrote:
> On Mon, 1 Sep 2003, Jason wrote:
> > above, what I want to do is:
> >
> > @sometext = ("text\n\with\nmore\nthan\none\nnewline\n",
> > "some\nother\nline\n");
> > @newtext = ("text\n", "with\n", "more\n", "than\n", "one\n", "newline\n",
>
On Mon, 1 Sep 2003, Jason wrote:
> >The problem here is you have to define a "line". A line of email can have
> >up to 1000 (I think) characters. Postfix will split the line at 990
> >characters by default. And then there's all the extra information added
> >by using HTML.
>
> All the extra HTM
>= Original Message From Marshal Newrock <[EMAIL PROTECTED]> =
>On Mon, 1 Sep 2003, Jason Stubbs wrote:
>
>> The only other thing which I haven't had time to really check into yet -
too
>> much time spent reading man pages! - is that it seems 1 element of
@bodytext
>> has more than one li
On Mon, 1 Sep 2003, Jason Stubbs wrote:
> The only other thing which I haven't had time to really check into yet - too
> much time spent reading man pages! - is that it seems 1 element of @bodytext
> has more than one line of text; that is to say, each of element of @bodytext
> has >=1 newline. Th
Well,
Background: I'm writing a script to send a notification mail to an e-mail
address based on an incoming mail. I'm using procmail to decide which
messages should be notified about and to pipe them one by one into said
script.
[edit]I wish I could perform edits like in the forums ;-)[/edi