I am using this

$this->Swiftmailer->smtpType = 'tls';
$this->Swiftmailer->smtpHost = 'smtp.gmail.com';
$this->Swiftmailer->smtpPort = 465;
$this->Swiftmailer->smtpUsername = '[email protected]';
$this->Swiftmailer->smtpPassword = 'passwordhere';
$this->SwiftMailer->from = '[email protected]';
$this->SwiftMailer->fromName = 'Riverstar';
$this->SwiftMailer->to = array('[email protected]'=>'Kyle',
                                '[email protected]'=>'kyle');
$this->SwiftMailer->layout = 'test';

I will try and change the from to something entirely different. I dont
think that is the case though because when I try this it works 100% on
my xampp server on my machine but when I upload the app to 
www.riverstarcincy.com
it does not work. What would be the difference between it being sent
to the smtp via my machine and sent to the smtp via my webserver. It
still hits the same server with the same headers? is there a way to
output the message being sent to the screen to see what exactly it is
sending?

-Kyle


On Jan 13, 1:58 am, brian <[email protected]> wrote:
> Does the sendFrom header happen to contain "[email protected]"? I
> ask because gMail doesn't display mails from myself to, for instance,
> this group. It's the source of some n00b frustration--myself
> included--in that one's first message (likely written in a cold sweat)
> doesn't appear to make it up.
>
> Anyway, I'm wondering if google's just trying to be "efficient". Have
> a look at your gApps POP/IMAP settings.
>
> On Tue, Jan 13, 2009 at 1:26 AM, ksalling <[email protected]> wrote:
>
> > I am running swiftmailer for php5 and the updated swiftmailer
> > component for cake. I am running this on my local  machine using xampp
> > and everything works fine sending out an email to two recipients.
> > [email protected] and [email protected] when I upload the controllers
> > etc up to the web serverwww.riverstarcincy.comit sends fine to the
> > [email protected] but will not send to [email protected] it does not
> > give any error messages with cake in debug mode nor does it leave
> > anything in the cake logs located in the tmp folder. My
> > riverstarcincy.com mail is being hosted by Google apps and I am using
> > the associated smtp server through Google to send this mail. I do not
> > understand why the smtp is sending the mail when I am on my local
> > machine and not when I have the page located on the riverstarcincy.com
> > server. Please help I have been at this problem for a day and cannot
> > figure it out.
>
> > Thank you!

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to