Announcement

Collapse
No announcement yet.

Integration receipt sendmail with mailing system

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

    Integration receipt sendmail with mailing system

    We have an third party email system called Auto-Responder Plus for our Actinic web-site www.tv-wall-brackets.co.uk.

    When the check-out process is complete, we need an email to be sent to a specific email address which is related to the system, which will subscribe them to a series of subsequent emails.

    Thing is, the email should be sent "From: " the customers email address. Ideally, I'd want a little script on the receipt page, which will do this automatically.

    I have already re-jigged the SecPay checkout process to ENSURE that the user gains a confirmation email by bouncing to the receipt page, but now I need something extra on the receipt page, to automatically fire off this email - containing only the users email address in the From field, nothing else required!

    I have attempted using PHP (as in the Advanced Users Guide) on this page, but Sendmail just won't work. Therefore, is there a bit of CGI-Perl script that can be bunged in somewhere?

    Alternatively, is there a .pl file which someone can point me to, where I'll can manually edit the script in order to send another email (as well as the confirmation one) to the specified address, but From: the users address and not the standard info@tv-wall... etc one.

    Anyone understand what I'm trying to achieve?!
    Sam Davis
    Bright Light Media Ltd

    #2
    I can see what you are trying to achieve, and it is easy to do without turning yourself into a sp @ mmer (sending mail as though it came from other people - tut tut)

    Just put the link nice and prominently on the page and use a mailto: in front of the address. Mailto: will open their desktop email client with the To: address prefilled, and their software will take care of the From; address.
    Bill
    www.egyptianwonders.co.uk
    Text directoryWorldwide Actinic(TM) shops
    BC Ness Solutions Support services, custom software
    Registered Microsoft™ Partner (ISV)
    VoIP UK: 0131 208 0605
    Located: Alexandria, EGYPT

    Comment


      #3
      You need to check that your hosting company has 'sendmail' enabled for the script to work.

      Alternatively, you could use a rule in Outlook to acheive this.
      Simon Williams
      Actinic Designer v.8.5.2.0.0.0.HMVA

      Comment


        #4
        Thanks for the advice, we'd rather have an automated process rather than the user having to click anything.

        We've really had to streamline Actinic to an incredible amnount to get the site to do what we want to, so having a mailto: link isn't really for us. Especially if they don't have OE it could be a nightmare.

        I have tried, as I say, to get PHP to send it automaticyally, but it simply won't work - I'm assuming this is because it is on a .pl page instead of .php? It comes up with some error saying it needs From: in the $from_header, but it is definitely there - and the same script works on other pages.

        Our sendmail works from other areas of our site including Tell-A-Friend, Will This Bracket Fit My TV, on pages such as this..
        http://www.tv-wall-brackets.co.uk/page-27.html

        So I deally I need a cgi/perl guru, who can point in the right direction to tell me, which .pl file activates the receipt email, and then hopefully I might be able to play about with it to send another email (even if it the same one it doesn't matter) to this other email system, containing the users' email address.

        Phew!
        Sam Davis
        Bright Light Media Ltd

        Comment


          #5
          I don't know perl but have a dig in actinic.pm - I think it's done in there.

          Comment

          Working...
          X