Re: swiftmailer will not send
I am using this: $this-Swiftmailer-smtpType = 'tls'; $this-Swiftmailer-smtpHost = 'smtp.gmail.com'; $this-Swiftmailer-smtpPort = 465; $this-Swiftmailer-smtpUsername = 'u...@riverstarcincy.com'; $this-Swiftmailer-smtpPassword = 'pass'; $this-SwiftMailer-from = 't...@test.com'; $this-SwiftMailer-fromName = 'Riverstar'; $this-SwiftMailer-to = array('u...@riverstarcincy.com'='Kyle', 'u...@gmail.com'='kyle'); $this-SwiftMailer-layout = 'test'; if (!$this-SwiftMailer-send('register', 'Test')) { $this-log('Error sending mail', LOG_ERROR); } dont know why this works on my local machine and not the webserver. If it sends to the riverstarcincy.com address through the smtp on my machine then it stands to reason it should do the same on my webserver right? -K On Jan 13, 2:02 am, brian bally.z...@gmail.com wrote: I don't know if this repeat post was a slip or what, but the crack about n00bs re-posting in frustration honestly wasn't directed at you! I hadn't seen this. I really was thinking about myself. ;-) On Tue, Jan 13, 2009 at 1:38 AM, ksalling k...@kylesalling.com 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. x...@gmail.com and x...@riverstarcincy.com when I upload the controllers etc up to the web serverwww.riverstarcincy.comit sends fine to the x...@gmail.com but will not send to x...@riverstarcincy.com 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 cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---
Re: swiftmailer will not send
This still may be the thing I was thinking of. Though the FROM is not u...@riverstarcincy.com, the SMTPUsername is. As you're using google's Apps engine, I suspect that the message is merely being hidden for that account. At least with gMail and googleGroups (like this one), if I send a message, I won't see it in my INBOX until someone replies to the message. Know what I mean? You might be able to change this behavior in your gApps mail settings. If you're able to create more than one email address for riverstarcincy.com, try doing so and send to that address. However, note that it still might not work if the other address is merely an alias to the first. I haven't used google Apps so I may be way off here. On Tue, Jan 13, 2009 at 3:18 AM, ksalling k...@kylesalling.com wrote: I am using this: $this-Swiftmailer-smtpType = 'tls'; $this-Swiftmailer-smtpHost = 'smtp.gmail.com'; $this-Swiftmailer-smtpPort = 465; $this-Swiftmailer-smtpUsername = 'u...@riverstarcincy.com'; $this-Swiftmailer-smtpPassword = 'pass'; $this-SwiftMailer-from = 't...@test.com'; $this-SwiftMailer-fromName = 'Riverstar'; $this-SwiftMailer-to = array('u...@riverstarcincy.com'='Kyle', 'u...@gmail.com'='kyle'); $this-SwiftMailer-layout = 'test'; if (!$this-SwiftMailer-send('register', 'Test')) { $this-log('Error sending mail', LOG_ERROR); } dont know why this works on my local machine and not the webserver. If it sends to the riverstarcincy.com address through the smtp on my machine then it stands to reason it should do the same on my webserver right? -K On Jan 13, 2:02 am, brian bally.z...@gmail.com wrote: I don't know if this repeat post was a slip or what, but the crack about n00bs re-posting in frustration honestly wasn't directed at you! I hadn't seen this. I really was thinking about myself. ;-) On Tue, Jan 13, 2009 at 1:38 AM, ksalling k...@kylesalling.com 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. x...@gmail.com and x...@riverstarcincy.com when I upload the controllers etc up to the web serverwww.riverstarcincy.comit sends fine to the x...@gmail.com but will not send to x...@riverstarcincy.com 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 cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---
swiftmailer will not send
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. x...@gmail.com and x...@riverstarcincy.com when I upload the controllers etc up to the web server www.riverstarcincy.com it sends fine to the x...@gmail.com but will not send to x...@riverstarcincy.com 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 cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---
Re: swiftmailer will not send
I don't know if this repeat post was a slip or what, but the crack about n00bs re-posting in frustration honestly wasn't directed at you! I hadn't seen this. I really was thinking about myself. ;-) On Tue, Jan 13, 2009 at 1:38 AM, ksalling k...@kylesalling.com 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. x...@gmail.com and x...@riverstarcincy.com when I upload the controllers etc up to the web server www.riverstarcincy.com it sends fine to the x...@gmail.com but will not send to x...@riverstarcincy.com 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 cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---