Ernst Bunders wrote:
Hi Is there some documentation outling the use of the emailbuilder? or: how toThere isn't much documentation about this.
configure mmbase for sending email?
(the design.mmbase.org is down, so i couldn't check the last documentation)
For sending email you have to take a look at the config/modules/sendmail.xml. Here you'd put the settings for your mailserver.
For sending email from MMBase (eg a jsp-page) you can use the emailbuilder. You can create an email-node and set the fields just as you're used to do for other nodes, but there are a few fields that are treated special:
mailstatus
0: wating to be scheduled
1: delivered
2: delivery failed
3: marked as spam
4: scheduled, waiting to be delivered
mailtype:
1: sent email and remove from the database
2: repeat email
3: sent email, but keep it in the database
mailtime:
email will be sent at mailtime.
repeattime:
after sending the email another mailtime will be set at: mailtime + repeatetime.
bodyurl: email the page at this url (don't know if this is working with jsp or only when using scan).
Hope this helps, if you have more questions feel free to ask.
Gerard
