Currently i integrated Formulate form.I am just exploring it.Right now i am not receiving any email.I am using just single field. I am testing it on my local system using visual studio.
Can you send me the files you have stored in ~/App_Data/Formulate/Json (that is where form definitions and handler configurations are stored)? That will help me troubleshoot this.
Also, are emails being sent from Umbraco otherwise (e.g., when you subscribe to a node and publish it)?
Normally i use smtp setting and use surface controller or .chtml file for sending email.Which work fine for me. Formulate is new package and i thought i need to explore it .I configure the smtp setting as Biagio Paruolo mentioned above.Right now i can not see any attachment option here.Can you tell me how i can send you the files?
If you were to use the SMTP settings exactly as Biagio recommended, that would not work. You have to enter proper credentials. If emails still aren't sending, I recommend checking the Umbraco log to see if there are email-/SMTP-related errors.
Can you tell me how i can send you the files?
Some file sharing services you might try include: Google Drive, Dropbox, Box.com. I personally tend to use Box.com (I have a paid account with them).
I configured the smtp setting.Can you share me the email address where i can share you the files.Google drive is a good option i believe .
I saw the log file and i found the exception below
System.Net.Mail.SmtpException: The SMTP server requires a secure connection or the client was not authenticated. The server response was: 5.7.0 Must issue a STARTTLS command first. e8sm1329640wjm.23 - gsmtp
at System.Net.Mail.MailCommand.CheckResponse(SmtpStatusCode statusCode, String response)
at System.Net.Mail.MailCommand.Send(SmtpConnection conn, Byte[] command, MailAddress from, Boolean allowUnicode)
at System.Net.Mail.SmtpTransport.SendMail(MailAddress sender, MailAddressCollection recipients, String deliveryNotify, Boolean allowUnicode, SmtpFailedRecipientException& exception)
at System.Net.Mail.SmtpClient.Send(MailMessage message)
at formulate.app.Forms.Handlers.Email.EmailHandler.HandleForm(Form form, IEnumerable1 data, Object configuration) in C:\r\formulate\src\formulate.app\Forms\Handlers\Email\EmailHandler.cs:line 171
at formulate.app.Forms.FormHandler1.HandleForm(Form form, IEnumerable`1 data) in C:\r\formulate\src\formulate.app\Forms\FormHandler.cs:line 132
at formulate.api.Submissions.<>cDisplayClass5_0.6() in C:\r\formulate\src\formulate.api\Submissions.cs:line 112
Ensure that whatever folder you indicate in that configuration exists on your file system. That will deliver emails to your file system as .eml files rather than sending them to actual email inboxes.
You would need to sign up for some email provider (Gmail, Amazon SES, etc.) and enter the credentials as indicated by that provider. And you are correct that it would look similar to the configuration you have shown for demonstration purposes. If you have your own exchange server (as your example seems to imply), you could also use that.
How i can access this url? Request URL:http://localhost:12948/umbraco/formulate/submissions/submit
Not sure what you mean. That looks like the URL Formulate submits data to using HTTP POST requests. It may not even respond to HTTP GET requests (the type of request that is performed when you visit a URL in your browser). I'm also unsure of why you'd want to "access" that URL manually, as it appears Formulate is successfully submitting data to that URL and then the email is failing because you have misconfigured SMTP in the web.config.
Email not Receiving
Email not Receiving
Currently i integrated Formulate form.I am just exploring it.Right now i am not receiving any email.I am using just single field. I am testing it on my local system using visual studio.
Have you configurete email into web.config?
Hi,
I did not configured.But after your reply i configured.But still i am not receiving any email.
Have you create the email handler in formulate?
http://www.formulate.rocks/simple-form
Yes,I created the handler and followed the mentioned instructions as well.
Can you send me the files you have stored in
~/App_Data/Formulate/Json
(that is where form definitions and handler configurations are stored)? That will help me troubleshoot this.Also, are emails being sent from Umbraco otherwise (e.g., when you subscribe to a node and publish it)?
Hi
Normally i use smtp setting and use surface controller or .chtml file for sending email.Which work fine for me. Formulate is new package and i thought i need to explore it .I configure the smtp setting as Biagio Paruolo mentioned above.Right now i can not see any attachment option here.Can you tell me how i can send you the files?
If you were to use the SMTP settings exactly as Biagio recommended, that would not work. You have to enter proper credentials. If emails still aren't sending, I recommend checking the Umbraco log to see if there are email-/SMTP-related errors.
Some file sharing services you might try include: Google Drive, Dropbox, Box.com. I personally tend to use Box.com (I have a paid account with them).
Hi ,
I configured the smtp setting.Can you share me the email address where i can share you the files.Google drive is a good option i believe .
I saw the log file and i found the exception below
System.Net.Mail.SmtpException: The SMTP server requires a secure connection or the client was not authenticated. The server response was: 5.7.0 Must issue a STARTTLS command first. e8sm1329640wjm.23 - gsmtp at System.Net.Mail.MailCommand.CheckResponse(SmtpStatusCode statusCode, String response) at System.Net.Mail.MailCommand.Send(SmtpConnection conn, Byte[] command, MailAddress from, Boolean allowUnicode) at System.Net.Mail.SmtpTransport.SendMail(MailAddress sender, MailAddressCollection recipients, String deliveryNotify, Boolean allowUnicode, SmtpFailedRecipientException& exception) at System.Net.Mail.SmtpClient.Send(MailMessage message) at formulate.app.Forms.Handlers.Email.EmailHandler.HandleForm(Form form, IEnumerable
1 data, Object configuration) in C:\r\formulate\src\formulate.app\Forms\Handlers\Email\EmailHandler.cs:line 171 at formulate.app.Forms.FormHandler
1.HandleForm(Form form, IEnumerable`1 data) in C:\r\formulate\src\formulate.app\Forms\FormHandler.cs:line 132 at formulate.api.Submissions.<>cDisplayClass5_0.6() in C:\r\formulate\src\formulate.api\Submissions.cs:line 112My code was only for example. Asad need to change server, login and password with your real data.
Yes i changed it.
Based on that stack trace, I'd say that your SMTP configuration is incorrect.
Try configuring it for delivery to the file system by following the instructions here: http://www.formulate.rocks/smtp-configuration
Ensure that whatever folder you indicate in that configuration exists on your file system. That will deliver emails to your file system as
.eml
files rather than sending them to actual email inboxes.You can then use this tool to view those email files: https://www.encryptomatic.com/viewer/
Hi Nicholas,
After I configured the SMTP in the web.config as your link suggest, I truly got the deliver emails into the file system as .eml files.
However how can I get them in the actual email inbox?
Do I need add the following codes in the web.config?
Thanks.
You would need to sign up for some email provider (Gmail, Amazon SES, etc.) and enter the credentials as indicated by that provider. And you are correct that it would look similar to the configuration you have shown for demonstration purposes. If you have your own exchange server (as your example seems to imply), you could also use that.
Hi Guys,
Still unable to track the problem.How i can access this url? Request URL:http://localhost:12948/umbraco/formulate/submissions/submit
As I mentioned above, your SMTP appears to be misconfigured. You can use this tool to test your SMTP configuration: https://github.com/rhythmagency/rhythm.win-smtp-client (download available here: https://github.com/rhythmagency/rhythm.win-smtp-client/releases)
Not sure what you mean. That looks like the URL Formulate submits data to using HTTP POST requests. It may not even respond to HTTP GET requests (the type of request that is performed when you visit a URL in your browser). I'm also unsure of why you'd want to "access" that URL manually, as it appears Formulate is successfully submitting data to that URL and then the email is failing because you have misconfigured SMTP in the web.config.
is working on a reply...