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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Sending email attachment automatically

Status
Not open for further replies.

bgreen

Programmer
Feb 20, 2003
185
CA
I want to send an email with an attachment on a specific day at a specific time. How can I do this?

ex. On May 12 at 8 AM I want to send and email with attachment to abc@test.com
 
I think the easiest way to do that would be creating the mail beforehand as a Draft, and creating an agent that would trigger on that date and time, find the Draft and send it.

Given that the agent will be scheduled, you cannot expect the agent to attach a file from your local PC since it will not be accessible (scheduled agents can only access server resources).

Unless you arrange for the file to be accessed from the server (a file share mapped by the server), it is better that you have the attachment ready beforehand.

If you have to have the attachment made at the last minute, then you have to make the server access the file and design the agent accordingly.

Pascal.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top