Gmail ve Lotus Notes Zend Framework ile ekleri göndermek için açılamıyor

0 Cevap php

Ben Zend Framework (1.10.7) Posta kütüphane ile bir dosya göndermek için çalışıyorum.

$mail = new Zend_Mail();
$mail->setSubject('Test');
$mail->setFrom('hello@ex.com');
$mail->setBodyText ( "" );

$at = $mail->createAttachment($txtFile->toString(), 
                                'text/plain', 
                                Zend_Mime::DISPOSITION_ATTACHMENT, 
                                Zend_Mime::ENCODING_8BIT);
$mail->addTo ( "hi@you.com" );                              
$mail->send();

The file is a simple text file. It works with Outllok, I receive a proper attachment but not with Gmail and Lotus Notes.

Gmail ile ben bu mesajı var:

This is a message in Mime Format. If you see this, your mail reader does not support this format.

Lotus Notes bu diyor:

MIME content for this item is stored in attchment $RFC822.eml. Parsing MIME content failed: Incorrect format in MIME data..

Ne zerdüştlerin Posta ekleri ile yanlış?

0 Cevap