Doc2Form and smtp settings and not receiving mail!
Hi
I have set up a contact page that uses Doc2Form (I know, but I can't afford courier!), but I simply don't receive any emails other than setting up my web.config
if you aren't getting anything in the pickupdirectory then it suggests that the process is failing even before it hits the smtp server... so somewhere before the call to mail.send() in the code...
Doc2Form and smtp settings and not receiving mail!
Hi
I have set up a contact page that uses Doc2Form (I know, but I can't afford courier!), but I simply don't receive any emails other than setting up my web.config
<network host="smtp.hosts.co.uk" userName="mydomain.co.uk" password="*******" defaultCredentials="true" />
and setting the parameters, is there anything else I need to do to get it working?
<form runat="server">
<umbraco:Macro DocumentType="1345"
TabName="contact form"
PageTabs="0"
HideTabNames="1"
ShowDescriptions="0"
RequiredText=""
SubmitButtonText="Submit"
PreviousButtonText=""
NextButtonText=""
TextOnSubmit="Thankyou for your enquiry"
RedirectToNode="-1"
StorePropertiesInCookies=""
SendEmailResponse="0"
ResponseSubject=""
ResponseMessage=""
ResponseEmailFieldAlias=", "
ResponseCopyTo=""
EmailForm="0"
FormSubject=""
FormMessage=""
FormToEmailAddress="info@mydomain.co.uk"
FormFromEmailAddress="lee@somebodysdomain.co.uk"
UseAjax="0" DefaultValueNode=""
Alias="Doc2FormEmail"
runat="server"></umbraco:Macro>
</form>
Cheers
think you need default credentials="false" inorder to use the username and pwd you have added...
another test is..
exchange
for
assuming your host allows writing to the file system...
this checks to make sure that the message is getting out and then the issue is with you smtp settings/provider.
Thanks Mike
I changed the web.config to
<smtp deliveryMethod="SpecifiedPickupDirectory">
<specifiedPickupDirectory pickupDirectoryLocation="C:\TestMailMessages\" />
</smtp>
But nothing appears in the folder?
looks like it could be an issue wih the actual code then.. :-( ie mails aren't even being attempted to be sent.
Do you mean there is an issue with Doc2Form?
if you aren't getting anything in the pickupdirectory then it suggests that the process is failing even before it hits the smtp server... so somewhere before the call to mail.send() in the code...
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.