Gnus development mailing list
 help / color / mirror / Atom feed
* How to send an HTML-only message?
@ 2011-09-09 12:55 XeCycle
  2011-09-09 13:13 ` Eric Abrahamsen
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: XeCycle @ 2011-09-09 12:55 UTC (permalink / raw)
  To: ding

[-- Attachment #1: Type: text/plain, Size: 499 bytes --]

Hi there, I want to send HTML messages --- but don't flame me now --- to
my blogger, for easier publishing.

I Googled and found the same topic discussed in 2008, but the answer is
not clear.  That guy mentioned Muse and more, but I want to write HTML
code directly in the message buffer and send it.  How to make it?

-- 
Carl Lei (XeCycle)
Department of Physics, Shanghai Jiao Tong University
OpenPGP public key: 7795E591
Fingerprint: 1FB6 7F1F D45D F681 C845 27F7 8D71 8EC4 7795 E591

[-- Attachment #2: Type: application/pgp-signature, Size: 489 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: How to send an HTML-only message?
  2011-09-09 12:55 How to send an HTML-only message? XeCycle
@ 2011-09-09 13:13 ` Eric Abrahamsen
  2011-09-09 18:45   ` XeCycle
  2011-09-09 13:13 ` Glyn Millington
  2011-09-09 13:26 ` Adam Sjøgren
  2 siblings, 1 reply; 5+ messages in thread
From: Eric Abrahamsen @ 2011-09-09 13:13 UTC (permalink / raw)
  To: ding

[-- Attachment #1: Type: text/plain, Size: 670 bytes --]

On Fri, Sep 09 2011, XeCycle wrote:

> Hi there, I want to send HTML messages --- but don't flame me now --- to
> my blogger, for easier publishing.
>
> I Googled and found the same topic discussed in 2008, but the answer is
> not clear.  That guy mentioned Muse and more, but I want to write HTML
> code directly in the message buffer and send it.  How to make it?

In a message composition buffer you can use the MML tag system to
include an HTML "part" -- or have the whole message consist of HTML. In
an empty message hit "C-c RET p", then pick text/html. You'll get a tag
like this (this might actually put html into my message, don't know if
it works over nntp):


[-- Attachment #2: Type: text/html, Size: 92 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: How to send an HTML-only message?
  2011-09-09 12:55 How to send an HTML-only message? XeCycle
  2011-09-09 13:13 ` Eric Abrahamsen
@ 2011-09-09 13:13 ` Glyn Millington
  2011-09-09 13:26 ` Adam Sjøgren
  2 siblings, 0 replies; 5+ messages in thread
From: Glyn Millington @ 2011-09-09 13:13 UTC (permalink / raw)
  To: ding

XeCycle <xecycle@gmail.com> writes:

> Hi there, I want to send HTML messages --- but don't flame me now ---
> to my blogger, for easier publishing.
>
> I Googled and found the same topic discussed in 2008, but the answer
> is not clear.  That guy mentioned Muse and more, but I want to write
> HTML code directly in the message buffer and send it.  How to make it?

I find this quite handy but it has nothing to do with gnus!


https://github.com/punchagan/org2blog

More on org and blogging here:-

http://emacs-fu.blogspot.com/2009/05/writing-and-blogging-with-org-mode.html




atb


Glyn




^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: How to send an HTML-only message?
  2011-09-09 12:55 How to send an HTML-only message? XeCycle
  2011-09-09 13:13 ` Eric Abrahamsen
  2011-09-09 13:13 ` Glyn Millington
@ 2011-09-09 13:26 ` Adam Sjøgren
  2 siblings, 0 replies; 5+ messages in thread
From: Adam Sjøgren @ 2011-09-09 13:26 UTC (permalink / raw)
  To: ding

<!DOCTYPE html>
<html>
  <body>
<p>
  <em>On Fri, 09 Sep 2011 20:55:30 +0800, XeCycle wrote:</em>
</p>

<blockquote style="border-left: 2px solid red; padding-left: 1.5em">
I want to write HTML code directly in the message buffer and send it.
How to make it?
</blockquote>

<p>
As long as you add the proper <a style="font-size: large; color: blue" href="http://www.ietf.org/rfc/rfc2045.txt">Content-type:</a> it should <span style="font-family: Comic Sans, fantasy">just work</span>?
</p>

<p style="text-align: center">
  Best regards,
</p>
<p style="text-align: center; color: green">
    Adam
</p>

<pre>
-- 
 "What do you feel                                            Adam Sjøgren
  When you let go of the wheel"                          asjo@koldfront.dk
</pre>
  </body></html>




^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: How to send an HTML-only message?
  2011-09-09 13:13 ` Eric Abrahamsen
@ 2011-09-09 18:45   ` XeCycle
  0 siblings, 0 replies; 5+ messages in thread
From: XeCycle @ 2011-09-09 18:45 UTC (permalink / raw)
  To: ding

[-- Attachment #1: Type: text/plain, Size: 718 bytes --]

Eric Abrahamsen <eric@ericabrahamsen.net> writes:

[...]

> In a message composition buffer you can use the MML tag system to
> include an HTML "part" -- or have the whole message consist of HTML. In
> an empty message hit "C-c RET p", then pick text/html. You'll get a tag
> like this (this might actually put html into my message, don't know if
> it works over nntp):
>
> Some HTML text, unless it doesn't work.

Thank you, this is it.  It works fine if the whole mail is in HTML,
without generating the multipart/mixed stuff.

-- 
Carl Lei (XeCycle)
Department of Physics, Shanghai Jiao Tong University
OpenPGP public key: 7795E591
Fingerprint: 1FB6 7F1F D45D F681 C845 27F7 8D71 8EC4 7795 E591

[-- Attachment #2: Type: application/pgp-signature, Size: 489 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2011-09-09 18:45 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-09-09 12:55 How to send an HTML-only message? XeCycle
2011-09-09 13:13 ` Eric Abrahamsen
2011-09-09 18:45   ` XeCycle
2011-09-09 13:13 ` Glyn Millington
2011-09-09 13:26 ` Adam Sjøgren

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).