Skip to main content
Participant
February 27, 2012
Question

how to send a mail to outlook from iphone flex 4.5.1 app automatically..?

  • February 27, 2012
  • 3 replies
  • 1011 views

HI folks,

                 i have to send a mail to outlook for correpanding mailler id  with out  opeing  outlook  from my app(iphonoe flex 4.5.1 app.) with taking the input values what ever  we have given as input those values has to be send to outlook  while pressing submit button  on that  view....(i dont want  to open outlook  and user action on that).

Please help out on thsi issue..

Regards,

Madhu.

This topic has been closed for replies.

3 replies

Inspiring
February 27, 2012

Hello Madhu,

The only way to send an email without opening a client is: using server-side mail objects invoked by your app.

This would be the workflow:

- your user fills in form data (subject, body, mail_to)

- your application sends form data to a server (via httpservice or webservice or AMF)

- the server takes care of sending the mail in a way that is transparent to your user

So: it is not possible to send emails without opening the iPhone client (I think by "outlook" you mean the "mail client" with an Exchange account) for security reasons. You wouldn't want any app to send mails without you pressing "Send" in a known interface.

madhu_51Author
Participant
March 12, 2012

Hi thanks for the answer.

I want to  know then how do we send mail by using default mail client.

Requirement is i should set sender address, subject and body part. And in if case there is no mail client how i can handle this case ?

Regards,

Madhu

Inspiring
March 13, 2012

Hi Madhu,

in this Adobe blog entry http://blogs.adobe.com/cantrell/archives/2010/11/uri-handlers-in-air-for-android-phone-calls-email-text-messages-maps-and-urls.html

you will find everything you need to send mails, SMSs, make calls.

If the mail client is not configured, you're presented with the device's functionality that allows you to configure it (for instance: in iOS, you have the screen with google, yahoo, exhange choice).

The idea that there is no mail client at all on a smart device is not worth considering, in my opinion.

Regards,

Riccardo