IMG in to Signature

Use this forum if you have problems with a hMailServer script, such as hMailServer WebAdmin or code in an event handler.
Post Reply
mns17
Normal user
Normal user
Posts: 124
Joined: 2008-06-18 11:13

IMG in to Signature

Post by mns17 » 2010-05-24 08:49

Hi, All!

How add img in to signature with script?

User avatar
mattg
Moderator
Moderator
Posts: 20302
Joined: 2007-06-14 05:12
Location: 'The Outback' Australia

Re: IMG in to Signature

Post by mattg » 2010-05-24 08:57

Just 'cause I link to a page and say little else doesn't mean I am not being nice.
https://www.hmailserver.com/documentation

mns17
Normal user
Normal user
Posts: 124
Joined: 2008-06-18 11:13

Re: IMG in to Signature

Post by mns17 » 2010-05-24 09:18

IMG in to e-mail body!!!
How add IMG in to e-mail body with script?
And then HTML signature with <href="1.jpg">

User avatar
mattg
Moderator
Moderator
Posts: 20302
Joined: 2007-06-14 05:12
Location: 'The Outback' Australia

Re: IMG in to Signature

Post by mattg » 2010-05-24 10:17

I'm sorry, what are you asking?

The title says add an image to signature, but now you seem to want add an image to body of a message?
Just 'cause I link to a page and say little else doesn't mean I am not being nice.
https://www.hmailserver.com/documentation

User avatar
dzekas
Senior user
Senior user
Posts: 2486
Joined: 2005-10-13 21:28
Location: Lithuania

Re: IMG in to Signature

Post by dzekas » 2010-05-24 10:47

mns17 wrote:IMG in to e-mail body!!!
How add IMG in to e-mail body with script?
And then HTML signature with <href="1.jpg">
See http://en.wikipedia.org/wiki/Data_URI_scheme or use remote images with src=http://something urls

mns17
Normal user
Normal user
Posts: 124
Joined: 2008-06-18 11:13

Re: IMG in to Signature

Post by mns17 » 2010-05-24 11:02

Sorry for my english.

Problem in the following:
If in HTML signatures to refer to a image on a http://<site> then all works while the receiver of the letter in online and if loading of images is not prohibited for it in the mail client.

Question in the following:
How by means of a script to connect a image with the signature, BUT this image should be in the letter instead?

User avatar
dzekas
Senior user
Senior user
Posts: 2486
Joined: 2005-10-13 21:28
Location: Lithuania

Re: IMG in to Signature

Post by dzekas » 2010-05-24 11:11

mns17 wrote:Sorry for my english.

Problem in the following:
If in HTML signatures to refer to a figure on a site all works while the receiver of the letter in online and if loading of images is not prohibited for it in the mail client.

Question in the following:
How by means of a script to connect a image with the signature, BUT this figure should be in the letter instead of on a site?
hMailServer signatures allow only plain html. You can use plain html with image data inside that html. Please read wikipedia article on data uri scheme. It is available in English, German, Dutch, Spanish and Russian.

Bill48105
Developer
Developer
Posts: 6192
Joined: 2010-04-24 23:16
Location: Michigan, USA

Re: IMG in to Signature

Post by Bill48105 » 2010-05-24 15:20

Cool thx dzekas, hadn't seen that just MIME which is real pain compared to Data URI you pointed out. :)
Tested the html example & worked nicely in latest IE, Firefox & Chrome without need for javascript.
hMailServer build LIVE on my servers: 5.4-B2014050402
#hmailserver on FreeNode IRC https://webchat.freenode.net/?channels=#hmailserver
*** ABSENT FROM hMail! Those in IRC know how to find me if urgent. ***

Post Reply