Title

body
 
xxx of yyy characters
Hi5 Platform Development

Watch this Topic   watch
Messages 

1-10 of 15 1 Next > >|

Close Topic

Reason

Message



 
Topic: MessageApiImpl problems
The next problems:
MessageApiImpl messageApiImpl = (MessageApiImpl) prepareApi(new MessageApiImpl());
try {
EmailResponse resp = messageApiImpl.sendEmails(subject, email, toIds, "");
log.info("EMAILS: code=" + resp.getErrorCode() + ", message=" + resp.getErrorMessage());
if (resp.getSentIds() != null) {
for (int i = 0; i < resp.getSentIds().size(); i++) {
log.info("to " + resp.getSentIds().get(i));
}
} else {
log.warn("NO SENTS");
}
} catch (PermissionDeniedException e) ....

Result no errors, but sentIds list is null and no email was recieved.
But, about a week ago this api work well.
May 8, 2008
8:28 AM
I want to know how many email I can send? Does hi5 ban me for a some period after time I have send one? I want to know Hi5 politic to email messages.
I am trying to send email for two or more friends, but EmailResponse getSentIds() returns only first id and only first recieve my mail messege.
After first "success" sending I can't send message.
May 12, 2008
4:11 AM
And what means this error message:
"Email Denail: Unknown issue."?
May 12, 2008
5:07 AM
Who will be banned? app or sender?
Does "Email Denail: Unknown issue." means that i was banned?
May 12, 2008
6:29 AM
Victor,

sorry we couldn't get to this today. I'll have someone look into it tomorrow.

Sameer.
May 12, 2008
10:19 PM
I note to discover one issue:
emails and notifications works fine, but after I was banned email sending denied my sending by error message and notification trow an exception. I am not sure, but it looks like i describe... I will test it later.
May 13, 2008
12:14 AM
Yesterday I was banned to sending messages and notifications. Today I send one email for apps owner, the second - was banned with error message "Email Denail: Unknown issue."
Then I send notifications twice. But then when i trying to send i`he got an exception
g.codehaus.xfire.XFireRuntimeException: Could not invoke service.. Nested exception is org.codehaus.xfire.fault.XFireFault: Fault: java.lang.reflect.UndeclaredThrowableException
org.codehaus.xfire.fault.XFireFault: Fault: java.lang.reflect.UndeclaredThrowableException
at org.codehaus.xfire.fault.Soap11FaultSerializer.readMessage(Soap11FaultSerializer.java:31)
at org.codehaus.xfire.fault.SoapFaultSerializer.readMessage(SoapFaultSerializer.java:28)
at org.codehaus.xfire.soap.handler.ReadHeadersHandler.checkForFault(ReadHeadersHandler.java:111)
at org.codehaus.xfire.soap.handler.ReadHeadersHandler.invoke(ReadHeadersHandler.java:67)
at org.codehaus.xfire.handler.HandlerPipeline.invoke(HandlerPipeline.java:131)
at org.codehaus.xfire.client.Client.onReceive(Client.java:382)
at org.codehaus.xfire.transport.http.HttpChannel.sendViaClient(HttpChannel.java:139)
at org.codehaus.xfire.transport.http.HttpChannel.send(HttpChannel.java:48)
at org.codehaus.xfire.handler.OutMessageSender.invoke(OutMessageSender.java:26)
at org.codehaus.xfire.handler.HandlerPipeline.invoke(HandlerPipeline.java:131)
at org.codehaus.xfire.client.Invocation.invoke(Invocation.java:75)
at org.codehaus.xfire.client.Client.invoke(Client.java:335)
at org.codehaus.xfire.client.XFireProxy.handleRequest(XFireProxy.java:77)
at org.codehaus.xfire.client.XFireProxy.invoke(XFireProxy.java:57)
at $Proxy34.sendNotifications(Unknown Source)
at com.hi5.api.client.impl.NotificationApiImpl.sendNotifications(NotificationApiImpl.java:32)
at com.stanfy.crazymenu.socialnetworks.hi5.Hi5Client.sendNotification(Hi5Client.java:423)
at com.stanfy.crazymenu.common.actions.test.Hi5TestAction.execute(Hi5TestAction.java:62)

I think that hi5 process app ban with the mistake.
May 13, 2008
6:03 AM
there's a 1 email per recipient per app per day limit. are you having any problems given that?
May 14, 2008
5:17 PM
emails works fine.
but I have problem with notifications. Does notifications has a limit per day?
My app send 2 notification to person, and then get an error (see previous posts).
It looks like you process ban with some mistake.
Situation with notifications continious during last 3 days.
May 15, 2008
3:08 AM
Victor,

we do have a per-user, per-day limit, and that's currently set to two right now.

Sameer.
May 15, 2008
1:08 PM
1-10 of 15 1 Next > >|


Select Language