Re: [TYPO3-english] Directmail facing problem with swiftmailer

2012-09-06 Thread Nikolay Orlenko
Hello,
I had similar problem. After debugging i have found that mailer checks
sender email value.
Error connected with empty sender email.

Check DirectMail configurations  default values. And set sender name and
sender email.

Best regards, Nikolay

http://www.linkedin.com/in/okolya http://twitter.com/okolya
http://facebook.com/okolya http://cmsobzor.com
Contacts: okolya; kolya_orlenko; 214915195
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] Directmail facing problem with swiftmailer

2012-08-10 Thread Olivier Dobberkau
Am 10.08.12 07:30, schrieb J. Bakshi:

 Then please suggest how can I make direct_mail working ?

junk in, junk out. check the e-mails in your database.

olivier
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] Directmail facing problem with swiftmailer

2012-08-10 Thread Jigal van Hemert

Hi,

On 10-8-2012 7:30, J. Bakshi wrote:

On Thu, 09 Aug 2012 23:06:34 +0200
Then please suggest how can I make direct_mail working ?
The changes I have made , already given in my previous post.


As Olivier suggested, check the email addresses in your database. The 
error message seems to say that there is at least one subscriber with an 
empty address.


I wouldn't expect that DirectMail throws an exception (or allows the 
core to throw one). You can file a bugreport at

http://forge.typo3.org/projects/extension-direct_mail/issues
and ask that the exception is caught and an appropriate error logged.

--
Jigal van Hemert
TYPO3 Core Team member

TYPO3  inspiring people to share!
Get involved: typo3.org
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] Directmail facing problem with swiftmailer

2012-08-09 Thread Viktor Livakivskyi

Hi.


This is typo3 typo3_src-4.5.17 with directmail 3.0.2
directmail throwing an error as
Address in mailbox given [] does not comply with RFC 2822, 3.6.2.


Do you have [MAIL][defaultMailFromAddress] and [MAIL][defaultMailFromName] 
set in your localconf.php?
Also there are direct_mail settings, where you can set 'From' addreess. Did 
you check them? 


___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] Directmail facing problem with swiftmailer

2012-08-09 Thread Olivier Dobberkau
Am 09.08.12 09:40, schrieb J. Bakshi:

 Dear list,
 
 This is typo3 typo3_src-4.5.17 with directmail 3.0.2
 
 directmail throwing an error as
 
 ```
 Address in mailbox given [] does not comply with RFC 2822, 3.6.2.
 
 
 I have experimented with 
 
 [MAIL][substituteOldMailAPI] 
 
 but no luck. Is there any fix for the issue ?
 
 Thanks

Hi

Please give us more info about your setup. Specially the Mailserver in use.

Have a look at: http://forge.typo3.org/projects/extension-direct_mail/issues

Olivier
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] Directmail facing problem with swiftmailer

2012-08-09 Thread J. Bakshi
On Thu, 9 Aug 2012 13:09:07 +0300
Viktor Livakivskyi v-t...@mail.ru wrote:

 Hi.
 
  This is typo3 typo3_src-4.5.17 with directmail 3.0.2
  directmail throwing an error as
  Address in mailbox given [] does not comply with RFC 2822, 3.6.2.
 
 Do you have [MAIL][defaultMailFromAddress] and [MAIL][defaultMailFromName] 
 set in your localconf.php?
 Also there are direct_mail settings, where you can set 'From' addreess. Did 
 you check them? 
 
Hello Viktor and Olivier,

Thanks for your responses.
The issue has been fixed now. I have to follow two steps

[1] according to 
http://www.typo3forum.net/forum/typo3-4-x-fragen-probleme/51408-powermail-address-mailbox-given-does-not-comply-rfc-2822-3-6-2-a.html
I have changed the 
typo3/contrib/swiftmailer/classes/Swift/Mime/Headers/MailboxHeader.php

[...]

 private function  _assertValidAddress ( $ address ) 
  { 
if ( preg_match ( '/ ^'  .  $ this - getGrammar ( 'addr-spec' .)  '$ / D' 
, 
  $ address )) 
{ 
 / / throw new Swift_RfcComplianceException ( 
 / / 'Address given in mailbox [' $ address.. 
 / / '] does not comply with RFC 2822, 3.6.2.' 
 / /); 
} 
  }  

[]

[2] I have added these two at localconf.php


$TYPO3_CONF_VARS['BE']['versionNumberInFilename'] = '0';
$TYPO3_CONF_VARS['MAIL']['substituteOldMailAPI'] = '0';


Fixed :-)

Thanks for your help.
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] Directmail facing problem with swiftmailer

2012-08-09 Thread Jigal van Hemert

Hi,

On 9-8-2012 12:45, J. Bakshi wrote:

Fixed :-)


That's not a fix; that's using a bazooka to punch a hole in a piece of 
paper :-D


SwiftMailer validates email addresses because there can otherwise easily 
be problems with mails that do not arrive, mail servers refusing mails, etc.


--
Jigal van Hemert
TYPO3 Core Team member

TYPO3  inspiring people to share!
Get involved: typo3.org
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english