Right. I got that to work too. But I wonder if how you can do inline html
with images. E.g. assume I want to send the message with an embedded image:

<h1>Welcome</h1>
Please welcome Mr. Tux:<p/>
<img src="tux.png"><p/>
He'll be your server tonight.


The following straightforward way does *not* work. (Not even the HTML comes
out ok). So is there any way of doing it properly?

openchangeclient -p=testdov --to="[email protected]" --subject="Mr.
Tux" --html-inline="<html><body><h1>Welcome</h1>Please welcome Mr.
Tux:<p><img src='tux.png'><p>He'll be your server tonight.</body></html>"
--attachments="tux.png" --sendmail

Thanks!
Dov

On Mon, Nov 15, 2010 at 00:02, Brad Hards <[email protected]> wrote:

> On Sunday, November 14, 2010 11:27:51 pm Dov Grobgeld wrote:
> > So my question is whether "openchangeclient --sendmail" currently
> supports
> > this? Could someone provide an example.
> From the man page:
> Send email with attachments:
>  openchangeclient --database=/tmp/profiles.ldb --profile=2000
>        --to=Adm --subject="Attachments"
>        --attachments="/tmp/file1.jpg;/tmp/file2.jpg;tmp/file2.jpg"
>        --body="These are sample attachments"
>        --sendmail
>
>  The example above will send a  UTF8  body  mail  to  Administrator  and
>  attach file1,jpg, file2.jpg and file3.jpg to the email.
>
>
> If that doesn't work, please file a bug report.
>
> Brad
>
_______________________________________________
devel mailing list
[email protected]
http://mailman.openchange.org/listinfo/devel

Reply via email to