Results 1 to 3 of 3
  1. #1
    AlienNova is offline Bombing Paradise
    Join Date
    Jun 2012
    Location
    Virginia
    Posts
    1
    Rep Power
    0

    Question Not really new but needs help

    How do I send variables to my email?

    I have the java mail extension but all I'm doing is hitting a wall afterwards on how to send variables to my email address

  2. #2
    Diargg is offline Senior Member
    Join Date
    Feb 2012
    Posts
    117
    Rep Power
    0

    Default Re: Not really new but needs help

    Send variables? Are you talking about strings or more complex objects? If you want all the data associated with an object, you could try implementing Serialize or rolling your own XML output. If you want the info stored in it, create a toEmail or toString method and call that in conjunction with MimeMessage#setText(String input).

    Or do you mean "hitting a wall" as in you can't get your smtp server working?

    EDIT: You did, of course, look through the API, right?

  3. #3
    DarrylBurke's Avatar
    DarrylBurke is offline Member
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    11,188
    Rep Power
    19

    Default Re: Not really new but needs help

    Please go through the Forum Rules -- particularly the third paragraph.

    db
    If you're forever cleaning cobwebs, it's time to get rid of the spiders.

Posting Permissions

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