473,624 Members | 2,248 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Access2003 VBA code to e-mail being blocked to port 25

Jim
Tried a search, but didn't find quite what I was looking for.

Situation:
Have a VBA code process, tapping CDOSYS to send e-mail from Access,
attaching an Excel spreadsheet, to a given list of e-mail addresses.
Process used to work flawlessly. Now, corporate IT has upgraded the
desktop anti-virus engines to McAfee 8.0i, which is blocking attempts
at Port 25.

If I turn off the port blocking, the process works as expected. IT is
not going to allow me to turn off the port blocking each time, however.
There is, however, a section for listed excpetions, using executable
names.

Question: Using CDOSYS from A2003, what would be the EXECUTABLE name
that I could provide to the exception list. I've tried MSACCESS.EXE,
and our e-mail client (GRPWISE.EXE) to no avail.

Any suggestions would be greatly appreciated!

Code snippet responsible for sending message:

Dim iMsg As Object
Dim iConf As Object

Set iMsg = CreateObject("C DO.Message")
Set iConf = CreateObject("C DO.Configuratio n")
Set Flds = iConf.Fields

With iMsg
Set .configuration = iConf
.To = rs.Fields(2).Va lue
.CC = ""
.BCC = ""
.From = "SE****@CORP.co m"
.Subject = "Late DSD Issues"
.TextBody = strMsg 'supplied elsewhere
.addattachment strWkbName 'supplied elsewhere
.send <-- ERROR
End With

Jan 23 '06 #1
2 2385
Jim wrote:
Tried a search, but didn't find quite what I was looking for.

Situation:
Have a VBA code process, tapping CDOSYS to send e-mail from Access,
attaching an Excel spreadsheet, to a given list of e-mail addresses.
Process used to work flawlessly. Now, corporate IT has upgraded the
desktop anti-virus engines to McAfee 8.0i, which is blocking attempts
at Port 25.

If I turn off the port blocking, the process works as expected. IT is
not going to allow me to turn off the port blocking each time, however.
There is, however, a section for listed excpetions, using executable
names.

Question: Using CDOSYS from A2003, what would be the EXECUTABLE name
that I could provide to the exception list. I've tried MSACCESS.EXE,
and our e-mail client (GRPWISE.EXE) to no avail.

Any suggestions would be greatly appreciated!
I don't have McAfee, nor do I use CDosys, but I do use
GroupWiseComman der for sending my emails via Groupwise. I can send
attachments etc and it basically uses code similar to yours below and
acts like SendObject.

Is there any difference between your code working with Groupwise open
and groupwise closed at the workstation?


Code snippet responsible for sending message:

Dim iMsg As Object
Dim iConf As Object

Set iMsg = CreateObject("C DO.Message")
Set iConf = CreateObject("C DO.Configuratio n")
Set Flds = iConf.Fields

With iMsg
Set .configuration = iConf
.To = rs.Fields(2).Va lue
.CC = ""
.BCC = ""
.From = "SE****@CORP.co m"
.Subject = "Late DSD Issues"
.TextBody = strMsg 'supplied elsewhere
.addattachment strWkbName 'supplied elsewhere
.send <-- ERROR
End With

Jan 24 '06 #2
Jim
Salad,

Makes no difference if GroupWise is open or closed. It's not
GroupWise that's the issue, though. I was just wondering if somebody
had found a way through this issue. Would you tell me more about
GroupWiseComman der? Send via e-mail, so we won't clutter the list.

Also, I've tried excluding MAPISP32.EXE, and that does not work
either.

Thanks for all the eyes on this. I do appreciate it!
-J

Jan 24 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

9
2410
by: Lauren Quantrell | last post by:
Hoping someonce can tell me what compatibility problems I might run into when I have to have my Access Project developed on Access2K run in a user environment where users are using Access2003 as well as Access2000. I have already seen a problem where if I open my project using Access2003 and save any objects, then run it on Access2000, I encounter "Bad DLL Calling Convention error..." on the Access2K machines. If I never open and save the...
6
1999
by: Ryan Bounds | last post by:
Hi All We have upgraded from Access2000 to Access2003 with all service packs. The problem that we have is: When a user try's to filter a client the database crashes and close's Access2003, this is happening on a regular basis. We never had this problem in Access2000. Would it be something to do with code?
9
1899
by: Zlatko Matiæ | last post by:
Hello. Could somebody explain the following situation: I have a .mdb on my notebook with Windows XP SP2 and Access 2003. I prepared ..mde and tried to use it on another computer with Windows XP SP2 and Office XP installed on it. An error "...Your VBA project is corrupted" appeared. When I copy .mdb to that computer, instead of .mde, it works. If I then make the .mde on that computer, it works! If I copy the .mde then to the first...
9
2931
by: 2D Rick | last post by:
With the help from members in the VB forum I've pieced together code that works in VB6 to create radial text similar to "text on a path" seen in graphics programs.(on a circle only) I use an Access2003 app to gather the data via a barcode reader which is then concatenated for the radial text. Is there any possibility that this code can be converted to run in Access2003? Option Explicit
3
1704
by: Vera | last post by:
I built a class in VB.NET that has an overloaded constructor. It can either accept nothing, a string or an object Public Sub New( MyBase.New( End Su Public Sub New(ByVal strName As String MyBase.New( '... Do init with strNam End Su
13
3023
by: usenet | last post by:
How and where can one find out about the basics of VB/Access2003 syntax? I am a died in the wool C/C++/Java Linux/Unix programmer and I am finding it difficult to understand the program format for accessing objects, controls, etc. in VB/Access2003. In particular where will I find explanations of:- Actions, Functions, Methods, Properties - I'm understand the
5
10358
by: planetthoughtful | last post by:
Hi All, I'm curious to know if anyone in the group can recommend any free Access2003 applications that are available for download and which feature great interface (ie GUI) design? I'm looking for inspiration for a major project I'm about to begin. I'm not too bad at GUI design, but I'm not necessarily all that innovative, and it would be helpful to see how other developers have approached GUI issues.
2
9593
by: logo3 | last post by:
hello, I'm trying to fill the table named "ALBARANES" which is based on a query. The query use table "structureOK". There are 3 additional values should be updated. AS Expr2 AS Expr3 AS Expr1 I did this in access2003 and it works but each time I start the query I will be asked to enter a date, subject and text.
3
1951
by: Ramchandar | last post by:
Hi, I am creating reports using VBA code. I have the same query in a querydef residing both in Access97 and Access2003. The result of this querydef is then moved to a table in Access97 and Access2003 respectively. The table in Access97 returns 874 rowcount, table in Access 2003 returns 1050 rowcount. In both the case the querydef is retrieving from the same database which resides in SQL Server 2003. I executed the application Access97 and...
1
1684
by: bluerooster | last post by:
I have written code in order to send a report using the SendObject command in Access2003. It all works fine, however, I would like to know if there is anyway to use code in order for the command to open a email source that isnt my current default. My current Default is a Lotus Client account, and that is what I want it to remain as, yet just for this one form I would like the SendObject Command to send the Report through a Lotus Web account. I'm...
0
8675
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8619
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8334
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8474
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7158
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6108
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5561
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
1
2604
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
1482
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.