Attachments outbound
There are several different ways to add attachments.
You need to be careful to specify your mime-types sensibly, so that the receiving system knows what to do with the file.
Rule 1. Buld your own SMTP header
In general these copy flows require you to build the email and its html header from scratch, and not allow ipsmtp to generate its own header for you.
This requires ipsmtp to be run with a -H switch. This says that you will be providing your own header, which you will create with the xchg below ...If you are already running ipsmtp, this may mean that you are adding a second instance of it in the system file.
It would be something link this
mail local ipsmtp -h mailhost -f -H
or if a second instance, perhaps it would need to spool a second queue, so would be
mail local ipsmtp -q 2smtp2 -h mailhost -f -H
Copy flows
The following links demonstrate a number of xchgs and copy flows for producing attachments ..
Create an HTML Email
Create an attachment from a jpeg file
- Create an email with an attachment? - take a file (a jpeg say) and encode it and email it.
Topic revision: r3 - 02 Jun 2005 - 11:59:56 -
DotFingerPost?