Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
I would suggest an improvement to the type of email format
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  4 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
miguel segura  
View profile  
 More options Jun 13 2012, 6:03 pm
From: miguel segura <miguelsegu...@gmail.com>
Date: Wed, 13 Jun 2012 15:03:35 -0700 (PDT)
Local: Wed, Jun 13 2012 6:03 pm
Subject: I would suggest an improvement to the type of email format
in the file CakeMail.php

function getHeaders () has the following code to change the format of
the email in line 666.

if (empty ($ this-> _attachments) | | $ this-> _emailFormat ===
'both') {
$ headers ['Content-Type'] = 'multipart / mixed; boundary = "'. $ this-

> _boundary. '"';
} elseif ($ this-> _emailFormat === 'text') {

$ headers ['Content-Type'] = 'text / plain; charset ='. $ this->
charset;
} elseif ($ this-> _emailFormat === 'html') {

$ headers ['Content-Type'] = 'text / html; charset ='. $ this->
charset;

}

suggest adding a calendar format

if ($ this-> _emailFormat === 'ics') {
$ headers ['Content-Type'] = 'text / calendar; charset ='. $ this->
charset;

}

remaining

if (empty ($ this-> _attachments) | | $ this-> _emailFormat ===
'both') {
     $ headers ['Content-Type'] = 'multipart / mixed; boundary = "'. $
this-> _boundary. '"';

} elseif ($ this-> _emailFormat === 'text') {

    $ headers ['Content-Type'] = 'text / plain; charset ='. $ this->
charset;
} elseif ($ this-> _emailFormat === 'html') {

    $ headers ['Content-Type'] = 'text / html; charset ='. $ this->
charset;
} elseif ($ this-> _emailFormat === 'ics') {

    $ headers ['Content-Type'] = 'text / calendar; charset ='. $ this-


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
mark_story  
View profile  
 More options Jun 17 2012, 8:02 pm
From: mark_story <mark.st...@gmail.com>
Date: Sun, 17 Jun 2012 17:02:08 -0700 (PDT)
Local: Sun, Jun 17 2012 8:02 pm
Subject: Re: I would suggest an improvement to the type of email format

Isn't a text/calendar just going to be a secondary part to either a
text/plain or a text/html email though?  It seems like the kind of thing
that could be better handled as an attachment with the current system.
 Instead of adding another hardcoded type, we might want to consider making
the types a more flexible name => mimetype mappings that developers can
control for their needs, and start off with a good set of commonly used
ones.

-Mark


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Andy Hobbs  
View profile  
 More options Jun 18 2012, 5:08 am
From: Andy Hobbs <a...@hobbs.uk.net>
Date: Mon, 18 Jun 2012 10:08:36 +0100
Local: Mon, Jun 18 2012 5:08 am
Subject: Re: I would suggest an improvement to the type of email format

Hi,

The calendar info has to be the main body content of the email also for
outlook and other mail programs to work correctly with them (especially to
get the invite/response functions working correctly) the content type of
the email itself has to be text/calendar also the line length of the email
is critical and suitable line folding has to occur otherwise most
email/calendar programs will fail to read the calendar appointment.

I've started writing a calendar component which will address these issues,
but it is likely to be a couple of months before I can get back to that
project.

Andy

On 18 June 2012 01:02, mark_story <mark.st...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Andy Hobbs  
View profile  
 More options Jun 18 2012, 5:10 am
From: Andy Hobbs <a...@hobbs.uk.net>
Date: Mon, 18 Jun 2012 10:10:27 +0100
Local: Mon, Jun 18 2012 5:10 am
Subject: Re: I would suggest an improvement to the type of email format

Also...

the content type header has to include other information too:

$calendarHeaders = array(
                'Content-Class' => 'urn:content-classes:calendarmessage',
                'Content-Type' => 'text/calendar; method=PUBLISH;
charset=UTF-8',
                'Content-Transfer-Encoding' => '8bit'
        );

On 18 June 2012 10:08, Andy Hobbs <a...@hobbs.uk.net> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »