Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
getting a fatal error using swiftmailer
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  11 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Diego Henrique Oliveira  
View profile  
 More options May 30 2011, 6:31 am
From: Diego Henrique Oliveira <diegoholiveira...@gmail.com>
Date: Mon, 30 May 2011 07:31:32 -0300
Local: Mon, May 30 2011 6:31 am
Subject: getting a fatal error using swiftmailer
Hey guys,

I'm getting a fatal error when i try to use swiftmailer. Take a look:

Fatal error: Call to a member function clearAll() on a non-object in
/home/diegoholiveira/projects/brasilrepublicas/vendor/swiftmailer/lib/class es/Swift/Mime/SimpleMimeEntity.php
on line 822

Does anyone know what's happening? Or how I can solve this issue?

Thanks

Diego


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Diego Henrique Oliveira  
View profile  
 More options May 31 2011, 9:38 am
From: Diego Henrique Oliveira <diegoholiveira...@gmail.com>
Date: Tue, 31 May 2011 06:38:39 -0700 (PDT)
Local: Tues, May 31 2011 9:38 am
Subject: Re: getting a fatal error using swiftmailer

Does anyone can help-me with this issue?


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Carl  
View profile  
 More options May 31 2011, 12:18 pm
From: Carl <carl.par...@gmail.com>
Date: Tue, 31 May 2011 09:18:21 -0700 (PDT)
Local: Tues, May 31 2011 12:18 pm
Subject: Re: getting a fatal error using swiftmailer

Which version of Swiftmailer are you using?


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Diego Henrique Oliveira  
View profile  
 More options Jun 1 2011, 10:55 pm
From: Diego Henrique Oliveira <diegoholiveira...@gmail.com>
Date: Wed, 1 Jun 2011 23:55:59 -0300
Local: Wed, Jun 1 2011 10:55 pm
Subject: Re: [symfony-users] Re: getting a fatal error using swiftmailer
I'm using the swiftmailer version that comes into sf2beta3.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Gareth McCumskey  
View profile  
 More options Jun 2 2011, 6:40 am
From: Gareth McCumskey <gmccums...@gmail.com>
Date: Thu, 2 Jun 2011 12:40:24 +0200
Local: Thurs, Jun 2 2011 6:40 am
Subject: Re: [symfony-users] getting a fatal error using swiftmailer

How about giving us the code that makes use of SwiftMailer? Kind of hard for
us to help you debug without seeing what might be buggy....

On Mon, May 30, 2011 at 12:31 PM, Diego Henrique Oliveira <

--
Gareth McCumskey
http://garethmccumskey.blogspot.com
twitter: @garethmcc
identi.ca: @garethmcc

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
keymaster  
View profile  
 More options Jun 2 2011, 10:35 am
From: keymaster <ad...@optionosophy.com>
Date: Thu, 2 Jun 2011 07:35:01 -0700 (PDT)
Local: Thurs, Jun 2 2011 10:35 am
Subject: Re: [symfony-users] getting a fatal error using swiftmailer

Getting the identical error, also on Sf2 Beta3.

*Fatal error*: Call to a member function clearAll() on a non-object in *C:\Program
Files
(x86)\Zend\Apache2\htdocs\Symfony\vendor\swiftmailer\lib\classes\Swift\Mime \SimpleMimeEntity.php
* on line *822

Here is the code:
*
$message = \Swift_Message::newInstance()->setSubject( 'Contact Email' )
                    ->setFrom( 's...@example.com' )
                    ->setTo( 'recipi...@example.com' )
                    ->setBody( 'Hi There' );
$this->get( 'mailer' )->send( $message );


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Kevin  
View profile  
 More options Jun 3 2011, 10:27 am
From: Kevin <kevinb...@gmail.com>
Date: Fri, 3 Jun 2011 07:27:01 -0700 (PDT)
Local: Fri, Jun 3 2011 10:27 am
Subject: Re: getting a fatal error using swiftmailer
I was also having this issue, updating to sf2 master cleared it up for
me.

On Jun 2, 10:35 am, keymaster <ad...@optionosophy.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Roger Webb  
View profile  
 More options Jun 3 2011, 4:58 pm
From: Roger Webb <webb.ro...@gmail.com>
Date: Fri, 3 Jun 2011 13:58:34 -0700 (PDT)
Local: Fri, Jun 3 2011 4:58 pm
Subject: Re: getting a fatal error using swiftmailer
I went through this *exact* issue and found an answer on the list.

You *MUST* retrieve the "mailer" before creating a new Swift_Message

$mailer = $this->get('mailer');

$message = \Swift_Message::newInstance()->...

Roger

On Jun 3, 9:27 am, Kevin <kevinb...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Fabien Potencier  
View profile  
 More options Jun 4 2011, 3:44 am
From: Fabien Potencier <fabien.potenc...@symfony-project.com>
Date: Sat, 04 Jun 2011 09:44:02 +0200
Local: Sat, Jun 4 2011 3:44 am
Subject: Re: [symfony-users] Re: getting a fatal error using swiftmailer
On 6/3/11 10:58 PM, Roger Webb wrote:

> I went through this *exact* issue and found an answer on the list.

> You *MUST* retrieve the "mailer" before creating a new Swift_Message

> $mailer = $this->get('mailer');

> $message = \Swift_Message::newInstance()->...

Correct. This will not be needed anymore as of beta4.

Fabien


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
keymaster  
View profile  
 More options Jun 4 2011, 3:07 pm
From: keymaster <ad...@optionosophy.com>
Date: Sat, 4 Jun 2011 12:07:09 -0700 (PDT)
Local: Sat, Jun 4 2011 3:07 pm
Subject: Re: [symfony-users] Re: getting a fatal error using swiftmailer

Got the mailer first as above, same error occurs.
Is there something else which also needs to be done?

$mailer = $this->get( 'mailer' );
$message = \Swift_Message::newInstance()->setSubject( 'Contact Email' )
                    ->setFrom( 's...@example.com' )
                    ->setTo( 'recipi...@example.com' )
                   ->setBody( 'Hi There' );
 $mailer->send( $message );

*Fatal error*: Call to a member function clearAll() on a non-object in *C:\Program
Files
(x86)\Zend\Apache2\htdocs\Symfony\vendor\swiftmailer\lib\classes\Swift\Mime \SimpleMimeEntity.php
* on line *822*


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
helysm  
View profile   Translate to Translated (View Original)
 More options Jun 4 2011, 3:53 am
From: helysm <hel...@gmail.com>
Date: Sat, 4 Jun 2011 02:53:59 -0500
Local: Sat, Jun 4 2011 3:53 am
Subject: Re: [symfony-users] Re: getting a fatal error using swiftmailer

hi

version beta 4 symfony2 date will be available?

thanks!!!

Hely Suarez Marin
Miembro del Semillero de Investigación y Desarrollo de Software Libre UFPS
No a la Piratería de Software !Sea Legal con Colombia! Usa Software Libre...
Cúcuta


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »