Announcement

Collapse
No announcement yet.

"Contact Us" e-mail and "Sales" e-mail the same ?

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

    "Contact Us" e-mail and "Sales" e-mail the same ?

    Hi,

    On my site which is a Digital Download site, i have two mail addresses set up

    sales@esafetysigns.co.uk, and
    contactus@esafetysigns.co.uk

    In my business settings i list the e-mail sales@esafetysigns.co.uk and when someone buys something, the e-mail they get comes from Sales.... great!!!!!

    However, when someone uses the Contact Us page they also get a mail from Sales ... not so great??

    How can i change this e-mail address??

    Thanks, S.
    esafetysigns.co.uk
    your instant download portal for self printable health and safety signs and posters
    ... download once use as many times as you like !


    http://www.esafetysigns.co.uk/index.html
    http://www.esafetysigns.co.uk/acatalog/index.html

    #2
    The 'thank you' email is generated by the following code in MailForm.pl:

    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];
    }
    The 'sender' is set by $$::g_pSetupBlob{EMAIL} which is the shop's email in the configuration data. This will be set to the 'sales' email.
    You could edit MailForm.pl to replace $$::g_pSetupBlob{EMAIL} with the contactus email (in double-quotes).
    See other posts about spam arising from this automatically generated email.

    Alan Compton
    www.greenknightgames.co.uk
    Great board games and cards games you won't find in the High Street

    Comment

    Working...
    X