Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php echo $content_for_layout; ?>
- Dear <?php echo $user['User']['firstname'] ?>,
- Thank you for your order.
- <?php
- function _sendNewUserMail($id) {
- $User = $this->User->read(null,$id);
- $this->Email->to = $User['User']['email'];
- $this->Email->subject = 'Order Confirmation';
- $this->Email->replyTo = 'support@example.com';
- $this->Email->from = 'Cool Web App <app@example.com>';
- $this->Email->template = 'new_order';
- $this->set('User', $User);
- $this->Email->send();
- }
- ?>
Add Comment
Please, Sign In to add comment