0

I have a register form with some fields like name shop, btw number, subscription, ... . I want to create an invoice of the data filled in (do some operations with other variables). I know that there's a drupal module Invoice but how can I automatically create one when clicked on register button and send them to the users email? (I'm a drupal beginner)

2

I can't tell you the exact steps but I can suggest you some workaround for this.

You can use Rules module & create a rule for sending mail after event register.

You can send mail in action. Use Token for mail formatting. Maybe you will need some Mail related modules such as Mime Mail for sending mail.

  • Should I also could use the welcome mail (defined in account settings) instead of the Rules module? – nielsv Apr 2 '14 at 14:07
  • Yes you can. Add this $conf['user_mail_register_no_approval_required_notify'] = FALSE; in your settings.php – RajeevK Apr 2 '14 at 14:16
  • And what does that exactly does? – nielsv Apr 2 '14 at 14:23

Not the answer you're looking for? Browse other questions tagged or ask your own question.