Re: Email component won't send

2008-06-30 Thread r0mk1n
function ( default method in Email component ), but you can`t do it from localhost ;) better way - send via SMTP 1. you need to setup smtp delivery: $this-Email-delivery = 'smtp'; 2. setup SMTP params: $this-smtpOptions = array(  'port'= 25, 'host' = 'yourSMTPServer', 'username

Re: Email component won't send

2008-06-30 Thread Turnquist, Jonah
I can use mail() with localhost. I set up the php.ini to do it and it works fine. I also got it to work with the email component, but only if I don't contain or characters, that is my problem. On Jun 30, 2:55 pm, r0mk1n [EMAIL PROTECTED] wrote: this string $this-smtpOptions . must

Re: Email component won't send

2008-06-30 Thread Turnquist, Jonah
Question, will using SMTP as you suggested still work once I upload it to dreamhost? On Jun 30, 3:00 pm, Turnquist, Jonah [EMAIL PROTECTED] wrote: I can use mail() with localhost.  I set up the php.ini to do it and it works fine.  I also got it to work with the email component, but only if I

Re: Email component won't send

2008-06-30 Thread r0mk1n
mail() with localhost.  I set up the php.ini to do it and it works fine.  I also got it to work with the email component, but only if I don't contain or characters, that is my problem. On Jun 30, 2:55 pm, r0mk1n [EMAIL PROTECTED] wrote: this string $this-smtpOptions . must

Re: Email component won't send

2008-06-30 Thread Turnquist, Jonah
fine.  I also got it to work with the email component, but only if I don't contain or characters, that is my problem. On Jun 30, 2:55 pm, r0mk1n [EMAIL PROTECTED] wrote: this string $this-smtpOptions . must be: $this-Email-smtpOptions = array(  'port'= 25, 'host

Re: email component utf-8 body

2008-06-29 Thread bujanga
that but do not know why. Instead of using the Email Component, I went back to sending the email via straight php. A little ugly but it gives me no problems. Headers from that show: Content-Type: text/plain; charset=UTF-8 I will likely dig into this once I find time and am running on sweet RC2

Re: email component utf-8 body

2008-06-29 Thread bujanga
Email Component works fine on my production server with latest cake build. hmm. That's all for tonight though. Gary On Sun, Jun 29, 2008 at 11:03 PM, bujanga [EMAIL PROTECTED] wrote: Yes, that is where I started. I then set it using charset in: function _ggisSendMail(){ $this-Email

Re: email component utf-8 body

2008-06-28 Thread b logica
Well, did you at least try removing the 8859 one? On Fri, Jun 27, 2008 at 3:11 PM, bujanga [EMAIL PROTECTED] wrote: Yes, I saw that but do not know why. Instead of using the Email Component, I went back to sending the email via straight php. A little ugly but it gives me no problems. Headers

Re: Email component won't send

2008-06-28 Thread b logica
Note the =?UTF-8?B??= bits. There seems to be a lot of that going on. I don't know if anyone's figured out the cause yet but I suggest you check Trac. On Fri, Jun 27, 2008 at 11:19 PM, Turnquist, Jonah [EMAIL PROTECTED] wrote: I am having a problem with the email component. I am trying to get

Re: email component utf-8 body

2008-06-27 Thread bujanga
Yes, I saw that but do not know why. Instead of using the Email Component, I went back to sending the email via straight php. A little ugly but it gives me no problems. Headers from that show: Content-Type: text/plain; charset=UTF-8 I will likely dig into this once I find time and am running

Email component won't send

2008-06-27 Thread Turnquist, Jonah
I am having a problem with the email component. I am trying to get it to send a simple text email. I have set up the layouts and templates. But for some reason it will not send. nor will it throw an error. I am using WAMP, and set up the php.ini to send email correctly as far as I can tell

email component utf-8 body

2008-06-20 Thread bujanga
I am finally trying to convert some older code over to the latest build of cake and thought I would use the Email Component. Read cookbook examples and did some searching as well. Still running into a problem. 1. Email is sent and received. 2. Subject is fine 3. PROBLEM - body is garbage Pretty

Re: 503 5.5.2 Send hello first (email component)

2008-06-12 Thread Stephen Orr
: Same here. I struggled with the Cake component but then put my trusty phpMailer in vendors and bingo, my emails were soon flying again. I now cannot see the point in Cake developers spending their time on this Email component when there are such robust, fully-featured solutions available

Re: 503 5.5.2 Send hello first (email component)

2008-06-12 Thread villas
on this Email component when there are such robust, fully-featured solutions available to be 'wrapped'. It goes completely against the DRY principle. How on earth are they expecting to write, update and support anything better than phpMailer or SwiftMailer? Sorry about the rant, but I hope

Re: 503 5.5.2 Send hello first (email component)

2008-06-12 Thread Jonathan Snook
frustrated. I, too, have been frustrated by the component. With that said, I think an email component is something that does need to be in the core and look forward to seeing the component expand into a more robust solution. I think that an email component should be in there because

Re: 503 5.5.2 Send hello first (email component)

2008-06-12 Thread Gwoo
I have to say this thread is a little disappointing. Not because it takes a direct stab at knocking the code in the core, but rather that it shows a spirit that is more about taking than it is about giving. I will never be ashamed to admit that something inside of Cake is not perfect. The point

Re: 503 5.5.2 Send hello first (email component)

2008-06-12 Thread BrendonKoz
I personally didn't mean any ill-will. When I first learned about CakePHP, version 1.1 was the only option. I intended to use Cake in the future. In the mean time, I knew I'd need to use email (as Jonothan Snook already stated) and the vendor() function (of 1.1) would have worked flawlessly

Re: 503 5.5.2 Send hello first (email component)

2008-06-12 Thread Jonathan Snook
issues: 1. The quality and features of the email component as it stands today; and 2. Whether the CakePHP development team should be reinventing the wheel or whether certain components truly should be part of the core. Neither of these debates is about taking vs giving. -Jonathan

Re: 503 5.5.2 Send hello first (email component)

2008-06-12 Thread Gwoo
On Jun 12, 8:22 am, Jonathan Snook [EMAIL PROTECTED] wrote: I would disagree with your assessment of the conversation. Good. We're debating two key issues: 1. The quality and features of the email component as it stands today; and From the messages I read it was clear the current

Re: 503 5.5.2 Send hello first (email component)

2008-06-12 Thread Jonathan Snook
On Thu, Jun 12, 2008 at 1:31 PM, Gwoo [EMAIL PROTECTED] wrote: But since we have the component in the core, it's not going anywhere, and we are not going to include 3rd party libraries, can we do something to match those features without bloating Cake. My goal is for the Email component

Re: 503 5.5.2 Send hello first (email component)

2008-06-11 Thread villas
Same here. I struggled with the Cake component but then put my trusty phpMailer in vendors and bingo, my emails were soon flying again. I now cannot see the point in Cake developers spending their time on this Email component when there are such robust, fully-featured solutions available

503 5.5.2 Send hello first (email component)

2008-06-10 Thread [EMAIL PROTECTED]
Hi All I am trying to use the new email component in cake 1.2, but am having problems using it with an authenticated SMTP server. I am getting the following error: 503 5.5.2 Send hello first How would I send the Hello using the component? FYI I can use Pear's email script on the same SMTP

Re: 503 5.5.2 Send hello first (email component)

2008-06-10 Thread Smelly_Eddie
Why not just use an email component? ?php class EmailComponent extends Object { /** * Sends email form contact page to info addrss, using senders email as reply to * * @param unknown_type $f_email * @param unknown_type $f_name * @param

Re: 503 5.5.2 Send hello first (email component)

2008-06-10 Thread Jonathan Snook
I am trying to use the new email component in cake 1.2, but am having problems using it with an authenticated SMTP server. I am getting the following error: 503 5.5.2 Send hello first Not to knock the core developers but the email component still needs some work, especially in support

Re: 503 5.5.2 Send hello first (email component)

2008-06-10 Thread BrendonKoz
You could also use the Zend framework's email classes as a vendor if need be. Before the Cake email component was created, that was what my original plan was for sending email. There are plenty of tutorials on using the Zend Framework's email class. (Don't think of the Zend Framework

Re: 503 5.5.2 Send hello first (email component)

2008-06-10 Thread ianmcn
: You could also use the Zend framework's email classes as a vendor if need be. Before the Cake email component was created, that was what my original plan was for sending email. There are plenty of tutorials on using the Zend Framework's email class. (Don't think of the Zend Framework

Re: Email component problem

2008-05-28 Thread Jonathan Snook
On Tue, May 27, 2008 at 12:11 PM, bondo [EMAIL PROTECTED] wrote: I'm having problems using the native email component using templates. It only seems to send messages to certain email addresses. I'm not sure if this is a Cake problem or a web host (hostmonster) problem. For example, if I send

Email component problem

2008-05-27 Thread bondo
I'm having problems using the native email component using templates. It only seems to send messages to certain email addresses. I'm not sure if this is a Cake problem or a web host (hostmonster) problem. For example, if I send to my gmail account it works fine. If I send to an alternate address

Re: Email component problem

2008-05-27 Thread 3lancer.eu
Hi, As for me, it's highly probable that the e-mails get lost due to some anti-spam filters. Did you try sending it properly, with smtp? Just create 'noreply' account and have a go... P.S. Remember to set 'from' field for the smtp, otherwise you may run into errors. Piotr

Re: Email component problem

2008-05-27 Thread 3lancer.eu
Aaah, you mention that you MUST use sendmail... Well, possibly answer is in the sendmail logs or the mail headers. Piotr --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send

Re: Email component problem

2008-05-27 Thread jeff aigner
of the sending server to see if it resolves to the domain name of the message sender. Good Luck :) sheik On May 27, 11:11 am, bondo [EMAIL PROTECTED] wrote: I'm having problems using the native email component using templates. It only seems to send messages to certain email addresses. I'm not sure

Email component: Is 7bit right ?

2008-05-23 Thread Norio Suzuki
The default charset of Email component is UTF-8. But, Content-Transfer-Encoding is 7bit. It is not revokable. Is it right ? It might be 8bit for UTF-8. It proposes to add the $tansferEncoding variable in email.php. var $transferEncoding = '8bit

Re: Email Component sends email with empty body

2008-05-20 Thread donnerbeil
Hi! I couldn't get the delivery=debug working. But I now found out, that if I set sendAs to 'html' or 'text' instead of 'both' the email is received with a correct mail body. I finally found this ticket https://trac.cakephp.org/ticket/1851 that describes something similiar. But as I use a fresh

Re: Email Component sends email with empty body

2008-05-20 Thread Ketan Patel
Hi, for debug... it doesn't print now.. They changed the code for debug, so now it is only put in the Session variable. So to print out in the controller just for debugging to do this... pr($this-Session-read('Message.email')); Earlier in the code, they had the 'echo $fm' statement which is now

Re: Email Component sends email with empty body

2008-05-20 Thread Ketan Patel
There is a delivery option for debug in the EmailComponent. $this-Email-delivery = 'debug'; //'smtp'; Use that for development and testing of the emails. With 'debug' option, you will see your email content print out on the page itself which helps in faster debugging. Once you are happy with

Re: Email Component sends email with empty body

2008-05-20 Thread donnerbeil
Hi! Here is my send function in users_controller.php The $id is given from another function. I debug($id) and it's ok. function _sendNewUserMail($id) { $User = $this-User-read(null,$id); $this-Email-to = '[EMAIL PROTECTED]'; $this-Email-bcc = array('[EMAIL

Re: Email Component sends email with empty body

2008-05-20 Thread donnerbeil
@Ketan My new send function looks now like that: function _sendNewUserMail($id) { $User = $this-User-read(null,$id); $this-Email-to = '[EMAIL PROTECTED]'; $this-Email-bcc = array('[EMAIL PROTECTED]'); // note

Email Component sends email with empty body

2008-05-19 Thread donnerbeil
Hi! I'm using the latest nightly so this is probably not the case: https://trac.cakephp.org/ticket/3820 But I still receive empty emails. The strangest part is, that it depends on the email provider. I have an email account at my own domain. I check the mails with Thunderbird (IMAP) and it

Re: Email Component

2008-05-19 Thread cooked
Thanks for the reply I will try out the debug and let you know what I see. I am use version 1.2 the latest available for download. On May 16, 10:45 pm, b logica [EMAIL PROTECTED] wrote: Weird. It might be worth putting a die(debug($View)) statement in EmailComponent::__renderTemplate() just

Re: Email Component sends email with empty body

2008-05-19 Thread Brian Rojas
The most obvious problem would be that you aren't setting the Email- template correctly. This happened to me cause i misspelt the template. You should check that, also pls send code if that is not problem so can investigate better. On May 19, 8:54 pm, donnerbeil [EMAIL PROTECTED] wrote: Hi!

Email Component

2008-05-16 Thread cooked
I have seeing a weird issue with the email component. The email are being sent but with a message that the template file is not found. For some reason cake is trying to find the template in .../app/views/views/elements/email/text/welcome.ctp. As you can see there is an extra views in the path

Re: Email Component

2008-05-16 Thread b logica
I think the obvious question is, how are you specifying the path to your template? On Fri, May 16, 2008 at 1:48 PM, cooked [EMAIL PROTECTED] wrote: I have seeing a weird issue with the email component. The email are being sent but with a message that the template file is not found. For some

Re: Email Component

2008-05-16 Thread cooked
the obvious question is, how are you specifying the path to your template? On Fri, May 16, 2008 at 1:48 PM, cooked [EMAIL PROTECTED] wrote: I have seeing a weird issue with the email component. The email are being sent but with a message that the template file is not found. For some reason

Re: Email Component

2008-05-16 Thread b logica
specifying the path to your template? On Fri, May 16, 2008 at 1:48 PM, cooked [EMAIL PROTECTED] wrote: I have seeing a weird issue with the email component. The email are being sent but with a message that the template file is not found. For some reason cake is trying to find the template

Best practice or not for using Email component in the model

2008-05-07 Thread dericknwq
think that it will be possible to just pass the Email component into the model but is that technically correct? How did you do yours? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group

Re: Best practice or not for using Email component in the model

2008-05-07 Thread Adam Royle
(); $this-__sendNotificationWithEmailComponent($data); } Why not have saveThis() do the work and send the notifications? I do think that it will be possible to just pass the Email component into the model but is that technically correct? How did you do yours

Re: Best practice or not for using Email component in the model

2008-05-07 Thread Marcin Domanski
Hey Alternatively, you could create a Email model which saves info to the database, which is then read from a shell scheduled in cron to send the actual emails :) I used the email component this way - Email model and saving the serialized data,template name subject etc in the db and send

Re: Email Component uses SMTP not sending...

2008-04-24 Thread JaMoyFriends
hmmmmine uses, a template tooo...i think b logica has the closest answer...im still not sure On Apr 23, 3:05 am, aranworld [EMAIL PROTECTED] wrote: Are you using the latest nightly build? There is a bug in the beta release from January that prevents the Mail component from sending a mail

Re: Email Component 1.2 -- Problems with HTML and SMTP

2008-04-24 Thread jonathan.snook
On Apr 22, 9:56 pm, Schuchert [EMAIL PROTECTED] wrote: Could this be the reason that my html messages only come in as text? To be honest, I'm not sure. I'd probably have to pick apart the code to understand for sure. Try the MIME-Version header and see what happens. I'm leaning towards an issue

Re: Email Component uses SMTP not sending...

2008-04-22 Thread JaMoyFriends
i dont think that's the issue, maybe it is but i dont see how that could help. i can properly send it with PHPMailer, with the same credentials i gave cake. the only problem is, it isnt sending. i have no idea if cake got authenticated or anything, but PHPmailer did. i dont want to use

Re: Email Component uses SMTP not sending...

2008-04-22 Thread b logica
You said that switching to SMTP caused it to stop working. What transfer method did you use with PHPMailer? There are a number of reasons why this might not work, from no MTA being available, to a missing relayhost (or SMART_HOST for sendmail). On Tue, Apr 22, 2008 at 8:23 AM, JaMoyFriends

Re: Email Component uses SMTP not sending...

2008-04-22 Thread aranworld
Are you using the latest nightly build? There is a bug in the beta release from January that prevents the Mail component from sending a mail unless you actually use a template file. The bug has been fixed in the SVN releases. https://trac.cakephp.org/ticket/3820 On Apr 22, 10:04 am, b

Re: Email Component 1.2 -- Problems with HTML and SMTP

2008-04-22 Thread Schuchert
You sir, are a savior. It wasn't on line 750 for the version I had but it did work beautifully. Now, I have to get my messages to pass the SPAM filters of my ISP. Thanks again Jonathan. --~--~-~--~~~---~--~~ You received this message because you are subscribed

Re: Email Component 1.2 -- Problems with HTML and SMTP

2008-04-22 Thread Schuchert
I spoke too soon. The SMTP issue is fixed but my html formatted messages still come through as text. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to

Re: Email Component 1.2 -- Problems with HTML and SMTP

2008-04-22 Thread Schuchert
Should MIME-Version: 1.0 be included when using both but without attachments? I looked at the source for most of the html emails I have gotten lately and they all had MIME-Version: 1.0 in their header area. Could this be the reason that my html messages only come in as text?

Re: Email Component 1.2 -- Problems with HTML and SMTP

2008-04-21 Thread Federico Rinaldi
format. Hope this helps! eyesonly. On Sun, Apr 20, 2008 at 10:29 PM, Schuchert [EMAIL PROTECTED] wrote: I am having trouble with the email component in 1.2. I have tried both 1.2.0.6311 and I tried 1.2.0.7705. I followed the example here: http://book.cakephp.org/view/176/email and everytime

Re: Email Component 1.2 -- Problems with HTML and SMTP

2008-04-21 Thread Schuchert
You on Windows? This seems like a newline problem. Nope, not on Windows. I had a similar problem when I was sending the email with $this-Email-send ('bBody of my email/b').The email was sent in text format. But then I changed to the template way. $this-Email-template = 'myTemplate';

Email Component uses SMTP not sending...

2008-04-21 Thread JaMoyFriends
Im using the Internal Email Component of Cake to send out Emails. I use the native way of mailing, through PHP. but when i switched to SMTP, it doesnt send. can anybody explain why? and if possible, can someone tell me of a possible solution. no Code alterations has been done to the component

Re: Email Component uses SMTP not sending...

2008-04-21 Thread Schuchert
I would like to add that I am having the exact same issue. I am actively looking for a fix also. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to

Re: Email Component 1.2 -- Problems with HTML and SMTP

2008-04-21 Thread Schuchert
I tried specifying the template and it was a no go. It still sends in text format. I also switched back to smtp and everything is being jammed into the TO field. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

Re: Email Component 1.2 -- Problems with HTML and SMTP

2008-04-21 Thread jonathan.snook
made the following change to line 750 of the email component: @fwrite($this-__smtpConnection, preg_replace(/([^\r])\n/, $1\r\n, $data)); That basically ensures that all line feeds are CRLF and not just LF. -Jonathan Snook http://snook.ca/ On Apr 21, 9:28 pm, Schuchert [EMAIL PROTECTED] wrote: I

Re: Email Component uses SMTP not sending...

2008-04-21 Thread b logica
What OS are you using. What MTA do you have installed? To use SMtP you need to have a daemon available that knows where to connect on the outside to send your mail out. For example, on a stock Fedora box with sendmail MTA you may need to edit your sendmail.mc as root or equiv: DO NOT EDIT

Email Component 1.2 -- Problems with HTML and SMTP

2008-04-20 Thread Schuchert
I am having trouble with the email component in 1.2. I have tried both 1.2.0.6311 and I tried 1.2.0.7705. I followed the example here: http://book.cakephp.org/view/176/email and everytime I try and send an html email I only get the html source and not a render html message. From what I

Re: Email Component 1.2 -- Problems with HTML and SMTP

2008-04-20 Thread b logica
You on Windows? This seems like a newline problem. On Sun, Apr 20, 2008 at 9:29 PM, Schuchert [EMAIL PROTECTED] wrote: I am having trouble with the email component in 1.2. I have tried both 1.2.0.6311 and I tried 1.2.0.7705. I followed the example here: http://book.cakephp.org/view/176

Re: mass email component for cakephp

2008-03-05 Thread mbavio
a custom cake shell. On Tue, Mar 4, 2008 at 8:37 AM, bob [EMAIL PROTECTED] wrote: hi i need a cakephp email component that can do multi threaded emailing, or a scheduling system. Preferably the email component can scale well to send 1000+ and even 1+ emails per few hours (or day

Re: mass email component for cakephp

2008-03-05 Thread kiang
If you don't have to insist using CakePHP, try phplist: http://www.phplist.com kiang On Mar 4, 6:37 pm, bob [EMAIL PROTECTED] wrote: hi i need a cakephp email component that can do multi threaded emailing, or a scheduling system. Preferably the email component can scale well to send 1000

mass email component for cakephp

2008-03-04 Thread bob
hi i need a cakephp email component that can do multi threaded emailing, or a scheduling system. Preferably the email component can scale well to send 1000+ and even 1+ emails per few hours (or day if this is the best it can do). Does anybody know if the CakePHP emailcomponent has been tested

Re: mass email component for cakephp

2008-03-04 Thread Dardo Sordi Bogado
That kind of mailing will probably need a cron script. Look at building a custom cake shell. On Tue, Mar 4, 2008 at 8:37 AM, bob [EMAIL PROTECTED] wrote: hi i need a cakephp email component that can do multi threaded emailing, or a scheduling system. Preferably the email component can scale

Re: Email Component not working..

2008-02-25 Thread Samuel DeVore
Just to check, are you using cake 1.1 or 1.2 the email component is only in 1.2 you can check the VERSION.txt file in your cake core or look in the cake folder and make sure that libs/controller/components/email.php exists Sam D On Sun, Feb 24, 2008 at 6:58 PM, Affinity Skateboards [EMAIL

Email Component not working..

2008-02-24 Thread Affinity Skateboards
I am trying to use the email component on my contact page, but when trying to add the component in my controller I get: Missing Component File You are seeing this error because the component file can't be found or doesn't exist. Notice: If you want to customize this error message, create app

Re: Email Component Advantages

2008-02-20 Thread Siebren Bakker
I think the biggest reasonings behind the inclusion of a cake email component are reliability, interoperability, and ease of maintenance. With the cake email component, they have a guarantee that it will work with cake, as is, without the need to modify someone else's code to make it fit

CakePHP 1.2 Email Component works there but not here

2008-02-16 Thread Carl
I have a project that uses the cake email component. It works fine when I upload the project to a shared server, but when I try to run locally (under xampp's apache, mysql, mercury) I get an error message saying: 553 We do not relay non-local mail, sorry. I have phpnuke programs that use

Re: CakePHP 1.2 Email Component works there but not here

2008-02-16 Thread Samuel DeVore
my guess is that you may need to use authenticated smtp methods see http://book.cakephp.org/view/176/email and the $smtpOptions On Feb 16, 2008 10:55 AM, Carl [EMAIL PROTECTED] wrote: I have a project that uses the cake email component. It works fine when I upload the project to a shared

cakephp 1.2 email component and embedded images

2008-02-13 Thread sucram
Hi there ... Is it possible to send html mails with embedded images? thx sucram --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group. To post to this group, send email to cake-php@googlegroups.com To

Extending Email Component

2008-01-29 Thread Jeraimee
In our project when we need to send email we actually input it into a database queue to be sent later via cron (a cake console app). We want to keep the functionality of the email component but need to add a __db (or whatever you would like to call it) method so we can choose between 'mail

Re: Extending Email Component

2008-01-29 Thread Marcin Domanski
Hi i approached the problem diffrently - i have a Email model that acts just like Email component (same api) but it doesnt render anything (faster) only saves the data( the seted data for the view , template , to ,from etc) in the db. I also have a custom shell with a task that reads a batch

Re: Extending Email Component

2008-01-29 Thread Matias Lespiau
it into a database queue to be sent later via cron (a cake console app). We want to keep the functionality of the email component but need to add a __db (or whatever you would like to call it) method so we can choose between 'mail', 'smtp' and 'db' (or whatever). My first plan was to patch

Re: Extending Email Component

2008-01-29 Thread Jeraimee
On Jan 29, 12:09 pm, Matias Lespiau [EMAIL PROTECTED] wrote: I would do something like this: custom_email_component.php in my controllers/components App::import('Component', 'Email'); class CustomEmailComponent extends EmailComponent {        function __db() {           // your code        

Re: Extending Email Component

2008-01-29 Thread Matias Lespiau
Haven't tested it, but in the send function of the EmailComponent I see this code: function send() // lot of code $__method = '__'.$this-delivery; return $this-$__method(); } So I think it should call the db method. Good luck -- Matias Lespiau http://www.gignus.com/

Re: Extending Email Component

2008-01-29 Thread Jeraimee
On Jan 29, 12:55 pm, Matias Lespiau [EMAIL PROTECTED] wrote: Haven't tested it, but in the send function of the EmailComponent I see this code: function send()         // lot of code         $__method = '__'.$this-delivery;         return $this-$__method(); } So I think it should call the

Re: email component - smtp auth (SOLVED?)

2007-11-30 Thread Gorka
have a default value of CRLF? On 30 nov, 12:11, Gorka [EMAIL PROTECTED] wrote: My fault... I was starting an SMTP connection on localhost, which is of course whitelisted. Solved. Still mail wasn't delivered, so I updated the email component to the latest nightly build and now I'm getting a 451

Re: email component - smtp auth (SOLVED?)

2007-11-30 Thread Gorka
My fault... I was starting an SMTP connection on localhost, which is of course whitelisted. Solved. Still mail wasn't delivered, so I updated the email component to the latest nightly build and now I'm getting a 451 See http://pobox.com/~djb/docs/smtplf.html; SMTP error. Before the update

Re: email component - smtp auth (SOLVED?)

2007-11-30 Thread atomic
a default value of CRLF? On 30 nov, 12:11, Gorka [EMAIL PROTECTED] wrote: My fault... I was starting an SMTP connection on localhost, which is of course whitelisted. Solved. Still mail wasn't delivered, so I updated the email component to the latest nightly build and now I'm getting a 451

Re: email component - smtp auth (SOLVED?)

2007-11-28 Thread Gorka
In fact, on the test server I get a 503 You are already authenticated error message. On 27 nov, 16:17, atomic [EMAIL PROTECTED] wrote: Afaik this fix is already comitted in the latest nightly builds. What do you mean with they still don't seem to arrive. Is mail delivered correctly to your

Re: email component - smtp auth (SOLVED?)

2007-11-28 Thread atomic
Just a quick guess: You are sending from a whitelistened ip and don't need to auth on your test system / on your testsystem SMTP Auth is disabled ? On Nov 28, 12:47 pm, Gorka [EMAIL PROTECTED] wrote: In fact, on the test server I get a 503 You are already authenticated error message. On 27

Re: email component - smtp auth (SOLVED?)

2007-11-27 Thread atomic
auth The email component is testing for OK Authenticated which seems not RFC compliant to me, so i changend testing for return value into 235. email.php line 744: if (stristr($response, '235') === false) This should match most common used MTA. Regards, Andreas

Re: email component - smtp auth (SOLVED?)

2007-11-26 Thread Gorka
connection after auth The email component is testing for OK Authenticated which seems not RFC compliant to me, so i changend testing for return value into 235. email.php line 744: if (stristr($response, '235') === false) This should match most common used MTA. Regards, Andreas

1.2 Email Component question

2007-11-03 Thread Zius
Greetings! In the pre beta Email Component i found a strange thing, someone please explain it! In the __encode function (email.php line 568) we only encode the subject in base64 if the charset is not utf-8. Unfortunately with hungarian characters this makes some problems, most email clients

Re: 1.2 Email Component question

2007-11-03 Thread Zius
was not advertised): rejected DATA H=localhost (^) [127.0.0.1] next input=From: \nReply-To: No reply \nX-Mailer: CakePHP Email Component \nContent-Type: multipart/alternative; boundary=alt-\n\n That means, the component doesn't wait for the servers reply, before sending the next command

Re: Email Component Minor Fix in 1.2

2007-10-31 Thread biesbjerg
Hi MikeK, Register yourself on the trac site. https://trac.cakephp.org/register You'll then be able to submit tickets. On Oct 31, 2:13 am, MikeK [EMAIL PROTECTED] wrote: I use the email component and it was driving me nuts inserting a newline in the front of every email (any 1.2 version

Email Component Minor Fix in 1.2

2007-10-30 Thread MikeK
I use the email component and it was driving me nuts inserting a newline in the front of every email (any 1.2 version including pre beta). I finally traced it to this: file cake/lib/controller/component/email.php on or around line 477: $this-__header .= 'Content-Transfer-Encoding: 7bit

email component - smtp auth (SOLVED?)

2007-10-29 Thread atomic
I had some problems sending mail using smtp auth. MTA (postfix) always told me lost connection after auth The email component is testing for OK Authenticated which seems not RFC compliant to me, so i changend testing for return value into 235. email.php line 744: if (stristr($response, '235

Email component returning false even if message sent ok?

2007-10-20 Thread Jon Bennett
hi, I'm using the 1.2 email component to send emails (well, duh!) and for some reason it's always returning false, I can't for the life of me work out why as it always sends the mail successfully, and no errors are returned. // controller code snippet $this-Email-subject = 'my test subject

Re: Email component (1.2) fails to send attachment and content

2007-10-19 Thread luke BAKING barker
hmm looking more closely at mine, I actually get a weird error. My layout is rendering, asHTML in the email, but the view is not. However - in the original (show original as I am looking at in GMail) the view HTML does show. I havent included anything weird, but I wonder if there is some missing

Re: Email component (1.2) fails to send attachment and content

2007-10-19 Thread luke BAKING barker
I added a newline at the end... And SUCCESS! thanks for the Email component devs :) makes it very easy... hth Luke aka boobyWomack On Oct 2, 11:17 pm, francky06l [EMAIL PROTECTED] wrote: Does anyone succeed to send a 'text' message with an attached file using theEmailcomponent? I am using

Re: Email component (1.2) fails to send attachment and content

2007-10-19 Thread francky06l
Well guys, I had to tweak it..But since yesterday, form the branch it seems better ...I can send mails with attachments with the original component... However there is one case a bit ennoying (not really a problem), but if you send a mail as html without attachment..it display a warning about my

EMail component problem (1.2)

2007-09-24 Thread francky06l
Hi Bakers, I have a small problem using the Email component (cake 1.2 from Branch). It seems that when I have attachments the content (or template) is not visible in the mail reader (Thunderbird). Looking at the source, everything is there just seem that a boundary is missing before the content

Email Component templates/layout variable names

2007-08-25 Thread [EMAIL PROTECTED]
I've managed to get the PHPmailer and the emailer component working. I'm stuck on one thing though - what is the variable name that I have to put in the layout so that the html template is embedded? thanks Ian --~--~-~--~~~---~--~~ You received this message

Re: Email Component templates/layout variable names

2007-08-25 Thread Jon Molesa
Just a guess... var $layout = 'emailtemplate'; *On Sat, Aug 25, 2007 at 03:51:24PM -0700 [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: From: [EMAIL PROTECTED] [EMAIL PROTECTED] To: Cake PHP cake-php@googlegroups.com Subject: Email Component templates/layout variable names Date: Sat

Re: Email Component - sendAs=both

2007-06-09 Thread Romano
By the way, this is the email source (properties from Outlook). Seems there's an empty line in the doctype tag, if I'm not mistaken: --23ccc6829da8502b5b86ce07d501536c Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 8bit Beste Bruce Wayne, Leuk dat je meedoet!

<    1   2   3   4   >