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.
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
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.
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
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
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
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
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,
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