Tech Support Guy banner
Status
Not open for further replies.
1 - 16 of 16 Posts

· Registered
Joined
·
4,051 Posts
First Name -
Garrett
Discussion Starter · #1 ·
Hey everyone :D

Here at the office, they want to be able to have an automated email to go out when it is an agent's birthday.

Should I use ASP (since my host uses that) and integrate it withing my web space, or is there a program that I can use to do this?

I know I will probably need a database if I do it within my webspace.

Anyone have any ideas? :D
 

· Registered
Joined
·
4,051 Posts
First Name -
Garrett
Discussion Starter · #3 ·
I'm not sure really, I'll have to look into that. The only problem I would see with that is I want to be able to send html emails out, and I can't seem to get those to work within Gmail.

Right now I am sending emails using Thunderbird (Mozilla), and sending them as Plain Text/HTML, so ones that can't receive HTML still get the plain text of the message. I'll definitely look into Gmail though :):up:

Any other suggestions?
 

· Registered
Joined
·
1,205 Posts
I'm pretty sure this can be done in PHP pretty easily, i'm not that good with php yet, so I'll probably write one up with sloppy code:

PHP:
<?php
$date = //some way of determining the date, i'm pretty sure there is a function, but i can't look that up right now, i have to leave to school in a few mins.
$tom = "January 1, 2007";
$stacy = "January 3, 2007";

if $date == $stacy
{
echo "Happy birthday stacy!";

//insert email code here
}

?>
 

· Registered
Joined
·
4,051 Posts
First Name -
Garrett
Discussion Starter · #5 ·
That's a good start knight :):up: That gives me a few ideas on how to possibly implement it.

I was thinking of using a database, though, since I'll have around 200 or more birthdays to check, and I already have the login script, with each individuals username and password. I'm guessing I could also just add to that database, a field for birthday.

I'm also using ASP, but the code above gives me a good starting idea. I think that's on the right track though.

Any other suggestions?
 

· Registered
Joined
·
3,029 Posts
smooth said:
I'm not sure really, I'll have to look into that. The only problem I would see with that is I want to be able to send html emails out, and I can't seem to get those to work within Gmail.

Right now I am sending emails using Thunderbird (Mozilla), and sending them as Plain Text/HTML, so ones that can't receive HTML still get the plain text of the message. I'll definitely look into Gmail though :):up:

Any other suggestions?
Well I know if you sent an html attachment to a gmail address, it uses that attachment as the body of the email (or it did last time I tried, which was a year ago). But you'd have to bank on your agents having gmail ;)
 

· Registered
Joined
·
4,051 Posts
First Name -
Garrett
Discussion Starter · #7 ·
namenotfound said:
Well I know if you sent an html attachment to a gmail address, it uses that attachment as the body of the email (or it did last time I tried, which was a year ago). But you'd have to bank on your agents having gmail ;)
Yeah, I don't think but about 3 of them have gmail ;) :p

I would like something similar to Birthday Alarm, but where it sends out a email that is wishing a Happy Birthday, rather than reminding me of a birthday. :)
 

· Registered
Joined
·
4,051 Posts
First Name -
Garrett
Discussion Starter · #9 ·
Thanks for the link jim :)

It gives me a good idea, like the post above, of what to basically start with. Unfortunately, I need ASP, since my Web Host uses that. :)
 

· Registered
Joined
·
4,051 Posts
First Name -
Garrett
Discussion Starter · #11 ·
Thanks for the link namenotfound :) I'll have to see about doing that as well on the in-house server :D

I know the web host I have is a windows server, running ASP, so I mainly need ideas using ASP, since I can't install php on their server.
 

· Registered
Joined
·
1,464 Posts
You could do this with C++ though I'm not exactly sure how to send complex emails.
 

· Registered
Joined
·
3,638 Posts

· Registered
Joined
·
4,051 Posts
First Name -
Garrett
Discussion Starter · #15 ·
Thanks for all the suggestions given :D:up:

Thank for the links MMJ, I'll check them out later on today :)
 
1 - 16 of 16 Posts
Status
Not open for further replies.
Top