Announcement

Collapse
No announcement yet.

Order shipped emails returned as spam rejects

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

    Order shipped emails returned as spam rejects

    I recently changed the company name and now the new name seems to be generating a lot of spam rejections from the likes of yahoo and hotmail servers for the customer order shipped email.

    I know the question about changing the subject line has been covered partially in the past (mostly relating to the order number) and there were concerns around changing scripts.

    I'd rather just remove the company name from the subject title and keep the order number, etc. but it looks like an edit to orderscript.pl or similar. I'm not sure what to change on orderscript.pl to remove the company name. from the subject line or whether it's created elsewhere.

    I know I could change the company name from business settings but it's sed so much throughout the system that it would cause too many issues. also know I could edit every email going out to remove the name each time but that's not a task I want to add to the daily workload.

    Could the devs tell me where I could go to suppress the company name from the subject line please?

    Thanks

    John
    http://www.strawberry-tiger.co.uk
    Practical parenting products for babies and toddlers covering safety, development, sun protection, clothing, health, bedroom, nursery, travel, etc.

    #2
    The 'Order Shipped' email is sent from the PC rather than the server so the solution won't be found in the perl scripts. Other threads that refer to editing the perl scripts were probably talking about the 'order received' email that does get sent from the server.

    I know you can now edit the 'order shipped' email from within actinic, but whether that includes the title I don't know. Maybe someone else can help out.

    Mike
    -----------------------------------------

    First Tackle - Fly Fishing and Game Angling

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

    Comment


      #3
      The 'Order Shipped' email is sent from the PC rather than the server ...
      I think that the PC actually communicates with the Server to upload the email and the server sends the email out.

      So although you initiate these emails from the backoffice PC, it's the website server that's sending them using basically the same mechanism as for the customer emails and the order confirmation.
      Norman - www.drillpine.biz
      Edinburgh, U K / Bitez, Turkey

      Comment


        #4
        Thanks guys.

        I'm pretty sure that the issue I'm raising is actually Actinic though. For example:

        In Actinic 8, if I select a customer order line, bring up the details and go to the mail tab I can see mails that I've sent to customers - usually I just send the shipped email. There's a button to create a new email using whichever layout I choose.

        For the order shipped email layout, the subject title contains (in order): Company name, Order number, "Order shipped Email".

        The same format applies to other layouts with the text at the end changing accordingly.

        So you can see that Actinic is generating this subject title. I want to get Actinic to leave out the Company_Name from the subject title.

        It's not a library text option, a design layout change, or business settings.

        It does look like a script generated line based on the system held company name. If I change the company name it reflects it into the email subject. However doing that has far reaching affects so I'd rather edit the script that adds the name to the emails.

        I get a lot of email addresses with Yahoo and Hotmail that it's a real problem getting so many returns from their spam filters.

        Thanks

        John
        http://www.strawberry-tiger.co.uk
        Practical parenting products for babies and toddlers covering safety, development, sun protection, clothing, health, bedroom, nursery, travel, etc.

        Comment


          #5
          The email templates are available via the Design tab. Select this then look in the Select Page Type drop-down list.

          Or via Design / Library / Layouts / Email Outer Layout.

          EDIT. Ahhh! You want to alter the Subject field and that's not available in these layouts. Not sure how you'd go about this.
          Norman - www.drillpine.biz
          Edinburgh, U K / Bitez, Turkey

          Comment


            #6
            That's it Norman.

            I've checked through layouts and text fields, it's not there. In older versions of Actinic I saw Chris refer to field 234 which still exists but just has the prompt for "order number:".

            I'm certain it's a script change and looking at orderscript.pl I can see mention of $sSubject but I can't see any section of the script that seems to build up the subject line.

            I would expect something that adds company_name, order number, and the text at the end of the subject line together as a string but I can't see it anywhere. I do see $sSubject and it makes we wonder whether it's being done elsewhere.

            Correction: $sSubject
            http://www.strawberry-tiger.co.uk
            Practical parenting products for babies and toddlers covering safety, development, sun protection, clothing, health, bedroom, nursery, travel, etc.

            Comment


              #7
              Any changes you make to the perl scripts won't affect the order shipped email as it's generated on the PC.

              The only way you could change it in the perl scripts would be to parse the subject field of all emails, find the appropriate string for 'order shipped' and then strip out the company name.

              Mike
              -----------------------------------------

              First Tackle - Fly Fishing and Game Angling

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

              Comment


                #8
                Ah! I see what you mean.

                The scripts are running on the website so can't affect what I'm doing on the PC such as generating a shipped email.

                In fact I would like to edit it out of the website generated messages as well as these are also rejected occasionally.

                So what I need is a change to the PC application side of Actinic. Obviously if it's hard coded in the application then I've got no chance of changing it but I wonder whether there's some sort of config file used that could be edited?
                http://www.strawberry-tiger.co.uk
                Practical parenting products for babies and toddlers covering safety, development, sun protection, clothing, health, bedroom, nursery, travel, etc.

                Comment


                  #9
                  I'm pretty sure this is hard coded deep within the application itself. That certainly used to be the case.

                  If you want it removed from all the emails then a search/replace mod to the perl script is probably the easiest way to do it. The location of the emailing bit is well known and Norman has previously published a sendmail alternative.

                  I would have thought that a mod to take the subject line and replace a string within it wouldn't be too hard for someone who knows perl.

                  Mike

                  Edit: Is it really as easy as doing:

                  $string1 =~ s/apples/oranges/g;

                  on the subject line?
                  -----------------------------------------

                  First Tackle - Fly Fishing and Game Angling

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

                  Comment


                    #10
                    Thanks Mike,

                    I think you're right.
                    http://www.strawberry-tiger.co.uk
                    Practical parenting products for babies and toddlers covering safety, development, sun protection, clothing, health, bedroom, nursery, travel, etc.

                    Comment


                      #11
                      Let us know how you get on.

                      Mike
                      -----------------------------------------

                      First Tackle - Fly Fishing and Game Angling

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

                      Comment


                        #12
                        Edit Actinic.pm (in Site1).

                        Look for
                        Code:
                        ($sSmtpServer, $sEmailAddress, $sSubjectText, $sMessageText, $sMessageHTML, $sReturnAddress) = @_;
                        Add the following below this
                        Code:
                        $sSubjectText =~ s/apples/oranges/g;
                        Where apples is the original text and oranges is what you want instead.

                        Alternatively just override. E.g.
                        Code:
                        $sSubjectText = 'Message from mysite.com';
                        Norman - www.drillpine.biz
                        Edinburgh, U K / Bitez, Turkey

                        Comment


                          #13
                          Thanks Norman, that's great.

                          I've searched through the contents of files in the application folders and there seems to be nothing that relates to the subject line. It must be deep coded as you said Mike.

                          I'm going to try signing up to hotmail and yahoo and switch on their spam filters to see whether I can change the company name slightly to recreate the false positives problem and see if I can get the emails coming through. Perhaps a hiphen between the words might help.
                          http://www.strawberry-tiger.co.uk
                          Practical parenting products for babies and toddlers covering safety, development, sun protection, clothing, health, bedroom, nursery, travel, etc.

                          Comment


                            #14
                            Well,

                            I've setup a yahoo and hotmail account and tried emailing myself messages from my business email account.

                            Yahoo is marking all emails from ...@strawberry-tiger.co.uk as spam.

                            If I keep the same subject like e.g.

                            Strawberry Tiger Ltd : Order JF27QU10345610 : Order Shipped Email

                            but send it from a different email account it goes through the spam filter no problem. In this instance, they're filtering based on the email address rather than the subject line.

                            So these systems just dislike my new business name -


                            Hotmail isn't working yet but I'd wager that's doing something very similar.
                            http://www.strawberry-tiger.co.uk
                            Practical parenting products for babies and toddlers covering safety, development, sun protection, clothing, health, bedroom, nursery, travel, etc.

                            Comment


                              #15
                              Strange.

                              It looks like you're on a pinbrook dedicated server and your IP address is listed on one spam blacklist. See http://psbl.surriel.com/listing?ip=80.243.176.30

                              They have some examples of spam that recently came from your servers IP address and this could be what is causing you the problem.

                              Thinking about this it could be that it's the pinbrook email server that the spam is coming from. Looks to me like one of Pinbrooks clients might have a compromised PC.

                              Received: from mail.hostedservice.co.uk ([80.243.176.30] helo=mail.altaire.co.uk)

                              I suggest you get Jo involved in helping you on this.

                              Mike

                              PS. I meant to say. The spam coming from the email server is of the type with Nigerians wanting to give you lots of money. It looks like real spam to me.
                              -----------------------------------------

                              First Tackle - Fly Fishing and Game Angling

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

                              Comment

                              Working...
                              X