Is it possible to add some graphic(jpg, png, or other) to th

Use this forum if you have installed hMailServer and want to ask a question related to a production release of hMailServer. Before posting, please read the troubleshooting guide. A large part of all reported issues are already described in detail here.
Post Reply
fmail
Normal user
Normal user
Posts: 159
Joined: 2009-01-02 18:21
Location: Denmark, Aarhus

Is it possible to add some graphic(jpg, png, or other) to th

Post by fmail » 2010-01-27 10:32

Hello

Is it possible to add some graphic(jpg, png, or other) to the Signature?

User avatar
ayardimci
Normal user
Normal user
Posts: 32
Joined: 2007-05-12 19:23

Re: Is it possible to add some graphic(jpg, png, or other) to th

Post by ayardimci » 2010-01-27 16:25

I think it is possible to use HTML in signature if the email is in HTML format. This means if the email is in HTML format then you may use pictures.

User avatar
sheffters
Senior user
Senior user
Posts: 453
Joined: 2009-07-01 20:46
Contact:

Re: Is it possible to add some graphic(jpg, png, or other) to th

Post by sheffters » 2010-01-27 20:31

think youd have to embed them as an external link though ... i.e. cant embed them on the server in he signature ... <img src="http://blah.com/piccy.jpg"> or summat ... cant rememeber the html tag off hand, but you get the idea!

S.

fmail
Normal user
Normal user
Posts: 159
Joined: 2009-01-02 18:21
Location: Denmark, Aarhus

Re: Is it possible to add some graphic(jpg, png, or other) to th

Post by fmail » 2010-01-27 21:21

Thanks :)

Tezcatlipoca
Senior user
Senior user
Posts: 309
Joined: 2009-07-21 12:33

Re: Is it possible to add some graphic(jpg, png, or other) to th

Post by Tezcatlipoca » 2010-01-28 13:13

In the HTML signature, it's just bog standard HTML markup language. For example, my users get this code at the bottom of their HTML signature (all text contained in [squared brackets] are edits that hav ebeen done for purposes of privacy):

Code: Select all

<a href="http://www.[our company website].com"><img src="http://www.[our company website].com/images/sig-logo.gif" border="0" alt="[our company]"></a>
This pulls the .gif logo image off our website, places at the bottom of our HTML signatures and turns the logo into a hyperlink to our website.

If you only want a logo, you just need the <img src="http://www.[our company website].com/images/sig-logo.gif" border="0" alt="[our company]"> bit of the code.

fmail
Normal user
Normal user
Posts: 159
Joined: 2009-01-02 18:21
Location: Denmark, Aarhus

Re: Is it possible to add some graphic(jpg, png, or other) to th

Post by fmail » 2010-01-30 15:51

Hmmm :roll:

I cant get the html signature to work? If entering something it's not showing up?
If using plan text it work?

User avatar
martin
Developer
Developer
Posts: 6834
Joined: 2003-11-21 01:09
Location: Sweden
Contact:

Re: Is it possible to add some graphic(jpg, png, or other) to th

Post by martin » 2010-01-30 17:48

Is there a HTML part of the message? hMailServer won't add a HTML signature otherwise.

User avatar
sheffters
Senior user
Senior user
Posts: 453
Joined: 2009-07-01 20:46
Contact:

Re: Is it possible to add some graphic(jpg, png, or other) to th

Post by sheffters » 2010-01-30 22:58

if your using outlook make sure your using html format and not rich text ... looks the same on the screen so hard to tell

S.

fmail
Normal user
Normal user
Posts: 159
Joined: 2009-01-02 18:21
Location: Denmark, Aarhus

Re: Is it possible to add some graphic(jpg, png, or other) to th

Post by fmail » 2010-01-31 10:02

@Martin.

When you ask html part of the mail?

A simple test:
I add the html signature to hm
Then I send a mail from that account there have the signature.
Then I get the new message, and in Mozilla I use ctrl-u to look at the code in the message.
This is the type: "Content-Type: text/plain;" hmmm?
There are no signature in the mail!

Suggest?

^DooM^
Site Admin
Posts: 13861
Joined: 2005-07-29 16:18
Location: UK

Re: Is it possible to add some graphic(jpg, png, or other) to th

Post by ^DooM^ » 2010-01-31 11:46

If the email from the client is sent in plain text then hmail will not add the html signature.
If at first you don't succeed, bomb disposal probably isn't for you! ヅ

fmail
Normal user
Normal user
Posts: 159
Joined: 2009-01-02 18:21
Location: Denmark, Aarhus

Re: Is it possible to add some graphic(jpg, png, or other) to th

Post by fmail » 2010-01-31 13:57

Hmmm. Why is it not possible to force hm to add the html signature.

^DooM^
Site Admin
Posts: 13861
Joined: 2005-07-29 16:18
Location: UK

Re: Is it possible to add some graphic(jpg, png, or other) to th

Post by ^DooM^ » 2010-02-01 00:44

Because it's down to the client how they want their email sent. Set the client to send as both plain and html. Thunderbird does this by default.
If at first you don't succeed, bomb disposal probably isn't for you! ヅ

fmail
Normal user
Normal user
Posts: 159
Joined: 2009-01-02 18:21
Location: Denmark, Aarhus

Re: Is it possible to add some graphic(jpg, png, or other) to th

Post by fmail » 2010-02-01 09:52

Hello.

All this thread is according hm : 5.3.2 (Build 1761)
Some confusing, when you write that thunderbird native send as text & html, why is there no html signature in my mail?
If entering a signature in plan text it show up, but if i using html nothing is showing up.
In both situation, if i use show code in thunderbird it show "Content-Type: text/plain;"
Maybe I do something wrong but i dont know what?

Tezcatlipoca
Senior user
Senior user
Posts: 309
Joined: 2009-07-21 12:33

Re: Is it possible to add some graphic(jpg, png, or other) to th

Post by Tezcatlipoca » 2010-02-02 13:26

Some confusing, when you write that thunderbird native send as text & html, why is there no html signature in my mail?
If I understand this correctly, you are asking why the signature doesn't appear when you're typing the email? The reason for this is that the signature isn't attached until you send the mail and it passes through hMail, so there's nothing to show whilst typing it.
You can test this by sending yourself an email. Your signature should show up correctly, either in plain text or HTML depending on your settings.

I personally use Thunderbird as my email client at work, whilst my users all run Outlook 2003. In both cases, my hMail is setup to include both a plain text signature and an HTML signature.
I use GP (Group Policy) to both lock out local signatures from Outlook, and to force all Outlooks to operate in full HTML mode.
When a user sends an email, either internally or externally, hMail server attaches both signatures. If the receiving client is set read HTML it sees the HTML signature, if the client is set to non-HTML it sees the plain text one.

Thunderbird, as ^D00M^ says, sends both by default, but you can force one of the other from the Tools, Format section.
If entering a signature in plan text it show up, but if i using html nothing is showing up.
Could be a problem with the HTML. Coudl you please copy the HTML code from your hMail and paste it here? We'll be able to tell you if there's an issue with it.

fmail
Normal user
Normal user
Posts: 159
Joined: 2009-01-02 18:21
Location: Denmark, Aarhus

Re: Is it possible to add some graphic(jpg, png, or other) to th

Post by fmail » 2010-02-02 18:43

Thanks for reply.

Surly I know it is hm there producing the signature!

The problem is maybe the html code I use. How will a simple complete working html signature look like?

Tezcatlipoca
Senior user
Senior user
Posts: 309
Joined: 2009-07-21 12:33

Re: Is it possible to add some graphic(jpg, png, or other) to th

Post by Tezcatlipoca » 2010-02-02 19:23

fmail wrote:Thanks for reply.

Surly I know it is hm there producing the signature!

The problem is maybe the html code I use. How will a simple complete working html signature look like?
A simple HTML signature could be something like this:

Code: Select all

<html>
<head>
<title>Message</title>
</head>
<body>
<p>Tezcatlipoca<br />
<i>hMail User</i></p>
</body>
</html>
Since this is all just standard HTML markup, you can make them a lot more complicated if you like, including images, links, and so on, but it's best to keep it simple at first to make sure it starts working. You can build on it later.

fmail
Normal user
Normal user
Posts: 159
Joined: 2009-01-02 18:21
Location: Denmark, Aarhus

Re: Is it possible to add some graphic(jpg, png, or other) to th

Post by fmail » 2010-02-02 20:39

Thanks for your help, it work. But still not what I want.

I want to add html signature to all mail sent form some domains, but it wont work. @^DooM^ told in this thread that I must use html in my mail for the html signature will work. I dont know if some person use html or not. Therefore some mail is assigned with text and someone with html.
I give up.

Tezcatlipoca
Senior user
Senior user
Posts: 309
Joined: 2009-07-21 12:33

Re: Is it possible to add some graphic(jpg, png, or other) to th

Post by Tezcatlipoca » 2010-02-03 10:00

fmail wrote:I dont know if some person use html or not. Therefore some mail is assigned with text and someone with html. I give up.
That's right. You have no control over how the people receiving the mail choose to view it; it's up to them if they want to view it in HTML or not.

Post Reply