/    Sign up×
Community /Pin to ProfileBookmark

Automatic Email Generation

I would like to get some guidance on thi issue.

I have website where I take orders and I would like to email each customer with an order follow up email, 7 dyas after the order is completed. All the data of the order is in a SQL database.

How can this be done?
Do I need some type of application installed on the server in order to that? Do I need a html script added to my code?

ANY HELP WILL BE APPRECIATED!!!

to post a comment
HTML

3 Comments(s)

Copy linkTweet thisAlerts:
@nickismeJan 23.2006 — You can do this best with PHP... how confident are you with MySQL btw?
Copy linkTweet thisAlerts:
@maoauthorJan 23.2006 — Thanks for the reply.

My website is on ASP and I am not familiar with PHP but I can catch up if I need to...

From 0 to 10 I think I am in the 4 or 5 undersntading of MYSQL.
Copy linkTweet thisAlerts:
@swtransJan 24.2006 — Here is something I use in SQL Server to send emails. Very crude, but it works. You could schedule a job every day, to execute a stored procedure that sends an email to any record that is a week old.

TRUNCATE TABLE _EmailText

INSERT INTO _EmailText

(Description)

SELECT *

FROM _
JessIn

EXEC master.dbo.xp_sendmail '_____[email protected]',

@message=

'Here is the history from your

Account. Keep up the good work!

',

@query = 'SELECT * FROM Jess.._
EmailText',

@subject = 'Transaction History'
×

Success!

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