I think its rectified. what I did was hosted bother swf and php at the same domain so that security sandbox is ok. Thank you
On 11/16/09, jaseem v v <jas...@gmail.com> wrote: > HI friends, > > Is there any possible way to send my collected data from an email form > directly to my gmail account using AS 3.0 ? > Is it possible using binary sockets? > If so how to set up? > > I made an email form and it sends data entered in the form as httpservice > to > the url where the php file is hosted which contains the mail() call. > During testing and locally it gets sent to my email id. But when I embed it > website it throws the following error. > > Code: > > [RPC Fault faultString="Security error accessing url" > faultCode="Channel.Security.Error" faultDetail="Destination: > DefaultHTTP"] > at > mx.rpc::AbstractInvoker/http://www.adobe.com/2006/flex/mx/internal::faultHandler()[C:\autobuild\3.2.0\frameworks\projects\rpc\src\mx\rpc\AbstractInvoker.as:220] > at > mx.rpc::Responder/fault()[C:\autobuild\3.2.0\frameworks\projects\rpc\src\mx\rpc\Responder.as:53] > at > mx.rpc::AsyncRequest/fault()[C:\autobuild\3.2.0\frameworks\projects\rpc\src\mx\rpc\AsyncRequest.as:103] > at > DirectHTTPMessageResponder/securityErrorHandler()[C:\autobuild\3.2.0\frameworks\projects\rpc\src\mx\messaging\channels\DirectHTTPChannel.as:389] > at flash.events::EventDispatcher/dispatchEventFunction() > at flash.events::EventDispatcher/dispatchEvent() > at flash.net::URLLoader/redirectEvent() > > Why is it so. > Is it some security sandbox something something.. (don't know much about > that in detail). > I'm trying to send the data to my gmail account. > What should I do. I'm using Flex 3 (any way its not possible via Flash too) > > Instead of relying on server side script like php, can I directly send it > to > my gmail account (or any other possible mail account) using server sockets > (binary). Can you please guide me. After a lot of googling I found that > there must be some file that verifies some ports etc. If so how to setup? > > Please help. > Thank You > -- $ Jaseem. V V -- You received this message because you are subscribed to the Google Groups "Flex India Community" group. To post to this group, send email to flex_in...@googlegroups.com. To unsubscribe from this group, send email to flex_india+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/flex_india?hl=.