0

I create small form (Name, email, Subject, Message) in Flash. Want to send this by email using AS3 code.

Can we use this offline? Like, we fill all the detail and after submit then its go online and receive the detail in email

Nav
  • 25
  • 1
  • 8
  • 1
    Yes, you can make a call to your webserver running a PHP/ASP script that sends the email even though your flash file is local. You probably have to make sure that crossdomain policies are allowed, however. – h2ooooooo Dec 31 '12 at 09:57

2 Answers2

1

as @esimov said, security is not major concern then you have to use SMTPMailer, because your mail send in pure text form to the e-mail server. but if you want to use SMTPMailer then you can use some encryption and decryption method in it. This encryption packet with key are traceable. so If security is major concern then you must use airxmail written in actionscript so you can send and receive mail with SMTP, POP3, IMAP4 protocol. best example are given to send and recieve a mail.

May this will help you.

JK Patel
  • 858
  • 8
  • 22
-1

If you want to use an email client directly using Flash technology you need to stick with Flex. It has a robust backend interaction and even more it allows to do some cross scripting interactions.

However if you wish to use Flash and not Flex, actually there is an email sending application called SMTPMailer which sends attached files through emails with the Socket class available in the Player 9 and AS3. Please note, that for security reason is always better to send emails from the server side of the application. So another possibility would be to integrate the email sending part in a server side script.

Endre Simo
  • 11,330
  • 2
  • 40
  • 49