Questions tagged [zend-mail]

Zend_Mail provides generalized functionality to compose and send both text and MIME-compliant multipart e-mail messages.

Zend framework has its own library that has many class to make application easy and sophisticated. Zend mail is a library that is used to send the mail. It has its class and methods that are used to send the mail.

Code on Github

Documentation

195 questions
3
votes
2 answers

MIME "multipart/related" Structure and Apple Mail. Is it a Bug?

I build a E-Mail with PHP Zend Framework Class Zend_Mail. There is one text- and one html-part with related inline-images. I want to attach one pdf-file too. My question is about the mime-structure. Two options are possible: option 1: Content-Type:…
Stephan
  • 1,246
  • 8
  • 16
3
votes
4 answers

Zend_Mail will not send bcc to sender address

I have a problem, when I want to send mail to a customer and also to the admins. The problem is, that the customer receives the mail, but the bcc will not if the from = bcc. Is there any setting I have missed? Could this be a server issue, or a…
Gergely Havlicsek
  • 1,581
  • 1
  • 19
  • 29
3
votes
3 answers

Handling undelivered emails using Zend Mail

I'm sending newsletter using Zend Mail. I have used setReturnPath() to put all undelivered mail notifications in one place. And what now? How to get the list of addresses which were unreachable? How do I read and parse the returned…
Sfisioza
  • 3,830
  • 6
  • 42
  • 57
3
votes
2 answers

How can I mark an email as important?

I am using PHP with the Zend-Framework to create emails. How can I mark the email as important? Outlook will show a red "!" if it is marked right.
user63371
  • 539
  • 4
  • 7
  • 17
3
votes
2 answers

Zend_Mail - read Gmail messages via POP

I am trying to read my Gmail account with Zend_Mail. The request just seems to time out. Is there an issue with my $config? public function indexAction() { $config = array( 'host'=> 'pop.gmail.com', 'user' => 'xxx', …
emeraldjava
  • 10,894
  • 26
  • 97
  • 170
3
votes
5 answers

Zend Mail - how to read without emails being marked as opened

I'm using zend mail extended with zend_mail_storage_imap and I built an application that looks for keywords in user's emails. The problem is that it opens up each email and keeps it marked as read. Is there a way to check the body of emails and not…
Bob Cavezza
  • 2,810
  • 7
  • 38
  • 56
3
votes
1 answer

Fetching emails from Gmail as mbox format in Zend Mail

I am working on an email project using Zend Mail. I have successfully fetched all folders of Gmail with emails and attachments. But I cannot figure out how to download emails as mbox format? Do I need to use file handling to create mbox or there is…
3
votes
2 answers

Zend_Mail fail to send email, output message : Connection timeout

I try to write codes about sending email using Zend Framework. Here is the code, $mail = new Zend_Mail('utf-8'); $mailConfig = array( 'auth'=> 'login', 'username' => 'sample@gmail.com', 'password' => 'samplepassword', 'ssl' => 'tls', 'port' …
Willy
  • 9,681
  • 5
  • 26
  • 25
3
votes
2 answers

Unable to send email in Zend using gmail SMTP. Getting Fatal error: Uncaught exception 'Zend_Mail_Protocol_Exception'. How to fix this?

I am trying to send email using Gmail SMTP. Following is my code. $mail = new Zend_Mail(); $config = array( 'ssl' => 'ssl', 'port' => '465', 'auth' => 'login', 'username' =>…
biswa
  • 56
  • 1
  • 1
  • 6
3
votes
2 answers

Zend_Mail generateMessage() causes Fatal error: Call to a member function getContent() on a non-object

I am sending emails using the Zend_Mail_Transport_Smtp. The sending part works fine, however, I am struggling trying to copy the email to the 'Sent' folder of the sending email account. When generating the message from the Zend_Mail, I keep getting…
Emtres
  • 31
  • 2
3
votes
1 answer

PHP IMAP POP forwarding script sends image attachments changed somehow

I am running a script to log into an IMAP/POP mailbox, forward the content to a new email address, and then remove them from the mailbox. It's almost working now, except that for some odd, inexplicable reason, forwarded attached images that are send…
Nimloc
  • 73
  • 1
  • 6
3
votes
0 answers

Zend_Mail multipart/mixed inline images and pdf attachment

I want to send an email using Zend which will have few inline images and a pdf file as attachment, the code of the email should look something like this: From - Wed Apr 18 12:09:29 2012 [...] Content-Type: multipart/mixed;…
Okizb
  • 99
  • 1
  • 15
2
votes
4 answers

I get following error when sending a mail using zend frame work. I also included my code

Fatal error: Uncaught exception 'Zend_Controller_Dispatcher_Exception' with message 'Invalid controller specified (error)' in C:\xampp\htdocs\zend\library\Zend\Controller\Dispatcher\Standard.php:248 Stack trace: #0…
k1r4
  • 25
  • 6
2
votes
1 answer

Zend_Mail send and Zend_Progressbar

Does anybody know a good example how to send mail with attachments and display a progressbar in JavaScript (jQuery)?
JokerDark2
  • 97
  • 2
  • 7
2
votes
2 answers

PHP - Bulk mailing and checking for server responses

We send a lot of emails to a lot of our users (ranges in 20k+ per day). One of the major problems we face are invalid or dead emails - sometimes our users delete their accounts, change their email address without updating their profile, or our email…
Swader
  • 11,387
  • 14
  • 50
  • 84
1 2
3
12 13