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
64
votes
2 answers

How can I make email template in Zend Framework?

I want to make email templates in Zend Framework. For example, Dear {$username$},
This is a invitation email sent by your {$friend$}.
Regards,
Admin I want to make this file, get it in Zend framework, set…
Billy
  • 15,516
  • 28
  • 70
  • 101
20
votes
6 answers

what's the issue with Message-Id in email sent by php

I have suspicious message-id header of email sent by php to gmail account: Message-Id: <5100054f.a489440a.5d93.6a70SMTPIN_ADDED_MISSING@mx.google.com> Could you please tell does it have this strange format and what SMTPIN_ADDED_MISSING means here?…
Oleg
  • 2,733
  • 7
  • 39
  • 62
18
votes
4 answers

Problem when sending mail with Zend Mail?

I'm trying to send an e-mail with ZendMail ( this simple script sums it up ) setBodyText('My Nice Test Text'); $mail->setBodyHtml('My Nice Test…
Goles
  • 11,599
  • 22
  • 79
  • 140
12
votes
6 answers

magento not sending out any mails, how to debug?

Magento is not sending out any emails, transnational, contact form gives error cannot send your mail at this moment I checked Mail setup in magento, all email accounts are set in settings php mail works fine a test.php with php mail sends out a…
Ilse
  • 233
  • 1
  • 3
  • 11
12
votes
3 answers

How to Use Zend Library without installation of Zend Framework

How to use zend library without using zend framework installation? I am trying to use zend library(Mail and Mime) without zend framework installation, its not returning any error messages... but for my project i'm using Mail and Mime library…
VinothPHP
  • 821
  • 2
  • 10
  • 22
10
votes
2 answers

Zend_Mail with french characters in mail body

I'm trying to send a mail using Zend_Mail using the following code: function sendMail() { $config = array('auth' => 'login', 'username' => 'UserName', 'password' => 'Password', 'port'=>'27'); …
Songo
  • 5,618
  • 8
  • 58
  • 96
8
votes
1 answer

Can't understand why Zend_Mail::addHeader() strips newlines

(Since this is my first SO question, let me just say I hope it's not too Zend-specific. As far as I can tell this shouldn't be a problem. Although I could have posted it in a Zend-specific forum, I feel like I'm at least as likely to get a good…
LinusR
  • 1,149
  • 10
  • 17
8
votes
4 answers

Get mail source using Zend_Mail

How can I get mail source (headers, body, boundary - all together as a plain text) using Zend_Mail (POP3). It returns parsed parts by default, I need the raw message source.
Sfisioza
  • 3,830
  • 6
  • 42
  • 57
8
votes
2 answers

Is it necessary to wrap long lines when sending emails?

I'm using Zend_Mail to send emails. Few articles (like first example on this page) have suggested to wrap long lines in message body. Questions: Is it necessary to use wordwrap(), in case any of line is larger than 70 characters? Where does this…
understack
  • 11,212
  • 24
  • 77
  • 100
8
votes
2 answers

How to send an email using Zend_Mail, sendmail, and localhost?

I'm developing a zend framework application that includes a simple email function. The development version is running on my computer, which is running Ubuntu. The production version is going to run on a production server. When trying to send a test…
Andrew
  • 227,796
  • 193
  • 515
  • 708
7
votes
2 answers

Zend Framework: How to read email attachments (and save to disk)?

I am currently using Zend_Mail_Storage_Imap to read email messages using IMAP. I am able to read the email body (text and html) thanks to the documentation. Now I'm trying to figure out how to save email attachments. I can't find anything that…
Andrew
  • 227,796
  • 193
  • 515
  • 708
7
votes
1 answer

How to do batch retreival of email using Zend_Mail_Protocol_Imap or Zend_Mail_Storage_Imap

I am using Zend_Mail_Storage_Imap to access email but using following code $storage = new Zend_Mail_Storage_Imap($imap); $allIds = $storage->getUniqueId(); // i get all key value pair of meesageid and uniqueid foreach ($allIds as $k => $v) { …
Abhishek Chauhan
  • 1,984
  • 16
  • 16
6
votes
3 answers

PHP, sendmail and transports - how to speed up mail sending

I just wrote a set of bulk-emailing classes for handling enormous amounts of emails and parsing their content according to passed params. If I test an email on 1000 random recipients and 1000 random senders from my database, up until the point the…
Swader
  • 11,387
  • 14
  • 50
  • 84
6
votes
1 answer

Zend_Mail sent email is treated as SPAM

Please tell me what I am doing wrong. I am sending an email using the Zend_Mail class like this: $message = <<
Richard Knop
  • 81,041
  • 149
  • 392
  • 552
6
votes
3 answers

how to avoid email header Received: from unknown and email going to spam

I try to send email from our server using php and Zend_Mail. I use smtp transport. This is confimation email of subscribing. But for some reason email that I send has strange headers and email goes to spam folder (I see them in gmail that receive…
Oleg
  • 2,733
  • 7
  • 39
  • 62
1
2 3
12 13