Yahoo! Mail Web Service Code Samples
The Yahoo! Mail Web Service offers two different ways to communicate: SOAP and JSON-RPC. The best choice depends on the programming language you intend to use to develop your application. Not all languages that support SOAP are compatible with the Yahoo! Mail Web Service, but all languages that support JSON-RPC are compatible with the Yahoo! Mail Web Service.
A list of languages you can use with JSON-RPC is available at JSON.org. Please also read our instructions on Using JSON with Yahoo! Web Services.
Technology Test Results:
| Language | SOAP | JSON-RPC |
|---|---|---|
| .NET | Yes, tested successfully | Yes |
| Java | Yes, Axis2 and JAX-WS tested successfully | Yes |
| Perl | No, SOAP Lite tested with incompatibilities | Yes |
| PHP 4 | No, Nusoap and Pear SOAP tested with incompatibilities | Yes |
| PHP 5 | Yes, built-in SOAP extension tested successfully | Yes |
| Python | No, ZSI and SOAPpy tested with incompatibilities | Yes |
Code Samples
- C#
Requires the Yahoo! Mail WSDL. - Java - JAX-WS or Axis2
Requires the Axis2 SOAP library or the JAX-WS library, and the Yahoo! Mail WSDL listed above. - Perl
Perl class with test cases for Y! Mail and Y! Photos. - PHP
PHP4 and PHP5 classes with test cases for Y! Mail and Y! Photos. - Python
Python class with test cases for Y! Mail and Y! Photos.
Ready to get started?
By applying for an Application ID for this service, you hereby agree to the Terms of Use
Yahoo! Groups Discussions
view all
Re: Question about accessing elements in ListFolders()
Wed, 04 Nov 2009
How can I generate a soap client to use yahoo mail web service?
Mon, 19 Oct 2009
How to verify a Yahoo Mail Address.
Sat, 03 Oct 2009
Re: Question about accessing elements in ListFolders()
Mon, 28 Sep 2009

