Send an email through flash app? cs4

hi
just wondering if anyone could let me know how i would go about setting up my flash app to send an email when the submit button is pressed?
I know i need to use php but everytime i try it doesnt work, i read i need to add code to my server, although this application isnt meant for the web as such its more a local application whereby the user can type a message when they require help and send it over the internet to my mailbox
hope you can help
thanks
fonzio

hello again
still having trouble with this issue
ive decided to go for the open outlook option
problem is if i type a subject into my subject area (subject_txt.text), and a message into my message area (body_txt.text)
using this code
conbtns_mc.btn_submit_mc.addEventListener(MouseEvent.CLICK, contactclick)
function contactclick (event:MouseEvent):void{
navigateToURL(new URLRequest("mailto:[email protected]?subject=subject_txt.text&body=body_txt.text"));
then the email generated in outlook has a subject heading of
subject_txt.text
and the body has
body_txt.text
how can i get the values inserted into my textboxes into outlook when i click submit?
many thanks in advance
fonzio

Similar Messages

  • Is it possible to send HTML Email through Flash using navigateToURL()

    Hey,
    I was trying to pass html content to the email body, but looks like it is not doing that.
    var request:URLRequest = new URLRequest('mailto:');
                var variables:URLVariables = new URLVariables();
                variables.subject ="Subject";
                variables.body = '<b>hello</b>';
                request.data = variables;
                request.method = URLRequestMethod.GET;
               request.contentType = "text/html";
                navigateToURL(request, "_self");
    current output inthe email:   <b>hello</b>
    Expected result : hello
    Please let me know if anybody knows the solution
    Note: I even tried these but didn't work.
    variables.body = encodeURIComponent('<b>hello</b>');

    is there any other object or an alternative solution available in Flex or AIR to do this from client side. my goal is, open the system default email client and pass the html content to it's body.

  • Why I can't  send my email through my Ipad 3?

    I don't know what to do. everytime I send my email through my ipad 3 , It said because of outsider server but I think it is not correct . cos my friend can send it but me not so what shoud i do?

    Sann Raksmey wrote:
    why when I connect my Ipad3 to my Window Computer it does not charge? I mean my ipad not charge like when I connect it with other App Computer at Apple Store?
    The quickest way (and really the only way) to charge your iPad is with the included 10W USB Power Adapter. iPad will also charge, although more slowly, when attached to a computer with a high-power USB port (many recent Mac computers) or with an iPhone Power Adapter (5W). When attached to a computer via a standard USB port (most PCs or older Mac computers) iPad will charge very slowly (but iPad indicates not charging). Make sure your computer is on while charging iPad via USB. If iPad is connected to a computer that’s turned off or is in sleep or standby mode, the iPad battery will continue to drain.
    Apple recommends that once a month you let the iPad fully discharge & then recharge to 100%.
    How to Calibrate Your Mac, iPhone, or iPad Battery
    http://www.macblend.com/how-to-calibrate-your-mac-iphone-or-ipad-battery/
    At this link http://www.tomshardware.com/reviews/galaxy-tab-android-tablet,3014-11.html , tests show that the iPad 2 battery (25 watt-hours) will charge to 90% in 3 hours 1 minute. It will charge to 100% in 4 hours 2 minutes. The new iPad has a larger capacity battery (42 watt-hours), so using the 10W charger will obviously take longer. If you are using your iPad while charging, it will take even longer. It's best to turn your new iPad OFF and charge over night. Also look at The iPad's charging challenge explained http://www.macworld.com/article/1150356/ipadcharging.html
    Also, if you have a 3rd generation iPad, look at
    Apple: iPad Battery Nothing to Get Charged Up About
    http://allthingsd.com/20120327/apple-ipad-battery-nothing-to-get-charged-up-abou t/
    Apple Explains New iPad's Continued Charging Beyond 100% Battery Level
    http://www.macrumors.com/2012/03/27/apple-explains-new-ipads-continued-charging- beyond-100-battery-level/
    New iPad Takes Much Longer to Charge Than iPad 2
    http://www.iphonehacks.com/2012/03/new-ipad-takes-much-longer-to-charge-than-ipa d-2.html
    Apple Batteries - iPad http://www.apple.com/batteries/ipad.html
    Extend iPad Battery Life (Look at pjl123 comment)
    https://discussions.apple.com/thread/3921324?tstart=30
    New iPad Slow to Recharge, Barely Charges During Use
    http://www.pcworld.com/article/252326/new_ipad_slow_to_recharge_barely_charges_d uring_use.html
    Tips About Charging for New iPad 3
    http://goodscool-electronics.blogspot.com/2012/04/tips-about-charging-for-new-ip ad-3.html
    Prolong battery lifespan for iPad / iPad 2 / iPad 3: charging tips
    http://thehowto.wikidot.com/prolong-battery-lifespan-for-ipad
    In rare instances when using the Camera Connection Kit, you may notice that iPad does not charge after using the Camera Connection Kit. Disconnecting and reconnecting the iPad from the charger will resolve this issue.
     Cheers, Tom

  • I can't receive email through mail app

    Hi
    I can't receive anymore emails through mail-app on my IMac. I am only able to send but not receiving. I did not change any settings. I have also a IPad but everything seems ok with that and nail is working properly there.
    Please could you help me out.
    Thnaks
    Hossein

    I never had that problem with POP mail before. The message may still be the serrver for you to dwonload. A this point I'd recommend you contact AppleCare, if you don't have the contact information you can find it at:
    http://support.apple.com/kb/HE57

  • Can LabVIEW send an email through Microsoft Exchange server without an account set up in Outlook?

    I've found sample code that shows how to send email through Outlook using LabVIEW.  On any computer I log into on our network, my profile loads and I have access to the exchange server through Outlook so the code works.
    However, I am developing a program that will run on a lab computer with a generic PC login that is shared among everyone in the lab.  Exchange server/outlook is not set up for the generic user.
    Is it possible to have labVIEW send an email through the exchange server with a server name, username, and password coded into the executable?

    You would need to send a standard SMTP message via Exchange. The Exchange server will likely require authentication, so you won't be able to use the built-in SMTP VIs, as they do not support authentication. If you're on Windows you can use .NET (see this example), or use the OpenG SMTP VIs.

  • Sending an Email from the app along with table data

    Hi All,
    I would like to send an email from my app. I tried to put in the field attachment SQL this query: select * from Table_Name where id = (select max(id) from Table_Name) but it did not work. It showed me this error:
    1 error has occurred
    Wrong number of columns selected in the SQL query. See Help of attribute for details.
    I would like to send an email every time the user insert a row with that row in the email... How can I do that?
    Thank You.

    What I would suggest is the following:
    Build an After Insert Trigger on the table in question. In this trigger build a string with ALL the columns that are being inserted into the table. Then you will need to build some local variable to submit your mail. You will send your e-mail via UTIL_SMTP mail, since you may NOT always being in an APEX application when the table is updated..
    Ask away if you have more questions..
    Thank you,
    Tony Miller
    Webster, TX
    I am a Ranger! We walk in the dark places no others will enter! We stand on the bridge and no one may pass! We live for the One, we die for the One!
    If this question is answered, please mark the thread as closed and assign points where earned..

  • Sending an email through JavaMail

    Hi
    I am trying to send an email through JavaMail, the jsp page which is sending the mail is called testmail.jsp. Code snippet:
    try
    InternetAddress toAddress = new (InternetAddress"xxxxxxxx","xxx");
    InternetAddress fromAddress = new InternetAddress("xxxxxxx","xxxxxx");
    Properties props = new Properties();
    props.put("mail.smtp.host", "xxxxxxxx");
    Session mailsession = Session.getDefaultInstance(props, null);
    Message msg = new MimeMessage(mailsession);
    msg.addRecipient(Message.RecipientType.TO, toAddress);
    msg.setSubject("A Simple E-mail Message!");
    msg.setFrom(fromAddress);
    msg.setText("Hi\rThis message has been sent from a JSP page.\nBye\rTest");
    Transport.send(msg);
    %>
    <b>An e-mail has been sent.</b>
    <%
    catch (Exception e)
    e.printStackTrace();
    When i send the email to my own email address(on the same domain where the actual testmail.jsp is hosted) my mail is being sent successfully. BUT when i try sending to eg. a hotmail address I just get a blank page with no errors (from Tomcat) and no mail is sent.
    PLEASE HELP. Is it something to do with the protocol or am I doing something wrong
    THANKS LODES
    sabcarina

    Basically, it's fine. The only thing I could see (other than adding imports, etc.) was that there was an extra open parenthesis in the first InternetAddress declaration. This is my complete JSP, which worked fine for me:<%@ page import="javax.mail.*" %>
    <%@ page import="javax.mail.internet.*" %>
    <%@ page import="java.util.*" %>
    <%
    try {
       InternetAddress toAddress = new InternetAddress("[email protected]","Bill Gates");
       InternetAddress fromAddress = new InternetAddress("[email protected]","Hotmail");
       Properties props = new Properties();
       props.put("mail.smtp.host", "smtp.server.address");
       Session mailsession = Session.getDefaultInstance(props, null);
       Message msg = new MimeMessage(mailsession);
       msg.addRecipient(Message.RecipientType.TO, toAddress);
       msg.setSubject("A Simple E-mail Message!");
       msg.setFrom(fromAddress);
       msg.setText("Hi\rThis message has been sent from a JSP page.\nBye\rTest");
       Transport.send(msg);
       %>
          <b>An e-mail has been sent.</b>
       <%
    } catch (Exception e) {
       e.printStackTrace();
    %>Bob

  • Sending an email through JSP and WML

    I am trying to send an email through jsp in wml, i think i have everything set up properly with regards to tomcat however I keep getting the error
    "Invalid element 'PCDATA' in context of card expected on event ....."
    The line of code in which this occurs is           
    <jsp:setProperty name="mailer" property="*"/>
    I was wondering if anyone would be able to help me with this and be able to tell me why it thinks this is PCDATA and not jsp code.
    Any help would be much appreciated.

    Check out:
    http://jakarta.apache.org/taglibs/index.html

  • Can we send bulk email through exchange server 2010

    can we send bulk email through exchange server 2010

    You can do this however not sure I would recommend that since if people complain they are getting spammed it could effect your production servers domain/IP, i.e. it could get black listed.   Personally I always recommend using a different system for
    email blast  to protect my production IP addresses and also to keep the load off of exchange as well as email marketing systems have built in capabilities for reporting, opt in/out capabilities etc.
    All of that said perhaps you can tell us more about what exactly it is you want to do and how often?
    Search, Recover, & Extract Mailboxes, Folders, & Email Items from Offline Exchange Mailbox and Public Folder EDB's and Live Exchange Servers or Import/Migrate direct from Offline EDB to Any Production Exchange Server, even cross version i.e. 2003 -->
    2007 --> 2010 --> 2013 with Lucid8's
    DigiScope

  • TS4002 I am not recieving or sending any emails through iCloud on any device.

    I go to my email through my iPhone 4, Not updated software, last received email is dated 11/5/13. I go onto my Dell computer and still nothing in my emails. I tried sending an email if I go into my sent does not show up or nether in my draft. I even tried emailing a blank email to my account from a different and nothng. What is going on?

    OK. I just had this exact issue. You need to go into your icloud.com account on the web and then click on your Trash. Then click on the gear in the lower left corner and select "empty trash." If you're just deleting things you're not really freeing up space because it's still in your trash.
    REALLY irritating... I missed a whole bunch of important emails due to this and NEVER not a notification.

  • Sending an email through a swing application

    Can anyone please tell me how can I send an emil through a Java Swing application.
    I am lookin g for something like,on clicking on a button microsoft outlook application should open up.

    I don't have the code with me right now, but I had to do a simple interface for a friend of my for templated emails.
    Anyway, with I did was go into Outlook Express and save an email to see the extension and format. Then streamed the email I wanted out to a local file in that format followed by a Systeme.exec() on the file name to allow windows to launch outlook and open the file.
    Not the cleanest solution as far as portability, but it was quick.

  • Sending an email through jsp

    is there any facility to send an email to persons through jsp

    Check out:
    http://jakarta.apache.org/taglibs/index.html

  • Problem Sending Authenticated email from C2 App

    Hi All,
    I am trying to send an auto response with gathered user details back to the user from my app.
    I have completed the sending emaill tutorial but this is for email that does not need authenticated. I am thinking that I just need to pass my e-mail address and password to btinternet ( my mail server) but I am not sure where to pass this in my code. I get the error "To fix this you must make a simple change to your email(known as SMTP authentication)" The app runs as far as the asterisks** below at log("Got client");
    Thanks
    Jim.
    public void sendCustomerDetails(String firstName,String surname,String username,String password,String email,String telephoneNumber,String addressLn1,String addressLn2,String city,String country,String postcode, int customerID) {
    // This will send an Email to the customer with a copy of their login details as stored on the Focal Point customer tabl
    // method to send an e-mail via SMTP
    // (if no authentication is required from the mailserver)
    boolean loggedIn = getSessionBean1().getLoggedIn();
    String from = "***********"; // from address
    String to = "email"; // to address
    String mailserver = "***********";
    String SMTP_AUTH_USER = "***********";
    String SMTP_AUTH_PWD = "***********";
    //"[email protected]"
    log("To address is: "+to);
    log("About to try and Email details: To: "+email+" Firstname: "+firstName);
    try {
    log("In the Email try");
    sun.net.smtp.SmtpClient client = new sun.net.smtp.SmtpClient(mailserver);
    log("Got client");
    client.from(from);
    client.to(to);
    log("Set the client from and to - About to create the print stream");
    java.io.PrintStream message = client.startMessage();
    log("Started message");
    message.println("To: " + to);
    // TODO: set the subject line
    message.println("Subject: Customer Details - Focal Point Furniture");
    // TODO: set the body of the message
    // message.println(getTextArea1().getValue().toString());
    if (loggedIn){
    message.println("Hello "+firstName+",\nThanks for updating your details with Focal Point Furniture Online.\n\nPlease check that the following information is correct and keep this Email for your records.\n\n");
    } else{
    message.println("Hello "+firstName+",\nThanks for registering with Focal Point Furniture Online.\n\nPlease check that the following details are correct and keep this Email for your records.\n\n");
    message.println("Your Name: " +(firstName +" "+ surname));
    message.println("YourAddress: " + addressLn1+"\n");
    message.println(" "+ addressLn2+"\n");
    message.println(" "+ city+"\n");
    message.println(" "+country+"\n");
    message.println(" "+postcode+"\n");
    message.println("Your Password is: " + password+"\n\n");
    message.println("Your Customer ID is: " customerID"\n\n If any of these details are incorrect please log in to http://www.focalpointfurniture.co.uk to ammend.\nThanks and Regards,\nJames \n\n NB. If you forget your username and password, you will be able to use your custoomer ID to have your saved details Emailed to you.");
    client.closeServer();
    log("Message is sent!!!");
    } catch (java.io.IOException ex) {
    // in the case of an exception, print a message to the output log
    log("ERROR SENDING EMAIL:"+ex);
    }

    Maybe my response to
    http://forum.sun.com/jive/thread.jspa?threadID=46510&messageID=342045#342045
    helps you as well.
    Thanks,
    -- Marco

  • Airport Extreme Won't Allow iMail to Send out Emails through POP or IMAP

    So we just got the Airport Extreme and the internet is working just fine, but on both my macbook and my Father's iMac we can't send emails through our iMail. Mine is connected to my gmail account and his is connected to a comcast account. We can both receive email, but not send it out, it just sits in the outbox attempting to send itself.
    I tried resetting my account, and deleted it altogether and made a new one, but that still didn't work.
    Any other ideas?

    OS X Mail: Troubleshooting sending and receiving email messages

  • Sending an email through J2ME

    What is the easiest way to send an email to an email account using J2ME?
    I browsed google, and all of the results appeared very complex. Is there a simple way to do it (like you can with PHP)?
    Thanks!

    My phone doesn't have a mobile mailer.
    I can't believe emailing is so difficult!
    Would this solution work:
    import javax.microedition.lcdui.*;
    import javax.microedition.midlet.*;
    import javax.microedition.io.*;
    import java.io.*;
    import java.util.*;
    public class Emailer
         String url;
         String to;
         String from;
         String subj;
         String msg;
         HttpConnection conn;
         OutputStream output;
         public Emailer(String url, String to, String from, String password,
                                                String subj)
              this.url = url;
              this.to = to;
              this.from = from+"/"+password;
              this.subj = subj;
         public boolean sendEmail(String msg)
              this.msg = msg;
              try
                   StringBuffer buffer = new StringBuffer();
                   buffer.append("To: " + to);
                   buffer.append("From: " + from);
                   buffer.append("Subject: " + subj);
                   buffer.append("Message: " + msg);
                   conn = (HttpConnection) Connector.open(url);
                   conn.setRequestMethod(HttpConnection.POST);
                   output = conn.openOutputStream();
                   int i = 0;
                   char c;
                   while((c = buffer.charAt(i)) != 0)
                        output.write(c);
                        i++;
              catch (Exception e)
                   return false;
              return true;
    }I tried it, but I never got the email...
    Also, is there a simple way to read from .txt files?
    Thanks!

Maybe you are looking for

  • How can i use my iPod Touch as an External drive on my mac?

    Hi, I was trying to copy some videos form my mac to my ipod touch but the videos were to big to email. Any ideas? Thanks

  • *** balance in FAGLB03 for ST ledger

    Hi Friends, Can i have abapi or FM which can provide me *** balance for a given G/L account, company code, fiscal year and ledger type as ST Bapi BAPI_GL_ACC_GETPERIODBALANCES gives balance for ledger type 0L Thanks

  • How do you change a bookmark's icon?

    I want to change some icons on my bookmarks, and I cannot find any information on it.

  • Item Master showing wrong Tax % in Purch. and Sales Tab

    Hi In Item Master Data Purchasing and Sales Tab the wrong Tax % value is shown. It shows the value valid from 1.1.2011 and not the value that is currently valid. In all other areas it does show and use the correct, at current date valid value. 2007A

  • 6230i first time isyncer

    Hi I've just bought a Nokia 6230i (which is listed as a suppoeted phone on Apple's Isync pages). But although I can communicate with the phone over Bluetooth the option to synchronise with Isync is not available. Anybody know what's going on? I don't