Zend Framework

Mime Message Generation is not generic/flexible

Details

  • Type: Improvement Improvement
  • Status: Open Open
  • Priority: Major Major
  • Resolution: Unresolved
  • Affects Version/s: 1.0.0 RC1
  • Fix Version/s: Next Major Release
  • Component/s: Zend_Mime
  • Labels:
    None
  • Fix Version Priority:
    Nice to Have

Description

I've been using Zend_Mime to generate MM7 messages for MMS distribution and encountered that the module lacks genericness and is very specific to Email.

1) $body = 'This is a message in Mime Format. If you see this, '
. "your mail reader does not support this format." . $EOL;

Why should a generic MIME message be tied to Email? IMO, this line should be removed.

2) Mime_Message::generateMessage does not generate the multipart header info for the overall message. This is missing too.

3) I have seen this issue in the mailing lists before, but there should be an interface to create nested, generic mime messages.

4) Separation of Zend_Mime and Zend_Mime_Message is unclear.

Activity

Hide
Bill Karwin added a comment -

Assign to Nico.

Show
Bill Karwin added a comment - Assign to Nico.
Hide
Nico Edtinger added a comment -

Depends on merging with Zend_Mail_Message, which is planed after 1.0

ad 1)
This message will only be displayed by "clients" (programs, ...), that unterstand the mail message format (RFC 822), but not MIME. AFAIK only old or very minimal mail clients do this. MMS clients, et cetera should ignore it - it's called discard-text in RFC 2046.

ad 3)
It is possible to create nested multipart messages. But it seems it's not so clear how. This will be fixed with the merge with Zend_Mail_Message.

Show
Nico Edtinger added a comment - Depends on merging with Zend_Mail_Message, which is planed after 1.0 ad 1) This message will only be displayed by "clients" (programs, ...), that unterstand the mail message format (RFC 822), but not MIME. AFAIK only old or very minimal mail clients do this. MMS clients, et cetera should ignore it - it's called discard-text in RFC 2046. ad 3) It is possible to create nested multipart messages. But it seems it's not so clear how. This will be fixed with the merge with Zend_Mail_Message.
Hide
Satoru Yoshida added a comment -

It seems to be one of issues for next major release (2.0) for me

Show
Satoru Yoshida added a comment - It seems to be one of issues for next major release (2.0) for me

People

Vote (1)
Watch (1)

Dates

  • Created:
    Updated: