aspose file tools*
The moose likes Flex and the fly likes sending email with Flex requires, use of a server side language like Java or PHP? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Frameworks » Flex
Bookmark "sending email with Flex requires, use of a server side language like Java or PHP?" Watch "sending email with Flex requires, use of a server side language like Java or PHP?" New topic
Author

sending email with Flex requires, use of a server side language like Java or PHP?

Leonidas Savvides
Ranch Hand

Joined: Jan 31, 2010
Posts: 403
sending email with Flex requires, use of a server side language like Java or PHP?
Paul Sturrock
Bartender

Joined: Apr 14, 2004
Posts: 10336

Yes and no. If it is an AIR client you could make requests direct to the SMTP server.


JavaRanch FAQ HowToAskQuestionsOnJavaRanch
Leonidas Savvides
Ranch Hand

Joined: Jan 31, 2010
Posts: 403
I am meaning when you embed a flex send email component, to my web page [use flash player],...well if this is an html page or... is a php one?
Paul Sturrock
Bartender

Joined: Apr 14, 2004
Posts: 10336


well if this is an html page or... is a php one

Not sure what this means. All pages rendered in a normal web browser will be HTML. Flex is a fat client that can do a bunch of things HTML cannot and you can talk to email servers from an AIR app. I'm not sure off the top of my head if browser security restrictions will prevent a Flex client making requests to an email server too, but my guess is you'll maybe run into problems.
Leonidas Savvides
Ranch Hand

Joined: Jan 31, 2010
Posts: 403
I mean embed a flex email component eg 300px X 250px only, to an html or php page, can I?
Any case to send email, is involved server side scripting(PHP) or this can be done, with Action script only?
Paul Sturrock
Bartender

Joined: Apr 14, 2004
Posts: 10336


I mean embed a flex email component eg 300px X 250px only, to an html or php page, can I?

You are aware that PHP page and HTML page mean the same thing, yes? How you build your HTML is irrelevant here.


Any case to send email, is involved server side scripting(PHP) or this can be done, with Action script only?

See my previous response. A quick google suggests people normally implement this with a server side component.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: sending email with Flex requires, use of a server side language like Java or PHP?