Questions tagged [mta]

Multiple Threaded Apartment of the Component Object Model (COM), as opposed to STA

MTA refers to the Multiple Threaded Apartment of Microsoft's Component Object Model (COM). Its opposite is the Single-Threaded Apartment (MTA), but there is also a Neutral Apartment.

Related tags:

References:

110 questions
0
votes
2 answers

How to force MTA on all threads calling from 3rd party unmanaged process into managed plugin?

I am trying to write a managed plugin to an unmanaged host application using COM interop. The unmanaged plugin interfaces are all COM compatible although no COM is used (no registry etc). I have come a long way to get it to work there is just one…
obiwanjacobi
  • 2,413
  • 17
  • 27
0
votes
1 answer

Out of process COM server in MTA issues

We have an out-of-process server running in MTA in a standalone application with UI. Server is initialized in following way. Scenario 1 initialization begin CoUninitialize; CoUninitialize; CoUninitialize; //i have to call it three times to be…
danisius
  • 597
  • 1
  • 5
  • 19
0
votes
1 answer

Error coming up when trying to open up file browser

Currently on my website i am trying to get it so that a user can upload an image from their local images. I have followed a tutorial, but when i debug it and try to open up my images folder i get this error message: "Current thread must be set to…
CallumHolden
  • 83
  • 1
  • 12
0
votes
1 answer

routing incoming emails based on the address in the To Field

How can I configure a mail server to parse the"TO" field of each incoming message, and if it is of the form .CommonID.User1@domain.com then route the email to user1@domain.com. Otherwise deliver to the intended recipient. It seems I…
ajon
  • 7,868
  • 11
  • 48
  • 86
0
votes
2 answers

Simple way to setup MTA on FreeBSD only for PHP mail()

I need to setup mail server for sending from PHP scripts only. I'm not needed to receive email or sending it by another way. Preferable is the Postfix (it is easy than Sendmail, for example). Ssmtp is doesn't suit me. Is there some manual or…
BArtWell
  • 4,176
  • 10
  • 63
  • 106
0
votes
0 answers

When should I call CoUninitialize?

I implemented a function in a DLL encapsulates the asynchronous call to a Out-OF-Proc COM server. It looks like this: HRESULT hr = S_OK; bool bCoInitialized = false; IXXXXInterface* pServer = NULL; ISynchronize* pISynchronize =…
fallwind
  • 1
  • 1
0
votes
1 answer

Give a hint about local MTA for web development

I'll try to explain what I want. I have a PHP script that send emails to different REAL addresses. I don't like these emails goes to Internet, just redirect all of them to my local mail (user@localhost) or simple write emails to local file (with…
Serge
  • 321
  • 3
  • 14
0
votes
2 answers

Asp.Net Mvc and Win32 dll that is not designed for multithreading

I need to build a web application (MVC) that uses a third-party win32 dll as gateway for all business logic (contains logon-mechanism, functions and maintains some state). This dll is not designed for multithreading. In an MTA scenario, the dll…
martinoss
  • 5,268
  • 2
  • 45
  • 53
0
votes
2 answers

How I can change MailEnable's hourly sending limit?

It seems MailEnable limits users with 100 email per hour as default. I want to change that limit but couldn't find any option for this. I digged manuals and configuration files but no luck. Do you have any idea?
Tim
  • 699
  • 8
  • 27
0
votes
1 answer

WCF service and COM interop callback

I have a COM object that creates an instance of a WCF service and passes a handle to itself as a callback. The COM object is marked/initialized as MTA. The problem being every instance of the WCF service that makes a call to the callback occurs on…
Sjblack
  • 695
  • 4
  • 14
-1
votes
1 answer

Mta application failing to deploy with conflict error

I had deployed the app last on friday and it got deployed successfully.But since, today morning the deployment is not happening at all.It is checking for conflicting process and failing. I'm doing this from the webide and i'm not able to check what…
alia
  • 459
  • 4
  • 16
-1
votes
1 answer

COM thread apartments (STA, MTA) management in C# app process

I'm trying to understand C# thread apartments and have questions: What exactly apartment is and what it contains? The Apartment and the COM Threading Architecture A process can have zero or more single-threaded apartments and zero or one…
Woldemar89
  • 682
  • 4
  • 10
-1
votes
1 answer

Multi Theft Auto HTML Login

I have such a minor problem and I still can not solve it, so I turn around here function myFunction() { var checkbox = $.cookie('checkbox'); if (checkbox == 'true') { var UsernameInput = $.cookie('id'); var…
Ru1n
  • 7
  • 2
-1
votes
1 answer

How to apply anvil ratelimit on postfix mynetworks host?

We are using Postfix MTA as smarthost relay for our application servers. We are maintaining the access through "Mynetworks". We have list of IP addresses which are map to "Mynetworks". Now days we are facing the issue of spamming / mass mailing…
Vendhala
  • 15
  • 2
-1
votes
1 answer

public/private key cryptography ( MTA Mobility )

I have a question in MTA (Microsoft Technology Associate) Mobility and I want the answer to it please The Question : a client/server application is designed to use public/private key cryptography for secure communication between client and server ,…