0

hello,

im developing a mass mailing application in php...in lot places i see like post to this address...
lik this one..

To upload your attachment do a HTTP PUT of your attachment file to:

https://api.elasticemail.com/attachments/upload?username=yourusername&api_key=yourapikey&file=test.csv

and 

Step 3) Call mailer send with the datasource value set:

To use the send command POST to https://api.elasticemail.com/mailer/send with the following form values:

    username=your account email address
    api_key=your api key
    from=from email address
    from_name=display name for from email address
    subject=email subject 
    body_html=html email body [optional]
    body_text=text email body [optional]
    data_source=your csv file name (eg: test.csv)
    charset=text value of encoding for example: iso-8859-1, windows-1251, utf-8, us-ascii, windows-1250 and more…
    encoding for None, 1 for Raw7Bit, 2 for Raw8Bit, 3 for QuotedPrintable, 4 for Base64 (Default), 5 for Uue  note that you can also provide the text version such as "Raw7Bit" for value 1

If sent correctly you will receive a response like:

f74b9f96-f89a-4cfe-813f-5f86df1cb37f

how could i do this programmatically

3
Contributors
10
Replies
50
Views
3 Years
Discussion Span
Last Post by ankit1122
0

no we are talking about mass email...if we do this without purchasing smtp or emails from email marketing providers..we will get blocked..

0

Have you looked at curl in the php manual?

0

The link you provided has a PHP class using fsockopen - so try this instead of curl.

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.