Results 1 to 4 of 4

Thread: Opt-out link returns "Not A Valid Entry Point"

  1. #1
    CharlieArmor is offline Sugar Community Member
    Join Date
    Aug 2006
    Posts
    21

    Post Wrong URL to removeme.php opt-out page

    Sugar Community Edition
    Version 5.1.0 (Build 4732)
    Debian Etch

    I'm trying to create an Email campaign for the first time using Sugar 5.1 and can't get the opt-out link to removeme.php working.

    I have tried defining the campaign manually and via the wizard, both with the same result.

    Create a campaign and associate it with a "test" target list.
    Create a tracker URL called EmailOptOut, tick the "Opt-out link" checkbox (the tracker URL is then populated automatically)
    Create a template email and insert the EmailOptOut link

    When I send the emails the URL embedded in the message is as follows:

    Code:
    https://www.mywebsiteurl.co.uk/sugar/removeme.php/index.php?entryPoint=removeme&identifier=4b1b8d96-7016-5c6b-76be-48e22f31cb35
    The complete email is below
    Code:
    Received: (qmail 31326 invoked by uid 64020); 1 Oct 2008 09:06:25 +0100
    Delivered-To: testemailaddress.co.uk-charlie@testemailaddress.co.uk
    Received: (qmail 31317 invoked by uid 33); 1 Oct 2008 09:06:24 +0100
    Date: Wed, 1 Oct 2008 09:06:24 +0100
    To: Charlie Test 2 <charlie@testemailaddress.co.uk>
    From: "enquiries@mywebsiteurl.co.uk" <enquiries@mywebsiteurl.co.uk>
    Reply-to: 
    Subject: [Test]:
    Message-ID: <3621f61e25af059a673b85d6e483cc2f@www.mywebsiteurl.co.uk>
    X-Priority: 3
    X-Mailer: PHPMailer [version 1.73]
    MIME-Version: 1.0
    Content-Transfer-Encoding: quoted-printable
    Content-Type: text/html; charset="UTF-8"
    X-Evolution-Source: imap://charles%40testemailaddress@www.mywebsiteurl.co.uk/
    
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" =
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns=3D"http://www.w3.org/1999/xhtml">
    <head>
            <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3DUTF-8" =
    />
    <title>[Test]:</title>
    </head>
    <body><p>Dear Charlie Test 2</p><p>&nbsp;</p><p>&nbsp;</p><p>Please click =
    on the link below if you wish to opt out from future email =
    updates:</p><p><a href=3D"https://www.mywebsiteurl.co.uk/sugar/removem=
    e.php/index.php?entryPoint=3Dremoveme&identifier=3De94e6522-0411-8495-557b=
    -48e32fad85e0"> Default link text. </a>&nbsp;</p><p>&nbsp;</p><br><IMG =
    HEIGHT=3D'1' WIDTH=3D'1' src=3D'https://www.mywebsiteurl.co.uk/sugar/r=
    emoveme.php/index.php?entryPoint=3Dimage&identifier=3De94e6522-0411-8495-5=
    57b-48e32fad85e0'></body></html>
    Clicking on the link takes the recipient to a page that displays the message "Not A Valid Entry Point".

    The URL above looks wrong, I assume the string"/index.php" should not be there?

    The only forum entry that seems relevant is this: http://www.sugarcrm.com/forums/showt...t=convert_urls but it relates to version 5.0. The fix suggested by matthewboh does not seem to be relevant to 5.1.0 (SugarTinyMCE.php doesn't contain a line for 'relative_urls' or 'convert_urls')

    Can anyone suggest what I'm doing wrong, or a fix to get 5.1.0 to insert the correct link to removeme.php

    Thank you for any help.
    Last edited by CharlieArmor; 2008-10-01 at 11:49 AM. Reason: Add more detail about problem

  2. #2
    CharlieArmor is offline Sugar Community Member
    Join Date
    Aug 2006
    Posts
    21

    Default Re: Opt-out link returns "Not A Valid Entry Point"

    Update

    I've read everything I can find in this forum about the email tracking and opt-out functionality and it's caused us to have a re-think about how we want to use the Sugar email campaigns.

    The consensus between the various posts I've found seems to be that the Opt-out link and that email tracking functionality provided by the 1px image will cause more emails to be identified as spam.

    As a result we've decided disable both functions for our next campaign.

    I've edited ./sugar/modules/EmailMan/EmailMan.php to disable email tracking.

    Similarly the automatic Sugar "Opt-out" function has not been used. An Tracker URL opt-out was created as part of the campaign but is not inserted into the email template. Creating a custom "Opt-out" option in the Tracker URL module avoids the standard Sugar one being automatically inserted in the outgoing emails.

    I've added text to the body of the email asking the recipients to reply with the word "remove" in the subject line if they want to come of the campaign mailing list, we'll then set the opt-out flag manually within Sugar.

  3. #3
    bradym80 is offline Sugar Community Member
    Join Date
    May 2007
    Posts
    36

    Default Re: Opt-out link returns "Not A Valid Entry Point"

    Because of your post I have discovered that I am having the exact same problem as you.

    In the code you posted above, notice how every time an = sign shows up in your source it is followed by a 3d? This just started happening to me in sugarcrm 5.1 and it is causing my email campaigns to not work. I think I will submit a bug report.

  4. #4
    whallify is offline Member
    Join Date
    Jan 2009
    Posts
    15

    Default Re: Opt-out link returns "Not A Valid Entry Point"

    FYI for those of you on 5.2 wanting to fix part of this -- take a look at this thread instead

    http://www.sugarcrm.com/forums/showthread.php?p=147324

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. "Not A Valid Entry Point" while accessing via SOAP
    By coolex in forum Developer Help
    Replies: 4
    Last Post: 2011-03-21, 11:03 AM
  2. Replies: 3
    Last Post: 2009-03-18, 08:29 AM
  3. Replies: 1
    Last Post: 2008-08-21, 09:51 PM
  4. Replies: 0
    Last Post: 2006-09-16, 10:37 AM
  5. Not A Valid Entry Point
    By comsys in forum Polish
    Replies: 2
    Last Post: 2006-06-17, 09:19 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •