SitePoint Sponsor

User Tag List

Results 1 to 5 of 5
  1. #1
    SitePoint Evangelist hantaah's Avatar
    Join Date
    Jul 2011
    Location
    Birmingham, Uk
    Posts
    562
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)

    Double opt in issues with hostgator

    I have an email list of 5000 however hostgator have blocked my newsletters as they say I have to remove all emails that are single opt in as all need to be double opt in.

    How can I make all my emails double opt in as it is not an option to loose all my emails list or simply remove them?

  2. #2
    SitePoint Enthusiast
    Join Date
    Mar 2005
    Location
    Scotland
    Posts
    88
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Ok, so I suspect all you are doing is option a below? What they want is that you also do option b as well. There is really no way around it other than to send all your existing users an email asking them to click a link to confirm they do wish to receive it and of course do that from now on. The alternatives are place the newsletter mailing list on a different host or even use a specific service that handles newsletter opt in for you (mailchimp).


    a) User ticks a box saying they want your newsletter and enters their email address.
    b) They need to confirm they do want the newsletter by clicking a link in an email you send them.
    Free2host.co.uk - My longest ever project at 10 years

  3. #3
    SitePoint Evangelist hantaah's Avatar
    Join Date
    Jul 2011
    Location
    Birmingham, Uk
    Posts
    562
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    yes your right. The need to confim the opt in. So As long as I get this double opt in confirmed by all my emails then that will be fine, I mean I will be very happy if I can do this.

    Question is how do I link to this double opt in? I mean how do I include a double opt in?

  4. #4
    SitePoint Enthusiast
    Join Date
    Oct 2007
    Location
    US / UK
    Posts
    69
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by hantaah View Post
    I have an email list of 5000 however hostgator have blocked my newsletters as they say I have to remove all emails that are single opt in as all need to be double opt in.

    How can I make all my emails double opt in as it is not an option to loose all my emails list or simply remove them?
    Dealing with the inevitable abuse reports that even come from double opt-in is painful for web hosts. We spend a lot of time working hard to keep our IPs clean and one or two errant emails like this can dirty them and cause mail delivery problems. With this in mind, I'd recommend something like Mailchimp or ConstantContact.

    Matt
    Matt Russell | CEO | WebHostingBuzz
    WebHostingBuzz.com and WebHostingBuzz.co.uk Award Winning web hosting.

  5. #5
    Programming Since 1978 silver trophybronze trophy felgall's Avatar
    Join Date
    Sep 2005
    Location
    Sydney, NSW, Australia
    Posts
    16,788
    Mentioned
    25 Post(s)
    Tagged
    1 Thread(s)
    Quote Originally Posted by hantaah View Post
    Question is how do I link to this double opt in? I mean how do I include a double opt in?
    To process double opt in you need to add an extra field to the database record you create when they first sign up and generate a random code to place in that field.

    Next you send them a confirmation email to the address that they signed up with that asks them to confirm that it was them that signed up by clicking on a link at the bottom of the email. That link should call a script passing it the email address and the random code. If the random code matches that in the record you saved in the first place then this script should delete the value from that field to indicate that the double optin is complete.

    You should then only send out the newsletter where that code field has been blanked out by the person clicking the link in the first email you sent them when they signed up.
    Stephen J Chapman

    javascriptexample.net, Book Reviews, follow me on Twitter
    HTML Help, CSS Help, JavaScript Help, PHP/mySQL Help, blog
    <input name="html5" type="text" required pattern="^$">


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
  •