Jump to content

Email x days afer domain purchase


searley

Recommended Posts

I would like to be able to send and email 10 days after the purchase of a domain name if no hosting package already exists, offering a free trial hosing package.. Any automated way to do this?

 

I have done this manually in the past and it seems to increase sales of hosting

Link to comment
Share on other sites

Hi

 

You need to cron a php where you query the database to select all clients with "Active" domain and where DATEDIFF between NOW() and setup date is 10. Finally do a while() to send the email with PHPMailer. Notice that you can use PHPMailer that is already included in WHMCS. Just remember to include functions.php.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated