Send bulk Email

Send an email to a group


See example in:

Send bulk email with PHP Send bulk email with Java Send bulk email with C Sharp Send bulk email with Unix Send bulk email with Ruby on rails Send bulk email with Python Send bulk email with Android Send bulk email with Objective C / iPhone Send bulk email with SQL Server Send bulk email with Oracle Send bulk email with Node JS Send bulk email with Go lang Send bulk email with Scala lang Send bulk email with Swift

Send an email to a group

ParameterDescriptionCompulsory / Optional
class=emailClass requested: Class to which the request is madeCompulsory
method=sendemailtogroupClass method requested: Method of the class to which the request is madeCompulsory
userUser and e-mail of your Afilnet accountCompulsory
passwordPassword of your Afilnet accountCompulsory
idgroupIdentifier of the destination groupCompulsory
emailEmail message to be sentCompulsory
scheduledatetimeDelivery date and time in yyyy-mm-dd hh:mm:ss formatOptional
outputOutput format of the resultOptional

When you make requests you will receive the following fields:

  •  status
  •  result (if status=success), here you will receive the following values:
    • id
    • count
    • credits
    • destinations
      • messageid
      • destination
  •  error (if status=error), here you will receive the error code

The possible error codes are listed below

MISSING_USERUser or email not included
MISSING_PASSWORDPassword not included
MISSING_CLASSClass not included
MISSING_METHODMethod not included
MISSING_COMPULSORY_PARAMCompulsory parameter not included
INCORRECT_USER_PASSWORDIncorrect user or password
INCORRECT_CLASSIncorrect class
INCORRECT_METHODIncorrect method
NOT_ACCESS_TO_GROUPYou are not allowed into the indicated group
NO_CREDITSYour balance is insufficient
  • class: email
  • method: sendemailtogroup
  • user: user
  • password: password
  • subject: Afilnet - Test email
  • idgroup: 1
  • email: Afilnet - Test email
  • scheduledatetime:
  • output:
IMPORTANT INFORMATION ABOUT COOKIES: If you continue to use this web we will assume that you accept the terms of use. You will find more information in our Cookies Policy. Continue