/    Sign up×
Community /Pin to ProfileBookmark

HTML email help!

Hi,

I have been asked to create a HTML email to mail out to clients. The email design contains a form which will then send the form data back to another email address.

Is this possible? I know that the mailto action is not a good thing to use and am thinking that the form data should be send back to a php script using “GET” rather “POST”. But I am confused as to how to make this work. Any suggestions?

Any help would be greatly appreciated!

Thanks.
Melzee

to post a comment
HTML

3 Comments(s)

Copy linkTweet thisAlerts:
@YelgnidrocFeb 05.2008 — I use html and php to generate html e-mails.


It's quite a big topic so I'd suggest reading up on it to start with.

The things you need to read up on are:

Form input validation

Protecting against being used as a spam relay

Protecting against sql injection if using a database

Creating a MIME e-mail as you shouldn't send just html e-mail (some clients can't read them)

Possibly php sessions so that you can create "stick" forms.
Copy linkTweet thisAlerts:
@kiwibritFeb 06.2008 — I wouldn't put the form directly in the email - though I must admit I cannot justify why - just a gut instinct.

Personally, I would have a link to a web page form, then handle it from there.

But I'll be interested to see what others think.
Copy linkTweet thisAlerts:
@YelgnidrocFeb 06.2008 — I wouldn't put the form directly in the email [/QUOTE]

I agree, mainly because of clients that cant read html. And I wouldn't know how to handle / validate it.
×

Success!

Help @melzee 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 5.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: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

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

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...