Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Automating E-Mail replies

Status
Not open for further replies.

clickster

MIS
Feb 19, 2002
89
US
Hello,

First, I have only basic knowledge of Access. I can do pretty much anything that doesn't require code. I have reports that I run that are e-mailed to individuals. Basically, I assign trouble tickets to users. At the end of the day, I click a button which, when Outlook is open, prompts me for my query criteria (user's name and the date of the tickets I want to have on the report). It then prompts me for the report format (I always choose RTF) and opens an new Outlook e-mail and attaches the RTF report to the e-mail. I then enter the e-mail address in the TO: field, enter a generic subject (always the same) and hit SEND. The problem is that I have to do this for every user. I would like to have a button that I click once. It would then prompt me for the date range (as it does now), then check a table of usernames and e-mail addresses and send a report to every person on the table without my having to hit anything else. I would need to automatically choose RTF, open the e-mail, insert the correct e-mail address for the user in question, insert a generic subject line, and send the e-mail. If there is any coding required for this, I can always cut and paste it (making minor obvious modifications such as "insert generic subject line here"), but I probably won't understand it very well. I realize that this is probably a complex issue and would appreciate any help you could give me. Thank you.
 
If I am understanding you, reply to this and I will send you some code tomorrow. I have a process that emails invoices to customers. It is all automated when the user goes to print the invoice. I have another process that performs the same thing, however, it loops thru a recordset (which could contain x amount of records) and emails them all according). It took me a week and the help of about 24 tech-tips. It is very complicated but I think you can cut an paste and it will work. It is all done in VBA. Is this an MDB or ADP database?
 
Danvlas,

I haven't had a chance to download and try the program yet, but I read the explanation on the site and it sounds like exactly what I need. Thank you. I will post back later and tell you how it worked
 
I've tried to download the program, but it keeps saying that it can't find the file. It's the same for all of the files on the web page. Is there a daily bandwidth restriction or anything on the FTP server? Or could you send the Access XP version of the file to me in e-mail?
 
Dan,

I installed the program and it works up until the part where it is supposed to e-mail the reports. It processes them without error, but nothing ever gets e-mailed. I'm not sure where it generates the e-mail. I have Outlook running and I figured it would just open an e-mail in Outlook since that's what Access does when I normally choose to e-mail a report, but nothing happens and I never receive an e-mail. I have removed filters just in case they were filtering out everything, but I still don't get anything. Any ideas?
 
Dan,

I installed the program and it works up until the part where it is supposed to e-mail the reports. It processes them without error, but nothing ever gets e-mailed. I'm not sure where it generates the e-mail. I have Outlook running and I figured it would just open an e-mail in Outlook since that's what Access does when I normally choose to e-mail a report, but nothing happens and I never receive an e-mail. I have removed filters just in case they were filtering out everything, but I still don't get anything. Any ideas?
 
Some thoughts:

1. It sends emails through the default email program.
You may use Outlook while having Outlook Express set as default and you may have not configured Outlook Express to send the emails properly (the SMTP server settings).

2. The reports must have data, otherwise they are not sent.

3. If you use Outlook XP, there is a 'security' feature that pops up a dialog 'A program is trying to send email as you. Allow?'. The 'Yes' button is disabled for 5 seconds and hitting Enter chooses 'No'. I hate that...

Is any of the above lines of help?

Regards,



[pipe]
Daniel Vlas
Systems Consultant

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top