• Hello, I’m trying to make it so that the submitted email in the [subscriber] of my subscription form receives an email notification that they are subscribed. I was thinking of using Mail(2) for this but I cannot think of what to put on the “To” section other than [Subscriber] but it’s returning an “Invalid mailbox syntax is used.”

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Takayuki Miyoshi

    (@takayukister)

    What do they subscribe?

    Thread Starter casml

    (@casml)

    Hi! We have a form for a newsletter. We use the first mail to notify the site-owner that some has subscribed with an email. We want to use the mail(2) as some sort of confirmation. Essentially, we want it so that when the user submits their email on the form (subscription form) the mail(2) will send them a letter notifying them that they have subscribed to our newsletter.

    Plugin Author Takayuki Miyoshi

    (@takayukister)

    Where can we see the website in question?

    Thread Starter casml

    (@casml)

    Contact – Batang Malaya
    As you can see at the bottom of the page there is a single input form that will ask for the visitor’s email to subscribe to the newletters.

    We’re currently using the first mail to notify the admins that this visitor [subscriber] has subscribed to the newsletter. The admins asked if its possible that when the visitor has submitted their email for the newsletter that we also inform them that they have subscribed the newsletter same as we notify the admins.

    • This reply was modified 1 year, 2 months ago by casml.
    Plugin Author Takayuki Miyoshi

    (@takayukister)

    See Setting up mail

    What email settings do you have in the Mail tab panel?

    To protect personal data, hiding email addresses in the settings or replacing them with dummy addresses is strongly advised. You can also include screenshots.

    Thread Starter casml

    (@casml)

    Mail (1)
    To: *Admin’s Email*
    [subscriber] has subscribed to your mailing list.

    So I think if I just put Mail(2) as:
    To: *[subscriber]*

    Subscribed being the input of the visitor then it should send an email to that visitor right?

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Using Mail(2) to notify subscriber that they are subscribed.’ is closed to new replies.