make html/tabs working in email ?
6 Message(s) by 3 Author(s) originally posted in java help
| From: chunji08 |
Date: Tuesday, October 09, 2007
|
Hi all,
I have such things in my Ant script to send a daily report to my
group
member,
"
<target name="email_2_team">
<mail from="chunj...@xxxxxxxxxxx"
tolist="team_...@xxxxxxxxxxx"
subject="Today's migration results "
messagemimetype="text/html"
messagefile="migrate.html"/>
</target>
"
Since the report becomes more and more complicated, I am just
wondering if I could put some tabs in that html file, so that when
they
open their email in ms/outlook, or any IE, Mozilla, they may
click the tabs and see results page by page ?
Can someone give me some advise if it is possible ? How to put it in
one html file, if so? Any simple example will be very helpful !Thanks a lot !Chun
| From: Roedy Green |
Date: Tuesday, October 09, 2007
|
wrote in message, quoted
or indirectly quoted someone who said :
Since the report becomes more and more complicated, I am just
wondering if I could put some tabs in that html file, so that when
they open their email in ms/outlook, or any IE, Mozilla, they may
click the tabs and see results page by page ?
Given you've no
control over the html
rendering in email
browser s,
and that some do not have any at all, I think it'd be safest to
send an
URL to
website that implements the tabs. Then you only need
deal with the major browsers which are much more likely to be
compliant than mailreaders.
--
Roedy
Green Canadian Mind Products
The JAVA Glossary
http://mindprod.com
| From: Andrew Thompson |
Date: Wednesday, October 10, 2007
|
wrote in message:
Since the report becomes more and more complicated, I am just
wondering if I could put some tabs in that html file, so that when
they open their email in ms/outlook, or any IE, Mozilla, they may
click the tabs and see results page by page ?
Given you've no control over the html rendering in email browsers,
and that some do not have any at all, I think it'd be safest to
send an URL to website that implements the tabs. Then you only need
deal with the major browsers which are much more likely to be
compliant than mailreaders.
Since the tab
character means nothing in the
context of
HTML , a compliant browser should completely ignore it
(or more probably,
compact it
down to a single 'white space'
character).
Indents in HTML are better done using styles, or the PRE
element (using spaces for separation). Alignment can be
better achieved with an HTML
TAB LE.
--
Andrew Thompson
http://www.athompson.info/andrew/
Message posted via
http://www.JAVAkb.com
| From: Roedy Green |
Date: Friday, October 12, 2007
|
On Wed, 10 Oct 2007 04:56:22 GMT, "Andrew Thompson"
<u32984@xxxxxxxxxxx>
wrote in message, quoted or indirectly quoted someone who said :
Since the tab character means nothing in the context of
HTML, a compliant browser should completely ignore it
(or more probably, compact it down to a single 'white space'
character).
I do not think he means tab characters; he means tabs as in
folder
labels or JTabbedPane tabs.
--
Roedy Green Canadian Mind Products
The JAVA Glossary
http://mindprod.com
| From: chunji08 |
Date: Monday, October 15, 2007
|
On Oct 12, 6:33 pm, Roedy Green
<see_webs...@xxxxxxxxxxx>
wrote in message:
On Wed, 10 Oct 2007 04:56:22 GMT, "Andrew Thompson" <u32984@xxxxxxxxxxx>
wrote in message, quoted or indirectly quoted someone who said :
>Since thetabcharacter means nothing in the context of
>HTML, a compliant browser should completely ignore it
>(or more probably, compact it down to a single 'whitespace'
>character).
I do not think he meanstabcharacters; he means tabs as in folder
labels or JTabbedPane tabs.
--
Roedy Green Canadian Mind Products
The JAVA Glossaryhttp://mindprod.com
Thank you Roedy and Andrew,
yes, I am looking for those tabs as if the folder labels. These days,
some of my group members becomes kind of lazy that if you do not
present everything in front of them, they wouldn't bother to click
their mouse for just once to check the URL
link .
That is why my original idea was to give them everything in just one
html file.
But after three days' research, my feeling is a link to a URL will be
a reasonable way to do.
< Maybe one day email becomes so powerful that
I can record my voice-mail with it to instruct them what to do when
them open the e-mail -:) >
Thanks all for these tips.Chun.
| From: Andrew Thompson |
Date: Monday, October 15, 2007
|
wrote in message:
...
...< Maybe one day email becomes so powerful that
I can record my voice-mail with it to instruct them what to do when
them open the e-mail -:) >
Then how do you get the
end-user to open the (email
client and then the) email? Telepathy? ;-)
Andrew T.
Next Message: Progress Dialog Help