/    Sign up×
Community /Pin to ProfileBookmark

Populate email body from within html-code

Hi out there.
I’m a beginner within programming html.
With mailto: it is possible to send an email from within html but
.. how can I populate the body with data created inside
tags <vbscript …. code … vbscript>

Within the script I get e.g. the IP-address and name of the
machine and I want to get these values into the body text
of the email.

Please help.

[email][email protected][/email]

to post a comment
HTML

2 Comments(s)

Copy linkTweet thisAlerts:
@candelbcOct 17.2005 — My recommendation would be to use a Server Side Scripting like PHP or ASP and an HTML form so you can control what can and can't be on your email.

But... I believe this is what you are looking for with the MAILTO line:

mailto:[email protected]?Subject=Here%20is%20your%20sign&body=This%20is%20Body%20Text.

Hope this is what you are looking for.
Copy linkTweet thisAlerts:
@felgallOct 17.2005 — mailto only works

  • 1. if the person has a separate email program installed on their computer (many people don't) or


  • 2. to provide spammers with your email address so they can send you lots of spam.
  • ×

    Success!

    Help @selsmoran spread the word by sharing this article on Twitter...

    Tweet This
    Sign in
    Forgot password?
    Sign in with TwitchSign in with GithubCreate Account
    about: ({
    version: 0.1.9 BETA 6.18,
    whats_new: community page,
    up_next: more Davinci•003 tasks,
    coming_soon: events calendar,
    social: @webDeveloperHQ
    });

    legal: ({
    terms: of use,
    privacy: policy
    });
    changelog: (
    version: 0.1.9,
    notes: added community page

    version: 0.1.8,
    notes: added Davinci•003

    version: 0.1.7,
    notes: upvote answers to bounties

    version: 0.1.6,
    notes: article editor refresh
    )...
    recent_tips: (
    tipper: @nearjob,
    tipped: article
    amount: 1000 SATS,

    tipper: @meenaratha,
    tipped: article
    amount: 1000 SATS,

    tipper: @meenaratha,
    tipped: article
    amount: 1000 SATS,
    )...