Re: email text



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

Nigel Peck wrote:
Mathew wrote:
I have a script which creates a text file for each of several users.
However, the contents of the file are rarely enough to warrant it. I'd
much rather place the information inside the email instead of attaching
it as a file. I haven't been able to find anything to explain how to do
this though. Although, something tells me I'm completely
over-thinking it.

Can someone help?

Mathew

Could you explain a bit more about this? What email? If you're attaching
it then that must mean you're creating the email so what's stopping you
putting the text in the body of the message? How are you creating the
email?

Cheers,
Nigel



.



Relevant Pages

  • email text
    ... I have a script which creates a text file for each of several users. ... the contents of the file are rarely enough to warrant it. ... much rather place the information inside the email instead of attaching ... something tells me I'm completely over-thinking it. ...
    (perl.beginners)
  • Re: email text
    ... Mathew wrote: ... the contents of the file are rarely enough to warrant it. ... something tells me I'm completely over-thinking it. ... If you're attaching it then that must mean you're creating the email so what's stopping you putting the text in the body of the message? ...
    (perl.beginners)
  • Re: email text
    ... the contents of the file are rarely enough to warrant it. ... much rather place the information inside the email instead of attaching ... since this is a gmail account, please verify the mailing list is included in ...
    (perl.beginners)