Hello, I am currently running a Cron file to execute a CakePHP controller. The Cron file runs every minute and has to send reminders by email. For that, I use PHPMailer and the users receive an HTML email. So it works great.
But, at the same time I send a HTML email I need to send a text/plain email for text message reminder. The thing is, it keeps sending the email in HTML even if I put : $this->Email->sendAs = 'text'; or $this->Email->IsHTML(false); So I tried to send an email via the mail() PHP function but it does not works. No email are sent. But if i run the Cron file manually, the email will be sent as I want. Is there something wrong with mail() PHP function in CakePHP ? Or do you know what I should do with PHPMailer to send text/plain email ? Thanks. -- *Pierre MARCOURT* *IT Department* *CableOrganizer.com* 5610 NW 12th Ave, suite 214 Fort Lauderdale, FL 33304 Phone: 954-861-6310 Fax: 954-861-2001 --~--~---------~--~----~------------~-------~--~----~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---