Forum Moderators: coopster & phranque

Message Too Old, No Replies

Email attachments using Blat

         

Nagasaki

10:45 am on Mar 13, 2003 (gmt 0)



This should be an easy fix for someone.....but not for me unfortunately!

I am successfully sending an email attachment using the -attach parameter in Blat, but I want the file I send to be placed in a private directory.

$commandline = $blatpath;
$commandline .= $message;
$commandline .= "-attach test.txt ";
$commandline .= "-s $subject " if $subject;
$commandline .= "-t $recipients " if $recipients;
$commandline .= "-f $fromsender " if $fromsender;
$commandline .= "-c $ccaddress " if $ccaddress;

I tried this and the email was sent but without the attached file.

$commandline .= "-attach /private/test.txt ";

What basic mistake am I making?

jatar_k

3:11 am on Mar 14, 2003 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



Welcome to WebmasterWorld Nagasaki,

I don't know anything about blat myself but this might help.

groups.yahoo.com/group/blat/