Announcement

Collapse
No announcement yet.

Change email subject using Actinic Designer

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

    #16
    Thanks Mike
    I've added the line to just after
    Code:
    my ($sSmtpServer, $sEmailAddress, $sSubjectText, $sMessageText, $sReturnAddress) = @_;
    so it now reads
    Code:
    my ($sSmtpServer, $sEmailAddress, $sSubjectText, $sMessageText, $sReturnAddress) = @_;
        $sSubjectText =~ s/Order Shipped/Order Info/g;
    Is this the right place? It doesn't appear to make any difference to the mail subject there I'm afraid...
    The Pretty Dress Company

    Comment


      #17
      Make a big change like:

      $sSubjectText = 'YOUR ORDER';

      Upload, make a test, and if you don't see that then the patch needs done elsewhere.
      Norman - www.drillpine.biz
      Edinburgh, U K / Bitez, Turkey

      Comment


        #18
        That should do it.

        It is case sensitive. My version of Actinic has a lower case 's' in shipped. Check what yours has.

        Mike

        PS. Norman's advice is good to check you're editing the right file in the right place.
        -----------------------------------------

        First Tackle - Fly Fishing and Game Angling

        -----------------------------------------

        Comment


          #19
          There is also a possibility that these emails are being dispatched via the MailScript.pl script.

          If so, they don't use sub SendMail but instead call sub SendRichMail instead. So move the patch to sub SendRichMail (in ACTINIC.pm), just after:
          Code:
           	my ($sSmtpServer, $sEmailAddress, $sLocalError, $sSubjectText, $sMessageText, $sMessageHTML, $sBoundary, $sReturnAddress);
          	($sSmtpServer, $sEmailAddress, $sSubjectText, $sMessageText, $sMessageHTML, $sReturnAddress) = @_;
          Norman - www.drillpine.biz
          Edinburgh, U K / Bitez, Turkey

          Comment


            #20
            Thanks guys, I'm going to try each possible solution and upload and test in turn.

            Just remotely logged into my clients Catalog pc to see if I could amend it at source (a thread I read from 2005 seemed to suggest it was possible) but that's no go - it seems you can only change the email subject on an individual basis
            The Pretty Dress Company

            Comment


              #21
              Probably best to try my post #19 first. This will catch all Subjects, regardless of where they come from.
              Norman - www.drillpine.biz
              Edinburgh, U K / Bitez, Turkey

              Comment


                #22
                Originally posted by NormanRouxel View Post
                Probably best to try my post #19 first. This will catch all Subjects, regardless of where they come from.
                Yeah I just tried that Norman - it didn't make any difference so I'm afraid it's back to the drawing board I think. May just get the client to change it on each individual email until I find a solution.
                The Pretty Dress Company

                Comment


                  #23
                  Worked first time for me. I used:

                  Code:
                  	my ($sSmtpServer, $sEmailAddress, $sLocalError, $sSubjectText, $sMessageText, $sMessageHTML, $sBoundary, $sReturnAddress);
                  	($sSmtpServer, $sEmailAddress, $sSubjectText, $sMessageText, $sMessageHTML, $sReturnAddress) = @_;
                  	$sSubjectText =~ s/Shipped/Information/i;
                  And received:

                  Drillpine Ltd : Order DEMO0000000002 : Order Information Email
                  Norman - www.drillpine.biz
                  Edinburgh, U K / Bitez, Turkey

                  Comment


                    #24
                    Originally posted by NormanRouxel View Post
                    Worked first time for me. I used:

                    Code:
                        my ($sSmtpServer, $sEmailAddress, $sLocalError, $sSubjectText, $sMessageText, $sMessageHTML, $sBoundary, $sReturnAddress);
                        ($sSmtpServer, $sEmailAddress, $sSubjectText, $sMessageText, $sMessageHTML, $sReturnAddress) = @_;
                        $sSubjectText =~ s/Shipped/Information/i;
                    And received:

                    Drillpine Ltd : Order DEMO0000000002 : Order Information Email
                    Hmm - and that is sub SendRichMail snippet? Ok, I'm trying it again - I'll let you know what happens
                    The Pretty Dress Company

                    Comment


                      #25
                      Thanks Norman - that worked a treat, I feel a bit of a numpty now - I assumed that when I clicked 'new' to send an email and the order shipped email popped up and it still had 'Order Shipped' in the subject that it would send that subject, of course with hindsight I can see that the change occurs after clicking send - where's that palm meets forehead pic when it's needed?!

                      Thanks to you, Mike and Duncan for all your help and being patient with me!

                      How does it go again?
                      Why do things that only happen to stupid people always happen to me?
                      The Pretty Dress Company

                      Comment


                        #26
                        Here you go Mick, i think you deserve a double one

                        Comment


                          #27
                          Thanks Lee - knew I could count on you!
                          The Pretty Dress Company

                          Comment

                          Working...
                          X