I think Ernst is right. Do you know how to set up a trigger? you can see in the wiki page Triggers at
wiki.mementodatabase.com, then scroll down to the Scripting section. In the 3rd column is Triggers. But I'll zip you through it here...
- In the library you want to send from, get into the entries list
- I'm assuming an Android or tablet. If you need a Desktop, let us know, and any of us can help you with that.
- In the top right corner, you'll see the 3 dots Beth was talking about, so tap it. A sidebar should flow in from the right.
- The main 20 options there are at the top with Edit Library and near the bottom with Scripts. Right now, we'll do Scripts, since it's a trigger. Scripts are for trigger or actions. Edit Library for JavaScript fields.
- One you hit Scripts, it'll ask you what kind. Pick Trigger.
- Then you'll see the trigger edit card.
- At the top is Event. Pick Creating a new entry.
- Next down is Phase. Pick After saving the entry.
- Then you have a toolbar for the script editor and then the editor itself.
- The main thing about the toolbar is the Play button (right-pointing triangle). It says to play (run) the script to test it.
- But first, let's enter your script. Copy it & paste it into the editor.
- Then do your best to fill in the blanks with your fields, text, and so on. ACTUALLY, start with the one I put into the wiki. Here is a paste of it...
// Send email example
// You must use the Object to specify SMTP configuration:
// SMTP server host, port, username, password, email address
var cfg = {"host" : "smtp.example.com" , "port":25,
"user":"username" , "pass":"password" , "from":"user...@example.com"};
email().send(cfg , "t...@email.com" , "Subject" , "Text");
This is the part that might be tricky. do your best & let us know if you need help. If you do that, be descriptive of what's going on on the screen, mayb attach a screenshot. Good luck.