I'm just getting started with Umbraco and have a couple of very basic questions. I'm troubleshooting an e-mail issue (not receiving e-mail through the contact form) for a friend's site and his developer just disappeared on him. I've never used Umbraco. I've looked around the backend and installed WebMatrix. I've searched the forums and see references to similar e-mail issues, but all of the solutions reference things I don't even see. For instance, this post gives instructions on reviewing the workflow, but I don't even see how to get to a workflow. Where is this? Can someone help point me in the right direction? I feel completely lost...
For the Umbraco site to be able to send email, one thing it needs to have setup (and therefore could be your problem here!) is a valid SMTP server configuration... So any requests to send mail are passed onto the relevant SMTP server to actually do the complicated bit about sending. The SMTP server could be on the server the site is hosted on, a company's SMTP server or an external SMTP service...
The configuration is in the web.config file in the root of the Umbraco application: eg
so I would check these settings exists, and are pointing at a real server/service, and the server where the Umbraco site is hosted is allowed to connect to the configured server/service.
just to test if the actual email is being created correctly, if so a message will be created in the /app_data/mail folder (nb it won't be sent!!)
If your form is created with the Umbraco Forms / Contour plugin - then when the form is filled in and submitted on your site, the plugin looks for any 'workflows' associated with the form, and run these with the completed details - one of the built in workflows is to send an email - so another consideration is that you might have the form setup perfectly correctly but no associated workflow.
If you are not using Umbraco Forms / Contour, then it's likely your form is created using a custom 'SurfaceController' if you look at the view that contains the form, there will be a statement similar to
@using BeginUmbracoForm("Submit","ContactUs") {
this will tell you the form is handled by a ContactUsController's Submit action, and that is the place to look to set a breakpoint in visual studio and step through to find the error when the mail is finally sent.
Thank you very much for the detailed response. I'll give this a shot. Just waiting to get the hosting credentials. Trying to put all the pieces together since I'm coming in blind. Wish me luck! Thanks again.
Not receiving e-mail
Hi all,
I'm just getting started with Umbraco and have a couple of very basic questions. I'm troubleshooting an e-mail issue (not receiving e-mail through the contact form) for a friend's site and his developer just disappeared on him. I've never used Umbraco. I've looked around the backend and installed WebMatrix. I've searched the forums and see references to similar e-mail issues, but all of the solutions reference things I don't even see. For instance, this post gives instructions on reviewing the workflow, but I don't even see how to get to a workflow. Where is this? Can someone help point me in the right direction? I feel completely lost...
Hi CJ
For the Umbraco site to be able to send email, one thing it needs to have setup (and therefore could be your problem here!) is a valid SMTP server configuration... So any requests to send mail are passed onto the relevant SMTP server to actually do the complicated bit about sending. The SMTP server could be on the server the site is hosted on, a company's SMTP server or an external SMTP service...
The configuration is in the web.config file in the root of the Umbraco application: eg
so I would check these settings exists, and are pointing at a real server/service, and the server where the Umbraco site is hosted is allowed to connect to the configured server/service.
Sometimes I'll set the SMTP to use a local file:
just to test if the actual email is being created correctly, if so a message will be created in the /app_data/mail folder (nb it won't be sent!!)
If your form is created with the Umbraco Forms / Contour plugin - then when the form is filled in and submitted on your site, the plugin looks for any 'workflows' associated with the form, and run these with the completed details - one of the built in workflows is to send an email - so another consideration is that you might have the form setup perfectly correctly but no associated workflow.
If you are not using Umbraco Forms / Contour, then it's likely your form is created using a custom 'SurfaceController' if you look at the view that contains the form, there will be a statement similar to
this will tell you the form is handled by a ContactUsController's Submit action, and that is the place to look to set a breakpoint in visual studio and step through to find the error when the mail is finally sent.
regards
Marc
Thank you very much for the detailed response. I'll give this a shot. Just waiting to get the hosting credentials. Trying to put all the pieces together since I'm coming in blind. Wish me luck! Thanks again.
good luck!
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.