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

Getting a parse error when trying to send email using Zend Mail? Why?

Hi guys for some weird reason I'm unable to send email using zend mail :( - I keep getting the following error: Parse error: syntax error, unexpected T_VARIABLE, expecting T_STRING in…
Ali
  • 7,353
  • 20
  • 103
  • 161
0
votes
1 answer

zend-mail fails due to connected party did not properly respond

I used php zend-mail to send emails. The codes worked fine before I moved to a new network environment. the php zend-mail codes I used are: $mail = new Zend_Mail('UTF-8'); $mail->addTo($toemail, "{".$toname ."}"); $mail->setSubject($subject) ;…
user2818066
  • 618
  • 2
  • 8
  • 19
0
votes
2 answers

zend mail attachment is not working

i am using zend mail for mailing purpose in my web site. In this mail i add a image attachment function. The mail sent successfully but i can't view image from my inbox. They said that unsupported file format. This is my code $attach_path =…
deepu sankar
  • 4,335
  • 3
  • 26
  • 37
0
votes
2 answers

Zend Mail - bouncing mails not returning to the specified "Return-Path"

i'm working on a simple mail list app in PHP using Zend Mail. The idea is that all mail that bounce is redirected to a script which processes them and a report is generated. The script is running ok in direct tests, but I've testing it with fake…
Leprosy
  • 1,085
  • 4
  • 14
  • 36
0
votes
1 answer

How do I verify that Zend\Mail has an open IMAP Stream?

My host company will not enable the IMAP extension on our web server so I cannot utilize IMAP functions. I am trying to use Zend\Mail as a replacement, but I have been unable to map out a one to one ratio of native IMAP functions with Zend\Mail…
mittra
  • 29
  • 1
  • 11
0
votes
1 answer

Issues with sending mail via php

In our site whole business model depends on email exchange. We are using zend_mail for send email / notification to our customers. We are facing some issues with email delivery, listed below - Sometimes it stops sending email to anyone and starts…
Hello Python
  • 110
  • 2
  • 13
0
votes
1 answer

Zend Stack Trace not showing up due to fatal error

I have a Zend 1.11 application that is giving me a similar fatal error when any error exists The Error is as follows: Fatal error: Uncaught exception 'Zend_Mail_Protocol_Exception' with message 'No connection could be made because the target…
6elephants
  • 323
  • 3
  • 11
0
votes
1 answer

Weird error on sending SMTP mail using ZF mail 2.2.4

Using this code : include('vendor/autoload.php'); use Zend\Mail\Message; use Zend\Mail\Transport\Smtp as SmtpTransport; use Zend\Mail\Transport\SmtpOptions; $message = new Message(); $message->addTo('email to') ->addFrom('email from') …
Dusan Malic
  • 231
  • 4
  • 15
0
votes
1 answer

Include only Zend Framework 2.2.4 Mail lib

On lot of old posts the answer was just to go include('full path to zend lib/Some lib.php'); but in zend 2.2.4 in one module there is lot of dirs and subdirs I don't think it would be good to include all of that. Also saw lot of…
Dusan Malic
  • 231
  • 4
  • 15
0
votes
1 answer

SMTP protocol issue with Zend_Mail

I'm trying to send some emails via GMail SMTP and the CC and BCC lines are not receiving the email. I've tested GMail SMTP with Evolution (Linux email client), which works fine, though I could not get a raw dump of the communication because it's via…
Toxygene
  • 487
  • 3
  • 10
0
votes
4 answers

Send thousands of emails via Amazon SES

I am using Amazon SES to send emails with Zend_Mail and authenticating via SMTP. So far so quiet, but I need to send 20,000 emails, and plan Amazon can already send 35 e-mails per second. The question I have to do something close to 570 requests to…
Ivan Celso
  • 41
  • 1
  • 4
0
votes
1 answer

Zend Mail Storage encoding polish chars

I want to get emails from imap using Zend_Mail_Storage_Imap. When I get content I can't see polish chars. Mail: coś tam coś tam Content using Zend_Mail_Message: co=B6 tam co=B6 tam My code: foreach($imap as $messageNum=>$message) { …
kamil
  • 23
  • 5
0
votes
0 answers

Magento Zend Mail using Google SMTP

I'm having troubles with mail sending in Magento: simply emails are not being sent in case of customer registration, order confirmation ecc. I checked the exception log and this is what I found: exception 'Zend_Mail_Protocol_Exception' with…
stebcom
  • 119
  • 1
  • 2
  • 5
0
votes
1 answer

How to change default mail sender (alias/via) when using Zend_Mail? i.e. remove "via" in gmail

When I send email using Zend Mail using the following code: $to = array("email1@gmail.com","email2@hotmail.com","email3@yahoo.com"); $msg = file_get_contents("email.html"); $mail = new Zend_Mail ( "UTF-8" ); …
Shehabic
  • 6,787
  • 9
  • 52
  • 93
0
votes
0 answers

what transport to use for zend mail Zend_Mail_Transport_Sendmail or Zend_Mail_Transport_Smtp

Could you please tell when to use Zend_Mail_Transport_Sendmail and when to use Zend_Mail_Transport_Smtp for Zend Mail? What are the benefits of one over another? What is better from the perfomance point of view, for example? If I need to send many…
Oleg
  • 2,733
  • 7
  • 39
  • 62
1 2 3
12
13