On 2/2/07, Mumia W. <[EMAIL PROTECTED]> wrote:
On 02/02/2007 02:25 PM, Romeo Theriault wrote:
> [...]
>my $smtp = Net::SMTP_auth->new('miranda.umfk.maine.edu');
>$smtp->auth('LOGIN', 'user', 'password');
>
>$smtp->mail($from);
>$smtp->to($to);
>$smtp->data();
>$smtp->data
On 02/02/2007 02:25 PM, Romeo Theriault wrote:
[...]
my $smtp = Net::SMTP_auth->new('miranda.umfk.maine.edu');
$smtp->auth('LOGIN', 'user', 'password');
$smtp->mail($from);
$smtp->to($to);
$smtp->data();
$smtp->datasend("To: $to\n");
$smtp->datasend("Subject: $subject\n");
On 2/2/2007 3:25 PM, Romeo Theriault wrote:
$smtp->mail($from);
$smtp->to($to);
$smtp->data();
$smtp->datasend("To: $to\n");
$smtp->datasend("Subject: $subject\n");
$smtp->datasend($file);
$smtp->dataend();
Does $file begin with an empty line?
If not, you're not sep
Romeo Theriault wrote:
> Hello, I'm trying to send a variable in a email using Net::SMTP. For some
> reason no matter what I do the contents of the variable are not sent. I
> know the variable holds the information I want because if I do a
>
> print $file;
>
> the contents are printed. Here is th