Announcement

Collapse
No announcement yet.

Block an email address

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

    Block an email address

    We have a rather computer illiterate customer that insists on using an email address that doesn't belong to her. This has generated spam complaints from the real owner such that out host will withdraw our account if it persists. Is there a way of blocking that specific address until we can sort this out, say, by modifying perl scripts or adding javascript somewhere? The address is in the form XXXXXXXX@hotmail.com - we only want to block the XXXXXXXX bit not hotmail addresses in general. Many thanks.
    www.silvermoonbeads.com - Gemstones, Pearls, Hill Tribe sterling silver, Swarovski and Findings.

    #2
    Luckily there's an email address checker (it tests for both being the same) in actinicextras.js that we can tweak to do this.

    Edit actinicextras.js and look for the lines:
    Code:
    			if (elemEmail.style.display != 'none' && elemEmail.value != elemThis.value)
    				{
    				var sMsg = GetLabelText(elemThis) + "\n\n";
    				sMsg += "'" + elemThis.value + "' does not match '" + elemEmail.value + "'";
    				alert(sMsg);
    				elemThis.focus();
    				return false;
    				}
    Immediately after these lines add the following:
    Code:
    			if ( (elemEmail.style.display != 'none') && (elemEmail.value.indexOf('xxxxxx@hotmail.com') > -1) )
    				{
    				alert('PBKAC! This email address in invalid.');
    				elemThis.focus();
    				return false;
    				}
    Change the xxxxxx@hotmail.com and PBKAC! This email address is invalid. to suit.
    Norman - www.drillpine.biz
    Edinburgh, U K / Bitez, Turkey

    Comment


      #3
      If you use Outlook you can ban a person under Junk Mail settings
      Chris Ashdown

      Comment


        #4
        Chris,

        They're an idiot who is entering someone else's email address when making Actinic orders. Confirmation email is going from the Actinic scripts to the wrong person.

        You can't ask the victim to ban their own email address in their email client. It has to stop the perpetrator so has to be done in Actinic.

        That's why I put PBKAC in the warning message. It will only be seen by that person and I hope they look it up in the Urban Dictionary or similar.
        Norman - www.drillpine.biz
        Edinburgh, U K / Bitez, Turkey

        Comment


          #5
          pmsl @ PBKAC, you could have added YFT in brackets after too.

          Comment


            #6
            All,

            Thank you for your help in this matter. Norman has hit the nail squarely on the head - a perfect solution for a PBKAC.
            www.silvermoonbeads.com - Gemstones, Pearls, Hill Tribe sterling silver, Swarovski and Findings.

            Comment


              #7
              Thanks Norman - we have a customer who never manages to put the .com after the @aol bit. Freak knows how this allows her to get through the checkout and onto the PSP pages, but it does.

              Yes I know, no surprise that she's an aol customer
              Reusable Snore Earplugs : Sample Earplugs - Wax Earplugs - Women's Earplugs - Children's Earplugs - Music Earplugs - Sleep Masks

              Comment


                #8
                Even on the contact form I am tempted to put "confirm your incorrect email address" as they get this wrong twice regularly.
                https://www.harrisontelescopes.co.uk/

                Ed Harrison - Menmuir Scotland

                Comment


                  #9
                  Originally posted by guccij View Post
                  Thanks Norman - we have a customer who never manages to put the .com after the @aol bit. Freak knows how this allows her to get through the checkout and onto the PSP pages, but it does.

                  Yes I know, no surprise that she's an aol customer
                  You only need an @ in the field to qualify as a valid email address.

                  Comment

                  Working...
                  X