Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Name

Mandatory?

Description

Email

(1)

User email address

Sms

(1)

User mobile number, with international prefix (2)

List

Y

List IDIDs (you can specify more than one list using comma as separator. One confirmation request will be sent for each specified list

Group

N

Groups to which to subscribe the user (comma separated)

Confirm

N

Parameter to enable ("1" or "true") or disable ("0" or "false") the confirmation request email. Default value: 1 (i.e. double opt-in enabled by default).

csvFldNames

N

Personal data codes (separated by the ";" character)

csvFldValues

N

Values related to personal data codes (separated by the ";" character)

retCode

N

Parameter to enable or disable the return of an output code for the call. Accepted values: 0/1 – Default value: 0

Dynsndmail(3)

N

"dynamic sender e-mail address" Sender address in the confirmation request email (If blank, default value for the list will be used)

dynsndname(3)

N

"dynamic sender name" Sender name in the confirmation request email (If blank, default value for the list will be used)

...

Code Block
languageruby
titleRuby
# Refer to https://mailup.atlassian.net/wiki/display/mailupapi/MailUp+RubyGem for gem information.
require 'mailup'
m = MailUp::API.new('console_url')
m.xml_subscribe(:email => 'sample@email.com', :list => 1)
# => 0
Code Block
languagehtml/xml
titleHTTP GET (multi list and multi group)
GET	http://consolehostname.org/frontend/xmlsubscribe.aspx?email=name.surname@example.com&List=1,2&Group=6,24

Xmlchksubscriber.aspx (User subscription check)

...