473,387 Members | 1,834 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Outlook auto reply with attachement based on a subject of email received

I am new in VBA world and i have a question about connecting MS outlook to MS access (2007 or 2010). let me explain what i want exactly by telling you what kind of project i wanna do.

I have an access database with a lot of data and tables, when i receive any email with certain subject like if i receive an email says in the subject line "Emp 1232221" then outlook when see any email with subject start with "Emp" a VBA code should go to MS access table called "employees" and get all the data belong to employee no "1232221" put them in excel sheet and reply back with this sheet as an attachment.
Feb 11 '16 #1
4 1037
Rabbit
12,516 Expert Mod 8TB
First of all, this sounds like a bad idea. You are allowing anyone and everyone to request employee information. Which can be a security nightmare and possibly illegal to leak employee information due to privacy laws. Note that anyone outside your organization can exploit this to extract your entire employee database.

That being said, this article on our forum will teach you how to automate Office applications: https://bytes.com/topic/access/insig...ion-automation
Feb 11 '16 #2
i am not going to but the employees information for all over the world, no its just an example, but my real project is different
Feb 11 '16 #3
zmbd
5,501 Expert Mod 4TB
msamhouri
i am not going to but the employees information for all over the world, no its just an example, but my real project is different
The critical point that Rabbit is trying to make here is that any information you provide via such an automated system is vulnerable to exploitation by those with malevolent intentions. Only four years ago, an exploit was found that allowed people to authenticate email as being sent by Google Staff (http://www.wired.com/2012/10/dkim-vu...ty-widespread/)! And very recently there was a mass attack against the USA-IRS in an attempt to steal people's tax-identity using the IRS.GOV own automated systems (https://www.irs.gov/uac/Newsroom/IRS...on-Efiling-PIN).

Thus, make sure that what you are exposing here isn't something that will compromise either your employee or company assets.
Feb 11 '16 #4
Rabbit
12,516 Expert Mod 8TB
Also, I'm not saying what you want to do is a bad idea in general. I'm just saying the method by which you want to do it is a bad idea. You have no processes with which to prevent data from getting into the wrong hands.

But if you do want to do this, then the first step is to read the tutorial I linked in the first post.
Feb 11 '16 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: GUI Guy | last post by:
Thanks for e-mailing GUI Guy. Please note the following: If your e-mail was a request for technical support, it will be ignored. Please use the support forums available online here: ...
4
by: Chris | last post by:
I have noticed a number of (spam I'm afraid) emails I have received lately automatically link to and open a web page embedded in the email as soon as the email is opened. I know that if you open a...
3
by: sao | last post by:
I am currently using Access 2000. In my table it is the following fields that are set up: 1 - Staff Name 2 - Department This table is already populated with 100+ records (staff along with...
0
by: BK | last post by:
Hi, I have a problem. I need to auto populate fields based on a value entered in combo box. Initially, I put all the required fields in the combo box, and hide it (set to 0",0",0", ...), then...
5
by: Jacobus Terhorst | last post by:
Are there any ASP.NET 2.0 newsgroups available through Outlook Express (not web based)?
1
by: David | last post by:
Hi! I am looking to integrate a bulk emailing system into my web site. I am trying to find a web-based solution but it seems difficult to find anything relevant. There are lot of system available...
3
by: wise007 | last post by:
I HAVE A PROBLEM ON THAT..i did success on sending sms to phone and sending sms to system...n i do clear about the sms prefix the problem is i need to know how to do the SMS auto reply/auto...
2
by: =?Utf-8?B?VHJvb2RsZXM=?= | last post by:
I had an email from someone who, at the time, was not in my address book. I clicked 'reply' and wrote my response. As I had clicked reply I didn't have to type in the email address separately. The...
1
by: cacarpenter89 | last post by:
When I start Outlook up for the first time after a fresh re-imaging of the hard drive, auto-discover tries to locate an account with the domain name 'user' rather than the domain name of the person...
4
by: slenish | last post by:
Hello, I am using Access to Generate an Outlook Email based on a button click. Currently I have this working with no problem but I want to populate the To: field of the email based on email...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.