Announcement

Collapse
No announcement yet.

URGNET: Disable email confirmation on contact form

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    URGNET: Disable email confirmation on contact form

    Hi,

    We need to disable the receipt email that gets sent to a customer if they fill out the mail form on an actinic version 7 site as a matter of urgency.

    In this instance it is mf000002.pl?ACTION=SHOWFORM

    Any one got a quick hack or idea for this please let me know

    Thanks in advance

    Jez

    www.ProSite.co.uk
    Last edited by prosite; 09-Feb-2007, 02:42 PM. Reason: spelling!
    --------------------
    www.ProSite.co.uk

    #2
    Hi Jez,

    Guess you already have the solution for this one, but for the others who may want to do this...

    Open 'MailForm.pl' with notepad
    Search for '# Send the same message to the sender'

    You should see this code:
    # Send the same message to the sender
    # Withe a "thank you" prefix
    #
    $sTextMailBody = ACTINIC::GetPhrase(-1, 2379) . "\r\n\r\n" . $sTextMailBody;
    my @Response = ACTINIC::SendMail($::g_sSmtpServer, $sEmailRecpt, $sSubject, $sTextMailBody, $$::g_pSetupBlob{EMAIL});
    if ($Response[0] != $::SUCCESS)
    {
    ACTINIC::RecordErrors($Response[1], ACTINIC::GetPath());
    $sError = $Response[1];
    }
    Comment out the lines starting from '$sTextMailBody' by putting a '#' before the start of the line. Save the file and update the site.

    Kind regards,
    Bruce King
    SellerDeck

    Comment

    Working...
    X