Re: Stationery

"'Chip' [email protected] [blat]" <[email protected]> Sun, 1 Jan 2017 15:09:20 -0700
Newsgroups gmane.mail.blat
Message-ID <9715BD21BA8641509E59C5AD21E0CDD0@chip>
>> Hi
>>
>> Can we send stationery style emails using blat? I wish some sort of 
>> artwork as a background of the whole email body.
>>
>> I do not think embed will work because I am assuming that text fill flow 
>> around the embedded image.
>>
>> Regards,
>>
>> Skand

> Yes, in your html you need to define the background image and use the cid: 
> tag to tell the renderor to get the image from your embedded attachment. 
> A foreground image could have text around it, but background images are 
> different.
>
> I will look up the syntax shortly.
>
> Chip

This link http://www.w3schools.com/tags/att_body_background.asp shows how to 
specify the background image.  However, the first example presumes a web 
based image.  To use an embedded image, use the cid: reference.

Here is the first example from the above link:

<html>
<body background="bgimage.jpg">
<h1>Hello world!</h1>
<p><a href="http://www.w3schools.com">Visit W3Schools.com!</a></p>
</body>
</html>


Here it is with the cid: reference.  You can then include your background 
image with -embed option.

<html>
<body background="cid:bgimage.jpg">
<h1>Hello world!</h1>
<p><a href="http://www.w3schools.com">Visit W3Schools.com!</a></p>
</body>
</html>

Chip



-------- Original message --------
From: "'Skand Bhargava' [email protected] [blat]"
Date:01/01/2017 1:36 PM (GMT-07:00)
To: [email protected]
Subject: [blat] Stationery

Hi

Can we send stationery style emails using blat? I wish some sort of artwork 
as a background of the whole email body.

I do not think embed will work because I am assuming that text fill flow 
around the embedded image.

Regards,

Skand