sorry, I didn't make it clear, I'm sending as an email attachment
message = mail.EmailMessage()
...
message.attachments = [('meeting.ics', cal.as_string())]
message.send()
cal is an icalender.Calendar object
On Apr 8, 1:43 am, "Ikai L (Google)" <[email protected]> wrote:
> You should be able to set the content type header on a response. Can you
> post your code if you're doing this and it isn't happening?
>
>
>
>
>
> On Wed, Apr 7, 2010 at 3:10 AM, Ron <[email protected]> wrote:
> > when sending an ics attachment with meeting information
>
> > the header that comes through for the part is like this
> > Content-Type: text/calendar
> > MIME-Version: 1.0
> > Content-Disposition: attachment; filename="meeting.ics"
>
> > but it needs to be like this
> > Content-Type: text/calendar; charset=utf-8; method=REQUEST;
> > name=meeting.ics
>
> > so that the email client can pick it up as a meeting request
>
> > is it possible to do this?
>
> > Thanks
> > Ron
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "Google App Engine" group.
> > To post to this group, send email to [email protected].
> > To unsubscribe from this group, send email to
> > [email protected]<google-appengine%2Bunsubscrib
> > [email protected]>
> > .
> > For more options, visit this group at
> >http://groups.google.com/group/google-appengine?hl=en.
>
> --
> Ikai Lan
> Developer Programs Engineer, Google App
> Enginehttp://googleappengine.blogspot.com|http://twitter.com/app_engine
--
You received this message because you are subscribed to the Google Groups
"Google App Engine" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-appengine?hl=en.