Hi Ganapathy,

PHP is server side language , You have to copy it at server end and use
HTTPservice or AMFPHP to call your PHP .

Regards
Kiran

On Tue, Jan 5, 2010 at 5:28 AM, ganapathy subramanian <[email protected]
> wrote:

> Hi,
>     I have a php in which i call the mail function. I had copied the php to
> the source folder in flex. I try to run my application using Tomcat server.
> But i found that the php was not getting called. Do i need to do something
> spl for php.
> It would be helpful if you tell me how to use SMTP protocol in my
> application. Assume my smtp server address mail.myserver.com.
>
> Thanks
> Ganapathy
>
>
>
> On Mon, Jan 4, 2010 at 3:06 AM, Abhinav Mehta <[email protected]>wrote:
>
>>  Hi
>>
>> For that you will be needing SMTP protocol of some mail-server.
>> While sending the message(email) you need the smtp-address of the server,
>> than only it can be done.....and again as Kiran told....its true that for
>> that php or some server side language will be required to do this.
>> If you notice, generally while surfing, when we click on Contact Us or
>> alike some link it invokes Outlook-express in system coz-
>> <a href="mailto::....etc... in html is written , similarly what you have
>> coded in javascript is almost similar to that, the only diffrence in
>> javascript and html is static v/s dynamic invokation; but the work is same.
>>
>> Reagrds
>> Abhinav Mehta
>>
>> ----- Original Message -----
>> *From:* Kiran Kumar Vasireddy <[email protected]>
>> *To:* [email protected]
>> *Sent:* Sunday, January 03, 2010 9:24 PM
>> *Subject:* Re: [flex_india:27596] Sending e-mail directly from flex.
>>
>> Hi Ganapathy,
>>
>> I don't think directly you can send message from flex . I used to PHP code
>> at server end to send mail to recipients . Call this PHP code from flex .
>>
>> Regards
>> Kiran
>>
>>
>> On Sun, Jan 3, 2010 at 3:53 AM, ganapathy subramanian <
>> [email protected]> wrote:
>>
>>> Hi,
>>>     I want to send e-mail directly to a reciepient from flex code.
>>> Previously i was using the
>>> the below code
>>>
>>>  var u:URLRequest = new URLRequest("mailto: ");
>>>  navigateToURL(u,”_self”);
>>>
>>> But this opens a outlook window. what i want is send a standard
>>> message to recipent without the user's interference.
>>>
>>> Can someone let me know how to do it.
>>>
>>> Thanks
>>>
>>> Ganapathy
>>>
>>> --
>>>
>>> You received this message because you are subscribed to the Google Groups
>>> "Flex India Community" group.
>>> To post to this group, send email to [email protected].
>>> To unsubscribe from this group, send email to
>>> [email protected]<flex_india%[email protected]>
>>> .
>>> For more options, visit this group at
>>> http://groups.google.com/group/flex_india?hl=en.
>>>
>>>
>>>
>>  --
>> You received this message because you are subscribed to the Google Groups
>> "Flex India Community" group.
>> To post to this group, send email to [email protected].
>> To unsubscribe from this group, send email to
>> [email protected]<flex_india%[email protected]>
>> .
>> For more options, visit this group at
>> http://groups.google.com/group/flex_india?hl=en.
>>
>>   --
>> You received this message because you are subscribed to the Google Groups
>> "Flex India Community" group.
>> To post to this group, send email to [email protected].
>> To unsubscribe from this group, send email to
>> [email protected]<flex_india%[email protected]>
>> .
>> For more options, visit this group at
>> http://groups.google.com/group/flex_india?hl=en.
>>
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "Flex India Community" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<flex_india%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/flex_india?hl=en.
>
>
--
You received this message because you are subscribed to the Google Groups "Flex India Community" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to [email protected].
For more options, visit this group at http://groups.google.com/group/flex_india?hl=en.

Reply via email to