in reply to How do I get Windmail to send an email attachment

RTFM, you havet too many \n\n
  • Comment on Re: How do I get Windmail to send an email attachment

Replies are listed 'Best First'.
Re^2: How do I get Windmail to send an email attachment
by kjg (Sexton) on Apr 04, 2008 at 14:24 UTC
    Thanks. I've tided the script up to:
    open MAIL, "|c:/windmail/windmail -t"; print MAIL "To:$Email\@ybs.co.uk\n"; print MAIL "From:Internal_Comms\@ybs.co.uk\n"; print MAIL "Subject:".$mailsubject." \n"; print MAIL "Attach:".$attachment."\n\n"; print MAIL $mailtext; close MAIL;
    but I'm now getting:
    To: me From: Internal_Comms Subject: Any text Message body: Some text
    Once again, the email looks like it has an attachment in my inbox, but there is no attachment when I actually read the email.
    Somethings still not right, plainly!
      check the logs?
        Err, there's nothing in the perl error log, and I don't have access to any other logs!
        Never knowingly obfuscated