It's likely php CLI is using another configuration (php.ini) than apache/php. 
Make sure they match for your smtp settings.

Regards, Jurian
--
Jurian Sluiman
Soflomo.com

Op Sunday 25 October 2009 02:24:37 schreef Pádraic Brady:
> Are you sure both are using the same configuration for SMTP? You may have
> lost something in the translation from ZF to CLI script - check for any
> statically set default adapters. I think there's at least one of those
> somewhere you may have missed on the CLI side.
>
> Paddy
>
>  Pádraic Brady
>
> http://blog.astrumfutura.com
> http://www.survivethedeepend.com
> OpenID Europe Foundation Irish Representative
>
>
>
>
>
> ________________________________
> From: debussy007 <[email protected]>
> To: [email protected]
> Sent: Sat, October 24, 2009 2:22:25 PM
> Subject: [fw-general] Zend_Mail - sending from a cron task
>
>
> Hi!
>
> When a mail is sent from the webserver of my website, using the Gmail SMTP
> server, I can see the mail that has been sent in Gmail (in Sent mails)
>
> However, when a mail is sent from a php script in background triggered by a
> CRON task, the sent mail doesn't appear appear in Gmail's Sent mails.
>
> Does anyone have an idea why ?
> (I hope my question was clear, if not I may clarify further)
>
> Thank you for any help !

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to