email text

2007-04-28 Thread Mathew
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.

Re: email text

2007-04-28 Thread Nigel Peck
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

Re: email text

2007-04-28 Thread jm
look at Mail::Sender On 4/28/07, Mathew <[EMAIL PROTECTED]> 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.

Re: email text

2007-04-28 Thread Mathew
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

Re: email text

2007-04-28 Thread Robert Hicks
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 n

Re: email text

2007-04-28 Thread Mathew
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 o

Re: email text

2007-04-28 Thread Robert Hicks
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

RE: Email text encoding

2004-02-11 Thread Jan Eden
Hi Thomas, Thomas Bätzler wrote: >Hi, > >Jan Eden <[EMAIL PROTECTED]> wrote: >> and thanks for all the previous suggestions regarding email >> modules. Now it turned out that my ISP refuses to let me >> install *any* additional Perl module on the server, so I have >> to use sendmail. > >Well,

Re: Email text encoding

2004-02-11 Thread Jan Eden
Wiggins d Anconia wrote: >>Hi, >> >>and thanks for all the previous suggestions regarding email modules. >Now it turned out that my ISP refuses to let me install *any* >additional Perl module on the server, so I have to use sendmail. >> > >Switch ISPs? Sorry this isn't the answer you want. Sorr