mailgun icon indicating copy to clipboard operation
mailgun copied to clipboard

Add multi address into maillist in one time

Open hairihan opened this issue 9 years ago • 0 comments

Hi HashNuke,

How can I adding several email addresses into one maillist in one time? I tried to using following method, but it's only support to add one address. It will cause timeout err when there are a plenty amount of address.

# Adds a mailing list member with a given address
    # NOTE Use create instead of add?
    def add(member_address, options={})
      params = {:address => member_address}
      Mailgun.submit :post, list_member_url, params.merge(options)
    end

hairihan avatar Feb 13 '16 17:02 hairihan