Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Jamy 7 posts 27 karma points
    Mar 09, 2010 @ 00:21
    Jamy
    0

    Runway Contact form not emailing as expected

    umbraco v 4.0.3 (Assembly version: 1.0.3625.27276)

    I have changed the smtp settings in the web.config and the "subject" and "your email" fields in the contact form macro.

    I have saved and published everything as well.

    When I fill out the form and press the "send email" button it posts and changes the button to a green color and says "Email Send". It does not actually send any email out.

    If I created a standard asp.net 2.0 website and copy the web.config info and use the same subject and your email information in the click event of a button it sends the email with no problem.

    Anyone have any suggestions to try?

    Jamy

  • Dirk De Grave 4541 posts 6021 karma points MVP 3x admin c-trib
    Mar 09, 2010 @ 08:39
    Dirk De Grave
    0

    Jamy,

    whenever I'm developing an app that requires email sending, i use this config to avoid having to send real email msg and still be able to verify whether an mail has actually been sent:

    <mailSettings>
      <smtp deliveryMethod="SpecifiedPickupDirectory" from="[email protected]">
        <specifiedPickupDirectory pickupDirectoryLocation="C:\MailFolder" />
      </smtp>
    </mailSettings>

    If the mail gets delivered in local C:\MailFolder folder, then business logic of app is ok and you'll have to start checking whether your server is setup correctly, whether email don't get blocked somewhere (spam filters, firewalls, whatever...)

     

    Cheers,

    /Dirk

  • Jamy 7 posts 27 karma points
    Mar 10, 2010 @ 04:36
    Jamy
    0

     

    Dirk,

    Thank you I will try this now and get back to you.

    I did not know you could do this. This is a great tip.

    Jamy

  • Jamy 7 posts 27 karma points
    Mar 10, 2010 @ 05:56
    Jamy
    0

    Dirk,

    I have tried as you suggested and the results when submitting the for are the same (the form posts back and the "send email" button turns into a green label stating "Email send").

    I don't get an error anywhere. When checking "C:\MailFolder" it remains empty.

    Jamy

  • Dirk De Grave 4541 posts 6021 karma points MVP 3x admin c-trib
    Mar 10, 2010 @ 09:19
    Dirk De Grave
    0

    Probably won't help you, but can you check the umbracoLog table and see if that reveals anything? Sounds odd that mails don't get sent out, even with the specified config. 

    I may check v403 in combo with CWS tonight, see if I can repro this behaviour!

     

    Cheers,

    /Dirk

  • Jamy 7 posts 27 karma points
    Mar 11, 2010 @ 05:50
    Jamy
    0

    Dirk,

    Good call on looking at the umbracoLog table. Sure enough there was an exception there. I was complaining about a malformed subject line. I selected the form and edited the macro parameters and there was an \r\n in there before the word 'form' which I removed. I saved and tested with the same results as before. I then when back into edit mode and selected all visible text and deleted it, then added a new subject line. This did the trick, it is working now. That is very strange it did this on two separate installations (one on my test server and one at my hosting provider) and nothing was copied between them.

    Thanks for your helpful tips.

    Jamy

  • MartinB 411 posts 512 karma points
    Jun 02, 2010 @ 23:18
    MartinB
    0

    I have a problem where only the text entered in the textarea field is registered in the mail sent to C:\MailFolder

    I want to have a look at this umbracoLog, but how to do that?

    I'm such a newb :(

  • MartinB 411 posts 512 karma points
    Jun 03, 2010 @ 21:06
    MartinB
    0

    Anyone? :(

  • Douglas Robar 3570 posts 4711 karma points MVP ∞ admin c-trib
    Jun 03, 2010 @ 21:16
    Douglas Robar
    1

    The umbracoLog is a table in your umbraco database. You'll need to have access to the database (MS SQL Server Management Studio, for instance) and then you can open your database, expand the tables to find the umbracoLog table, and then display the entries with a quick query (such as, select * from umbracoLog)

    You could also use Umbraco Concierge, Client Tools for Umbraco, LogViewer, or a few other packages (both paid and free) to see the contents of the log table if you don't have access to the database directly.

    cheers,
    doug.

  • MartinB 411 posts 512 karma points
    Jun 04, 2010 @ 18:09
    MartinB
    0

    Hi Douglas

    Thanks for your reply. I'll have a look into it

     

Please Sign in or register to post replies

Write your reply to:

Draft