Jump to content

Subscriptions and emails


compulsionlc

Recommended Posts

I have created a classifieds ad site which also has a subscriptions based service where members can subscribe to ad categories. I am no php guru but do know some mysql. What recommendations do you have for automating sending out the emails to members daily with a report or a link to the ads that have been added for that day. currently i have 32 ad categories so i need to make at least some part of this process automated.

Link to comment
https://forums.phpfreaks.com/topic/132501-subscriptions-and-emails/
Share on other sites

Thank you and that is a good idea. However i would like to start with knowing how to populate html pages and then email the page. However in the interim i would be interested in knowing how i can possibly send out multiple emails with dynamic data pulled form a myswl database. Eg.

i have a table calls subs

subid (id for each subscription)

catid (the category id for the ad subscribed to)

email (the email address to send the mail to)

 

i was thinking of just as a matter of urgency for now, include a link in the email pointing to a page with the necessary information but the page has to be dynamic and most likely pull information from several url variables.

eg. www.mydomain.com/ads.php?catid=7&date=20081005

however this information has to be different for each user based on the matching column in the database.

so i would need to print the catid variable and the date variable and append it to the url for each user based on thier preferences.

Please help.

 

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.