my $BODY = <<"END_TXT";
This is the message that will be passed and you
can even put $variables into it and they will
be interpolated.
END_TXT

Then you just pass $BODY to however you constructed your MIME::Lite call.

HTH,

Robert

Mathew wrote:
I'll have to look at the HEREDOC option.  I'm not familiar with that.
As for HTML, people here get quite frisky when they don't get plain text
emails.

Mathew

Robert Hicks wrote:
I typically use a HEREDOC to format my email messages. You can do all
sort of things by sending the email as HTML of you want as well.

Robert

Mathew wrote:
I'm using MIME::Lite to create the email.  It is being generated as I'm
able to send out all the emails necessary.

The way I'm doing it now is to use a variable which holds a small
message to be inserted into the email.  However, I don't know how to
dynamically format that variable with the data I'm sending.

The data looks like this:

  Ticket ID    hh:mm
---------------------
     000000    00:00
     111111    11:11
     222222    22:22

And so on.  That is what gets placed in the file but I'd prefer it be
placed inside the email.

Mathew

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to