Copied to clipboard

Flag this post as spam?

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


  • tarekahf 215 posts 153 karma points
    Sep 06, 2009 @ 03:52
    tarekahf
    0

    Runway Contact Form - Long Subject String will cause send email to fail.

    Installed umbraco v 4.0.2.1 (Assembly version: 1.0.3441.17657) under Windows XP + IIS 5.1, and every thing is OK.

    Setup IIS SMTP Service successfully.

    Installed the Runway module, including the Contact Form.

    The contact form is working properly, and the emails are being sent as expected.

    The only problem is that if you setup the subject to a value like "This is a very long subject", the email are not being sent. Basically, no errors are reported, and nothing happens.

    If I hard code the string value "This is a very long subject" inside the code-behind "Contact.ascx,cs" as follows:

    umbraco.library.SendMail(tb_email.Text, yourEmail, "This is a very long subject", tb_msg.Text, true);

    it works successfully, the the email is sent.

    But, if I make it like this:

    umbraco.library.SendMail(tb_email.Text, yourEmail, subject, tb_msg.Text, true);

    nothing happens, no errors, and no email is being sent.

    What is the problem ?

    Reported this in codeplex: http://bit.ly/j0AMB.

    Tarek.

  • tarekahf 215 posts 153 karma points
    Feb 02, 2010 @ 10:53
    tarekahf
    0

    The correct link in codeplex is:

    http://bit.ly/j0AMB

    Appreciate your help.

    Tarek.

  • tarekahf 215 posts 153 karma points
    Feb 02, 2010 @ 10:54
    tarekahf
    0

    Sorry for multiple posts ! I cannot edit a previous post.

    I have tested the same under Umbraco 4.0.3, and still same problem as posted in the first post above.

    Tarek.

Please Sign in or register to post replies

Write your reply to:

Draft