Yahoo! Developer Network
Developer Solutions
Multi-Device
Media
APIs & Tools
Mojito
YQL
BOSS
YUI
Connected TV
PlaceFinder
Flickr
View all
Community
Forums
YDN Theater
Events
Blog
Search YDN
Search YDN
Search YDN
Sign In
Mail Web Service
Create a project
Documentation
Forum
Prev
— GetMessageRawHeader
ListFolders —
Next
GetUserData
GetUserData
gets account information about the user from the mail server.
Scopes
Read Summary: Yahoo! Mail
Read Full: Yahoo! Mail
Read/Write: Yahoo! Mail
Returns
Name
Description
data
UserData
Example
Request
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance" xmlns:xsd="http://www.w3.org/1999/XMLSchema" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"> <SOAP-ENV:Body> <GetUserData> </GetUserData> </SOAP-ENV:Body> </SOAP-ENV:Envelope>
Response
<?xml version="1.0" encoding="UTF-8"?> <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"><SOAP-ENV:Body> <GetUserDataResponse> <data> <userFeaturePref> <hasAddressGuard>false</hasAddressGuard> <hasMailPlus>false</hasMailPlus> <hasStationery>false</hasStationery> <hasAds>true</hasAds> <mailboxQuota>1073741824</mailboxQuota> <quotaUsed>7048267</quotaUsed> <soundNewMail></soundNewMail> <mailCheckInterval>1</mailCheckInterval> <attachFiles>50</attachFiles> <attachFileSize>10485760</attachFileSize> <attachTotalSize>10485760</attachTotalSize> <attachTotalEncodedSize>13946061</attachTotalEncodedSize> <filtersMax>15</filtersMax> </userFeaturePref> <userUIPref> <composeFontFamily></composeFontFamily> <composeFontSize>0</composeFontSize> <defaultSortOrder>down</defaultSortOrder> <useRichText>dynamic</useRichText> <imageBlocking>b</imageBlocking> <msgPaneVisible>true</msgPaneVisible> <showTo>false</showTo> <newsCategory>entertainment</newsCategory> <showCalendarStrip>false</showCalendarStrip> <goOnMessageDelete>msg</goOnMessageDelete> </userUIPref> <userSpamPref> <spamGuardPlusEnabled>false</spamGuardPlusEnabled> <spamFilterActive>true</spamFilterActive> <spamMoveToInbox>true</spamMoveToInbox> <spamCleanupPeriod>14</spamCleanupPeriod> <spamBlockSender>true</spamBlockSender> </userSpamPref> <userVacationPref> <vacationResponseOn>false</vacationResponseOn> <vacationResponseSubject></vacationResponseSubject> <vacationResponseText></vacationResponseText> <vacationResponseDomain0></vacationResponseDomain0> <vacationResponseDomain1></vacationResponseDomain1> <vacationResponseStartDate></vacationResponseStartDate> <vacationResponseEndDate></vacationResponseEndDate> </userVacationPref> <userSendPref> <defaultID>smith@yahoo.com</defaultID> <defaultFromName></defaultFromName> <defaultFromAddress>smith@yahoo.com</defaultFromAddress> <defaultReplyToAddress></defaultReplyToAddress> <canSendFromPopAcct>false</canSendFromPopAcct> <showCcBcc>hide</showCcBcc> <includeMsgOnReply>short</includeMsgOnReply> <signatureActive>false</signatureActive> <signatureText></signatureText> <richTextSignature>plain</richTextSignature> <addUnknownContact>unspecified</addUnknownContact> <autosaveOnSend>no</autosaveOnSend> </userSendPref> <userPopPref> <hasPOP>false</hasPOP> <popNoBulk>false</popNoBulk> <popBulkSubjectPrefix>false</popBulkSubjectPrefix> </userPopPref> <externalAccounts extAccountsTotal="1"> <extAccount accountName="work" fromName="" address="" replyTo="" server="mail.company.com" username="smithy" colorIndicator="r" folder="Inbox" port="110" leaveMail="false" retrieveOnlyNew="false" useFilters="false" isDefault="false"/> </externalAccounts> <disposableAddresses deaNamesTotal="0"/> <aliases aliasesTotal="0"/> <otherYahooMboxes otherYahooMboxesTotal="0"/> <blockedAddresses blockedAddressesTotal="65" blockedAddressesMax="1"> <blockedAddress>411@dsforless.com</blockedAddress> </blockedAddresses> <switches> <noFormWarning>false</noFormWarning> </switches> </data> </GetUserDataResponse> </SOAP-ENV:Body> </SOAP-ENV:Envelope>
Prev
— GetMessageRawHeader
ListFolders —
Next
Table of Contents