I'm fairly new to D7 and I don't know where to start. I have a "Event" CT(ContentType) with many fields in it. Dates, prices, text, html description.

I need to put some fields in a plaintext email and send it to a specific adress. Thats the data export for a ticket system. Some of these fields need to be reformatted. Date => Timestamp, MD5 Hash etc. Textblob with HTML Tags => plaintext, etc.

Also it needs to be saved. So the User can see if its already submitted.

I'm a bit overwhelmed where to start. I think a module and drupal_mail() is the right way to start. How would you do it (General direction)?

Thx in advance T


The Email Example in the Examples Project should be just the thing for you.

| improve this answer | |

if you want the email to be a triggered event (like upon saving a node) you could create a Rule - http://drupal.org/project/rules

it is a bit unclear whether you want the email saved, or the node..

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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