/    Sign up×
Community /Pin to ProfileBookmark

RE: looking for a script to handle e-cards

Hello –

I’m not sure if I’m posting this in the correct forum as I’m new to server-side programming.

I’m looking an easy-to-implement script to handle the sending and parsing of e-cards.

I don’t want to archive the e-card on my web server – I’d prefer to have the card (an image with a simple greeting) sent to the recipient’s e-mail inbox.

Is this possible? php?

All and any suggestions appreciated.

Thanks!

Robsta
?

to post a comment
PHP

5 Comments(s)

Copy linkTweet thisAlerts:
@pyroSep 28.2003 — Yes, it is possible with PHP. Wouldn't be overly hard, just need to parse the users input and turn it into a HTML formatted email. If you are looking for a pre-built solution, try looking at http://php.resourceindex.com/ or http://www.hotscripts.com/. If they don't have anything and you are unable to do it yourself, you may need to hire a [URL=http://www.infinitypages.com/programming.php]programmer[/URL].
Copy linkTweet thisAlerts:
@robsta117authorSep 28.2003 — Thanks for the reply - I checked hotscripts and couldn't find anything - I'll look into resourceindex later and see what they've got.

I've been working with a php form mail script that I've been able to modify in order to parse assorted forms on my site - it's all plain text.

Would it be possible to modify a form mail script to handle html formatted mail?

If you'd like to view the script I've been using, please let me know and I can post or PM it to you.

Thanks -

Robsta

?
Copy linkTweet thisAlerts:
@pyroSep 28.2003 — To send HTML formatted email you just need to set the Content-type header, something like this:

[code=php]$headers = "MIME-Version: 1.0rn";
$headers .= "Content-type: text/html; charset=iso-8859-1rn";[/code]
and then remember to add that to your [URL=http://www.php.net/mail]mail[/URL] function...
Copy linkTweet thisAlerts:
@robsta117authorSep 28.2003 — Thanks for the code snippets and for the link to php.net - didn't know about this resource. It looks like a great place to find info.

All the best,

Robsta

?
Copy linkTweet thisAlerts:
@pyroSep 28.2003 — Yes, make friends with php.net, and you'll do well... ?
×

Success!

Help @robsta117 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.21,
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,
)...