Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #25921

Re: Python and Outlook, sendinf an image in the body of email

Path csiph.com!usenet.pasdenom.info!aioe.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed5.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <python-python-list@m.gmane.org>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.001
X-Spam-Evidence '*H*': 1.00; '*S*': 0.00; 'subject:Python': 0.05; 'python': 0.09; 'nameerror:': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'library': 0.15; 'message- id:@dough.gmane.org': 0.16; 'received:173.11': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'subject:Outlook': 0.16; 'subject:image': 0.16; 'traceback.': 0.16; 'defined': 0.22; 'example': 0.23; 'bruce': 0.23; 'tried': 0.25; 'header:In-Reply-To:1': 0.25; 'header:User-Agent:1': 0.26; '(most': 0.27; 'header:X-Complaints-To:1': 0.28; '(possibly': 0.29; "skip:' 10": 0.30; 'basic': 0.30; 'error': 0.30; 'traceback': 0.33; 'problem': 0.33; 'to:addr:python-list': 0.33; 'similar': 0.35; 'something': 0.35; 'received:org': 0.36; 'visual': 0.36; 'anything': 0.36; 'should': 0.36; 'subject:: ': 0.38; 'skip:o 20': 0.38; 'some': 0.38; 'to:addr:python.org': 0.39; 'header:Received:5': 0.40; 'subject:, ': 0.61; 'email addr:gmail.com': 0.63
X-Injected-Via-Gmane http://gmane.org/
To python-list@python.org
From Emile van Sebille <emile@fenx.com>
Subject Re: Python and Outlook, sendinf an image in the body of email
Date Mon, 23 Jul 2012 14:02:23 -0700
References <641dab69-9782-4bf3-8a01-34237c4f189a@googlegroups.com> <22e9b14a-d660-4ec9-a67b-0fcdc9ef1463@googlegroups.com>
Mime-Version 1.0
Content-Type text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding 7bit
X-Gmane-NNTP-Posting-Host 173-11-108-137-sfba.hfc.comcastbusiness.net
User-Agent Mozilla/5.0 (Windows NT 5.1; rv:13.0) Gecko/20120614 Thunderbird/13.0.1
In-Reply-To <22e9b14a-d660-4ec9-a67b-0fcdc9ef1463@googlegroups.com>
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.12
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.2498.1343077226.4697.python-list@python.org> (permalink)
Lines 23
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1343077226 news.xs4all.nl 6962 [2001:888:2000:d::a6]:60006
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:25921

Show key headers only | View raw


On 7/23/2012 11:33 AM bruceg113355@gmail.com said...
> I tried something similar to the example at http://stackoverflow.com/questions/4312687/how-to-embed-images-in-email .
>
> Problem is, this line is not understood:
>         mail.BodyFormat = OlBodyFormat.olFormatHTML

If I read the example properly, this is bvisual basic and should result 
in some form of visual basic error (possibly library related) if 
anything and not a python traceback.

Emile

>
>      Traceback (most recent call last):
>        ...
>        appt.BodyFormat = OlBodyFormat.olFormatHTML
>      NameError: name 'OlBodyFormat' is not defined
>
> Bruce
>


Back to comp.lang.python | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

Python and Outlook, sendinf an image in the body of email bruceg113355@gmail.com - 2012-07-23 10:19 -0700
  Re: Python and Outlook, sendinf an image in the body of email Ian Kelly <ian.g.kelly@gmail.com> - 2012-07-23 12:11 -0600
  Re: Python and Outlook, sendinf an image in the body of email bruceg113355@gmail.com - 2012-07-23 11:33 -0700
    Re: Python and Outlook, sendinf an image in the body of email python@bdurham.com - 2012-07-23 16:20 -0400
    Re: Python and Outlook, sendinf an image in the body of email Ian Kelly <ian.g.kelly@gmail.com> - 2012-07-23 14:32 -0600
      Re: Python and Outlook, sendinf an image in the body of email bruceg113355@gmail.com - 2012-07-23 14:24 -0700
      Re: Python and Outlook, sendinf an image in the body of email bruceg113355@gmail.com - 2012-07-23 14:24 -0700
        Re: Python and Outlook, sendinf an image in the body of email bruceg113355@gmail.com - 2012-07-23 17:42 -0700
        Re: Python and Outlook, sendinf an image in the body of email bruceg113355@gmail.com - 2012-07-23 17:42 -0700
    Re: Python and Outlook, sendinf an image in the body of email Emile van Sebille <emile@fenx.com> - 2012-07-23 14:02 -0700

csiph-web