RE: Stationery

"'Skand Bhargava' [email protected] [blat]" <[email protected]> Mon, 2 Jan 2017 10:43:36 +0400
Newsgroups gmane.mail.blat
Message-ID <F28E327B06FC4D02A3E6C0AD9663123A@extensa>
Dear Chip

Thanks for the prompt response. In these examples:

1. Is it implied that the file "bgimage.jpg" is residing in the root of http://www.w3schools.com website?
2. While in first example the file will be picked up from a website when recipient opens the email, in second the image will become part of the email itself (and making the email bulkier)?

Regards,



For Softools Middle East, A Dubai Based Company

Skand Bhargava
TAS2000 & HR2020: Serious Attendance & HR Systems
PO Box 14959, Dubai
Tel:  +971 4 2680533, Mob: +971 50 6340258 

  -----Original Message-----
  From: [email protected] [mailto:[email protected]]
  Sent: Monday, January 02, 2017 2:09 AM
  To: [email protected]
  Subject: Re: [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

  > 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