I guarantee that there is nothing like this on the internet!�
Thanks.
Bill Amin
libraluck@PROTECTED
6605530075
YOUR� SUCCESS� IS� MY PASSION
This message is sent in compliance with the CanSpam Act, 2003. You are either on our contact list or you have opted to receive information regarding saving money and/or making money from home. To stop future mailings, simply reply to this e-mail and type the word � remove � into the subject box and your information will be completely deleted from our database.
--- On Thu, 9/11/08, Justin J <justin@PROTECTED> wrote:From: Justin J <justin@PROTECTED>
Subject: SOAP Web Services for Dada Mail
To: "Dada Mail Developers Subscriber" <bamintv@PROTECTED>
Date: Thursday, September 11, 2008, 10:51 PMI've put together a Proof of Concept (and extremely simple) SOAP
server written in Perl and a SOAP client in both Perl and php to
interact with the SOAP server that interact with a method of the Dada
Mail API.
I know there is some interest in getting Dada Mail talking to programs
outside of itself, written in other languages other than Perl and even
with things outside of where the copy of Dada Mail is installed. Well,
that's done with something like SOAP.
Below is the README file of the distro, which you can grab here:
http://dadamailproject.com/code/DadaMail_SOAP_example.tar.gz
Comments welcomed.
SOAP Web Services for Dada Mail
This distribution includes:
* a CGI SOAP server, written in Perl that ties into the Dada Mail API.
* a SOAP client written in Perl
* a SOAP client, written in php
Currently the SOAP API only provides *one* method, called,
"subscription_check". You can read more about this method in the API
docs:
http://dadamailproject.com/support/documentation-dada-3_0_0/MailingList_Subscribers.pm.html#subscription_check
as well as the Subscription COOKBOOK:
http://dadamailproject.com/support/documentation-dada-3_0_0/COOKBOOK-subscriptions.pod.html
The SOAP interface allows programs written in languages other than
Perl and/or located on a separate system to interact with Dada Mail.
This type of web service could theoretically work with most any of
Dada Mail's high level functions: Validating Subscriptions,
Subscribing Mailing List Subscribers (either one by one, or en-mass),
Sending Messages, working with archived messages, etc.
*This* small set of scripts is only to be as an example to show that
it is entirely possible.
Requirements
The Perl server and the Perl client requires the SOAP::Lite CPAN distro:
http://www.soaplite.com/
http://search.cpan.org/~mkutter/SOAP-Lite-0.710.08/
The php client requires the PEAR SOAP distro:
http://pear.php.net/package/SOAP
You will also need a running copy of Dada Mail 3.0
Installation
Place both the soap_server.cgi and soap_client.cgi into the, "dada"
directory of your working Dada Mail installation. Change the
permissions of both to, "755".
Place the soap_client..php file somewhere on your website, however you
php folks do it.
Configuration
Both the, soap_client.php and soap_client.cgi scripts have *three*
variables you may have to change:
* $proxy
This should hold the URL to the soap_server.cgi script
This should hold an email address you'd like to validate
* $list
This should hold a Dada Mail list shortname you'd like to validate
against
Running
The soap_client.cgi and soap_client.php scripts can be run simply by
visiting them in a webserver. Doing so will print a simple report,
like so:
* Email: user@PROTECTED
* List: mylist
Subscription Check: 0
Errors:
* Error: already_sent_sub_confirmation
* Error: subscribed
done.
And, that's it.
The Future of SOAP Web Services in Dada Mail
It would be great to have some sort of Web Service available for Dada
Mail. It will have to depend on user and developer interest in
accomplishing this.
If you are interested in commissioning this feature, in part or in
whole, please contact me at:
http://dadamailproject.com/contact/
--
Justin J.
Dada Mail - Write Once: Distribute Everywhere Software
url: http://dadamailproject.com
Demo:
http://demo.dadamailproject.com
Seen Dada Mail 3?
http://dadamailproject.com/features/3_0/
Post:
mailto:[list_settings.discussion_pop_email]
Unsubscribe:
http://dadamailproject.com/cgi-bin/dada/mail.cgi/u/[list]/
List Information:
[PROGRAM_URL]/list/[list_settings.list]
Start a new thread, email: dadadev@dadamailproject.com
This is the developer discussion mailing list for Dada Mail.
If you are just looking for support Dada Mail, consult the message boards at:
https://forum.dadamailproject.com
Documentation for Dada Mail:
Specifically, see the Error FAQ:
https://dadamailproject.com/d/FAQ-errors.pod.html
To post to this list, send a message to:
mailto:dadadev@dadamailproject.com
All subscribers of this list may post to the list itself.
Topics that are welcome:
Dada Mail is on Github:
https://github.com/justingit/dada-mail/
If you would like to fork, branch, send over PRs, open up issues, etc.
This Privacy Policy is for this mailing list, and this mailing list only.
Email addresses collection through this mailing list are used explicitly to work within this email discussion list.
We only collect email addresses through our Closed-Loop Opt-In system.
We don't use your email address for any other purpose.
We won't be sharing your email address with any other entity.
Unsubscription can be done at any time. Please contact us at: justin@dadamailproject.com for any help regarding your subscription, including removal from the mailing list.
All mailing list messages sent from us will include a subscription removal link, which will allow you to remove yourself from this mailing list automatically, and permanently.
All consent to use your email address for any other purpose stated at the time of the mailing list subscription will also be revoked upon mailing list removal.