ohmyform / ohmyform

✏️ Free open source alternative to TypeForm, TellForm, or Google Forms ⛺

Home Page:https://ohmyform.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Notification Fields not working

JustinBack opened this issue · comments

Just checked out ohmyform today and it looks great!

One major issue being is that notifications are not working as no sender or receiver field can be saved (they are displayed properly though! Also a Guide on how to use HTML Templating would be nice as MJLM is not really extensive enough?)

Step 1:

Create proper fields and assign the notification properties to it:

image

Step 2:

Save the fields, it seems the proper ids are saved in the dropdowns

image

Step 3:

Reload page and see that nothing is saved.

image

Upon sending the form a no recipient error occurs.



":50,"time":1659483646657,"pid":66,"hostname":"5ffb8d1f3462","req":{"id":44,"method":"POST","url":"/graphql","query":{},"params":{"0":"graphql"},"headers":{"host":"****","x-real-ip":"172.31.0.3","x-forwarded-for":"*****","x-forwarded-proto":"http","connection":"upgrade","content-length":"243","user-agent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.0 Safari/605.1.15","accept":"*/*","accept-encoding":"gzip, deflate, br","accept-language":"de-DE,de;q=0.9","authorization":"*****","content-type":"application/json","cookie":"*****; YII_CSRF_TOKEN=SjFSSlNjaF9scnFFTnFsSmRVWTFPV0tlNG5kclFqWW4F4da1VjZ_ishn5E9HtsPnZX9uNXC3uJXvqPPYQqh89A%3D%3D","origin":"*****","referer":"*****","uber-trace-id":"0ea94cb381120040:0a5487fe6c98a568:4b8bd608ba459fd9:1","x-forwarded-host":"*****","x-forwarded-port":"443","x-forwarded-server":"9e53e8115889"},"remoteAddress":"::ffff:127.0.0.1","remotePort":53674},"context":"SubmissionSetFieldService","submission":5,"form":1,"error":{"code":"EENVELOPE","command":"API","name":"Error","message":"No recipients defined","stack":"Error: No recipients defined\n    at SMTPConnection._formatError (/usr/src/api/node_modules/nodemailer/lib/smtp-connection/index.js:784:19)\n    at SMTPConnection._setEnvelope (/usr/src/api/node_modules/nodemailer/lib/smtp-connection/index.js:1001:34)\n    at SMTPConnection.send (/usr/src/api/node_modules/nodemailer/lib/smtp-connection/index.js:615:14)\n    at sendMessage (/usr/src/api/node_modules/nodemailer/lib/smtp-transport/index.js:227:28)\n    at /usr/src/api/node_modules/nodemailer/lib/smtp-transport/index.js:285:25\n    at SMTPConnection._actionAUTHComplete (/usr/src/api/node_modules/nodemailer/lib/smtp-connection/index.js:1550:9)\n    at SMTPConnection.<anonymous> (/usr/src/api/node_modules/nodemailer/lib/smtp-connection/index.js:540:26)\n    at SMTPConnection._processResponse (/usr/src/api/node_modules/nodemailer/lib/smtp-connection/index.js:947:20)\n    at SMTPConnection._onData (/usr/src/api/node_modules/nodemailer/lib/smtp-connection/index.js:749:14)\n    at TLSSocket.SMTPConnection._onSocketData (/usr/src/api/node_modules/nodemailer/lib/smtp-connection/index.js:189:44)"},"msg":"failed to send notifications"}

Any idea how to fix this? Sadly without notifications its not usable for me. Thanks