473,806 Members | 2,879 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

SMTP Sinks: implementing IMailTransportS ubmission sink

Hey all,

I'm... pretty stuck. I've created a ISmtpInCommand sink following this
tutorial:
http://msdn.microsoft.com/library/de...ngmngsinks.asp

I've used the smtpreg.vbs script in step 11 of tutorial to bind this script,
or how you call that. All well.

But I altered my code to use the IMailTransportS ubmission sink. Now I can't
get the smptreg.vbs to work. I just don't know the syntax for an
OnTransportSubm ission sink. I've used:

cscript smtpreg.vbs /enable 1 OnTransportSubm ission "xxxx-xxxx-xxxx etc" but
I get an error failed to bind with that display name. Same if I use
namespace.Class name. If I use '/add' as command that won't work either since
I take it that paramater is only for command sinks.

Does anyone have any experience with this? Thanks in advance.

Razzie

Nov 16 '05 #1
0 1619

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

Similar topics

4
1729
by: kim jørgensen | last post by:
Hi i am trying to write a email clint for my labtop. my problem is that am not always on the same network and can not always reach the same Smtp server- so i am looking for a funcktion which can look for a smtp on the lan Kim Jorgensen
0
1020
by: GnanaPrakash.R | last post by:
Hi All, Iam totally confused about message sink, context sink, channel sink. I would like to know when and where to use these sinks? One of my requirement is that need to provide authorization mechanism for the method call, object creation and parameter validation ie component authorization. Component may reside in same application domain or different domain ( remote ). Thanks, GP
7
3012
by: Razzie | last post by:
Hey all, I need to connect to an SMTP server and get a notification when it gets a new mail to send. I want to be able to 'read' that email (retrieve recipient information for example). Is that possible? After much much researching I came across this article on MSDN: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnsmtps/html/writingmngsinks.asp but it is *horrible*. I downloaded the needed files for it and get stuck...
0
1399
by: techie | last post by:
I have created an event sink in my ATL COM project. The event sink receives events from a C# component. There is no problem with receving events but when my COM object is released I get an access violation - (MSCORWKS.DLL): 0xC0000005: Access Violation. Here's my event sink class: namespace { static const int EVENT_ID = 111;//any arbitary value
5
2001
by: Sterling Anderson | last post by:
I have a customer who has a virus/spam application that registers a couple event sinks with SMTP to check for virus infected or spam email. Right now all the email that meets the "bad" criteria gets relayed to a catchall mail account. Any email that passes the tests gets relayed to the real SMTP server. The problem is, the "bad" email includes email to nonexistant accounts at the company. What I am in need of is an event sink that does a...
0
1253
by: Gavin Lu | last post by:
Hi all, During the setup process of my SMTP sink DLL, I want to configure some properties of SMTP virtual server. I use ADSI to set them. For many properties such as "ServerComment", "MaxOutConnections" of directory entry "IIS://localhost/smtpsvc/1", I could set them all. But for "IPSecurity" & "RelayIpList" properties, it's a little different & difficult. Currently I could set SMTP server IPSecurity/RelayIpList properties in
5
3903
by: Dan | last post by:
I am using ado and the record set ocx. I want to be able to receive RecordsetChangeComplete events. I am running client side scripts and want notification if someone else edits the data. The prototype for the event is : RecordsetChangeComplete reason,objErr,status,objRs so... I did this: function recordchanged(v1,v2,v3,v4) { alert("recordset changed"); }
3
2013
by: RobofNZ | last post by:
Hi Guy's, I'm a little new to the .NET enviroment but need to put together a custom sink chain for a mini project I've got.... The problem that I'm having is that the system needs to be more tamper proof than a config file would allow and I'm struggling to find any examples or details on how to build a multi sink chain in code..... Does anyone out there have a simple example piece of code which links
4
2307
by: Jerry Spence1 | last post by:
I am trying, without much luck, to find help in implementing an SMTP server/relay program from VB2005. My company produces software to go on customer's PCs. I am trying to implement email fault reporting back to our support centre, but cannot assume that the customer has an email account. I have found several examples showing how to send SMTP, but it always assumes you are sending to a known SMTP server. It's that actual SMTP...
0
10620
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
10369
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
10372
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
9187
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...
0
6877
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();...
0
5682
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4329
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
3851
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3008
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.