Claudine,

You can embed HTML files into your R:Mail 3.0 messages using the following:

  PLUGIN RMail30_80.rbl 'v1|EMBED_ATTACHMENT bonus.htm#text/htm'

You can build the EMBED_ATTACHMENT parameters with variables and can define
a different directory than where the database resides.

Any file type can be embedded into your email, as long as you define the
file name, content, and type. There are various resources to find the
content names for different files, but the chart are the following URL
makes it really easy:

http://www.utoronto.ca/webdocs/HTMLdocs/Book/Book-3ed/appb/mimetype.html

Also, when sending an embedded HTML file, you must specify the HTML message
type using:

  PLUGIN RMail30_80.rbl v1|MESSAGE_TYPE HTML

John

At 05:51 PM 4/2/2008, you wrote:
Continuing my R:MAIL trek with HTML messages and embedded attachments...

PLUGIN RMAIL30_80.RBL 'v1|EMBED_ATTACHMENT alcheshire_cat.gif#image/gif'
works fine to embed an image of type gif.

I haven't tried but I would expect that:
PLUGIN RMAIL30_80.RBL 'v1|EMBED_ATTACHMENT alcheshire_cat.jpg#image/jpg'
Would work to embed an image of type jpg.

I have now created a document.htm in another directory from the database
(C:\database\htmldocs) and I would like to embed it in my message.

Page 17 of the manual says:

EMBED_ATTACHMENT value (formatted as: YourFilename.EXT#ContentType)

So how do I embed a file name (with or without directory -- can it be a
variable?) and what ContentType is it?

TIA,

Claudine

--- RBASE-L
================================================
TO POST A MESSAGE TO ALL MEMBERS:
Send a plain text email to [email protected]

(Don't use any of these words as your Subject:
INTRO, SUBSCRIBE, UNSUBSCRIBE, SEARCH,
REMOVE, SUSPEND, RESUME, DIGEST, RESEND, HELP)
================================================
TO SEE MESSAGE POSTING GUIDELINES:
Send a plain text email to [email protected]
In the message SUBJECT, put just one word: INTRO
================================================
TO UNSUBSCRIBE: Send a plain text email to [email protected]
In the message SUBJECT, put just one word: UNSUBSCRIBE
================================================
TO SEARCH ARCHIVES:
Send a plain text email to [email protected]
In the message SUBJECT, put just one word: SEARCH-n
(where n is the number of days). In the message body, place any text to search for.
================================================


Reply via email to