A Flash Developer Resource Site

Results 1 to 6 of 6

Thread: Going more advanced with mailto:

  1. #1
    An FKer
    Join Date
    Sep 2005
    Location
    Ontario
    Posts
    1,167

    Going more advanced with mailto:

    Hey everyone,

    I've decided to start learning how to go about sending emails to people using flash, and so far its been an easy learn.

    I simply followed this tutorial as well as reading my book and came up with this :

    on (release) {
    getURL("mailto[email protected]?subject=Feedback"+"&body="+b ody);
    }

    = : p without the spacing, haha stupid emotes :P


    Basically it emails my email and sets the subject as "Feedback" as well as putting in the message area the variable 'body' which was simply a input text field.


    But I want to go more advanced and was wondering if someone could please help out. I would like to know if its possible to:

    Send an email without having to open a email editor such as outlook. So in other words, its just sends the email with the click of the button in flash. Also, how one would send attachments along with it (ie, e-cards)


    Thanks

  2. #2
    Living Proof mave_the_rave's Avatar
    Join Date
    May 2002
    Location
    East Dulwich
    Posts
    1,006
    I have been looking into sending attachments, but you have to bear in mind.
    that if this were placed on a website.. then a visitor to your site would not have
    the file you have coded to be attached, on his PC.
    If someone tells you it can't be done,
    it's probally because they don't know how.

  3. #3
    I'm learning... Thankful's Avatar
    Join Date
    Jun 2005
    Location
    e.v.e.r.y.w.h.e.r.e
    Posts
    487
    You have to use PHP scripts. Find more about those in here:

    http://www.kirupa.com/developer/acti..._php_email.htm

    Also, take a look at my example (how I solved that one) on my web site...

    Cheers !
    :: ONLINE PORTFOLIO :: web site (Flash version 7 required, recommended screen resolution: at least 1024x768 pixels)

    :: SASHA-Z-CREATIONS :: web site

  4. #4
    I'm learning... Thankful's Avatar
    Join Date
    Jun 2005
    Location
    e.v.e.r.y.w.h.e.r.e
    Posts
    487
    Also to avoid showing of those smilies in your code parts, use WRAP CODE TAGS AROUND THE SELECTED TEXT when posting such a content.

    See here:

    Code:
    on (release) {
    getURL("mailto:[email protected]?subject=Feedback"+"&body="+body);
    }
    Regards
    :: ONLINE PORTFOLIO :: web site (Flash version 7 required, recommended screen resolution: at least 1024x768 pixels)

    :: SASHA-Z-CREATIONS :: web site

  5. #5
    An FKer
    Join Date
    Sep 2005
    Location
    Ontario
    Posts
    1,167
    Hmm php ...

    Well ok then thanks alot guys , I appreciate the comments. Unfortunatly I dont think Im ready to take on something like Php at the moment haha

    Thanks

  6. #6
    I'm learning... Thankful's Avatar
    Join Date
    Jun 2005
    Location
    e.v.e.r.y.w.h.e.r.e
    Posts
    487
    Do not be affraid my neighbour (I live in Etobicoke-Toronto)...

    Integration between PHP and Flash is not that difficult. Just follow those advices from the Kitupa web site I gave you link for and I'm sure you'll learn it pretty quick. I did the same thing and it helped me a lot. See how I did my PHP mail panel on my site, and I started with exactly the same example...

    Cheers !
    :: ONLINE PORTFOLIO :: web site (Flash version 7 required, recommended screen resolution: at least 1024x768 pixels)

    :: SASHA-Z-CREATIONS :: web site

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center