Get answers quicker by searching

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion

Email addresses with plus signs aren't accepted with the standard subscribe form
  • I've added a Subscribe form using Sendy's subscribe HTML code.

    Works fine for most addresses, but anything with a plus sign is silently dropped. Eg john+test@gmail.com isn't accepted as a valid email address.

    Pretty sure it's the regex in check_local_portion() in EmailAddressValidator.php - before I dive into it, has anyone seen this before and fixed it already?

  • 2 Comments
  • Vote Up0Vote Down BenBen
    Posts: 3,494Sendy support

    Hi,

    I just tested and was able to add email addresses with a + sign in it though:

    Screenshot:

    I used the subscription form provided by the Sendy list (which also uses Sendy’s ’subscribe’ API):

    Screenshot:

    Thanks.

    Best regards,
    Ben

  • Hey Ben, yes, you're right. Was submitting the form via AJAX which was encoding the plus sign as a space. Sorted now.

This discussion has been closed.
All Discussions