I want to know if it's possible to send email in .NET 1.1 C# using exchange server.
I had already looked at System.Web.Mail and CDO and I cannot find information about connecting to exchange and send emails. Use exchange is really mandatory for me, so SMTP is not an option.
Anyone can help me with this?
Thanks in advance,
Paulo
But Exchange uses SMTP to send the message so I'm not sure what the question is. If you just need to avoid connecting to port 25 on the Exchange server, you can write a text file formatted as an email with all the necessary headers and drop it in the Pickup directory on the Exchange server and it will be sent.
Fixed using CDO 1.2.1 (MAPI)
Thanks for your answers
Related
Is it possible to send mail with SSL from Powershell by default? meaning without declaring "UseSsl"
There are this PS scripts that send mail notifications (currently plain text) and would like to find the way to send them encrypted without modifying the scripts.
Is it even possible?
I've been reading similar questions and searching around with no luck
I ended up doing a double relay in the same server with a second SMTP server. So the original one (.local domain) gets the mails as always and sends back to itself to the TLS SMTP server, and from there to 365.
In case it helps anyone else.
I need to set up multiple email accounts in Outlook in addition to my primary Exchange account.
Is it possible to use our Exchange server as our outgoing mail server for the additional accounts? If so, how do I configure the Outgoing mail server settings?
I do not know if it is relevant, but if I try to establish a Telnet session with our Exchange server, I get the following message
220 mx1.emailsrvr.com ESMTP - VA Code Section 18.2-152.3:1 forbids sending spam through this system
followed by
Connection to host lost
I have spent hours trawling the internet for an answer to this question, but either I have been searching on the wrong terms, or it hasn't been asked before. As the latter is highly unlikely, I suspect the former to be the case, so any pointers will be most gratefully received!
Thanks.
I have finally managed to answer my own question.
In case anyone else has the same problem, what you are actually trying to do is to allow Exchange to act as a relay server. You should find all the information you require here ...
http://windowsitpro.com/systems-management/set-multiple-email-identities-single-account
I hope this helps someone.
A client insists on moving from Notes/Domino to Office365 (no further comments on that please). There are some mail agents that provide automated functionality. In one case, it is an agent in a mail database that, when it receives a mail, it responds with a mail that contains a unique reference for the mail just received. It's their way to generate unique mail references.
How to create an alternative solution, in Office 365? Can one develop an agent in Office365?
If it must be an equivalent solution, does it have to be an Outlook client that's always on?
Or are there other ways to generate reply mails from a special mail account?
Can one send a mail to an SQL server, for instance?
I'm open to all your suggestions! Thanks.
I'd do some research into what's currently available for Office365 users via Exchange Web Services - or better yet, the Exchange Web Services Managed API.
Assuming that you Office365 gives you full access through Exchange Web Services, you can write code to use the subscription/notification services for the mailboxes that you want to monitor, and then have your code send the emails.
There may also be better ways.
I am using OWA on IE8 and am do not have any email client like outlook installed. We just access email in the browser using OWA.
Is there a script (maybe a scraper) that backs up the emails?
How do I go about writing such a script, is there a OWA API?
I googled a lot but every solution first syncs OWA to exchange or outlook or some other email client and then backs it up. I do not have that luxury.
I have python installed, so a simple email client script written in python can be helpful too, if it can somehow be configured to logina nd read emails from OWA.
Thanks !
http://davmail.sourceforge.net/ can be used as a proxy to expose OWA folders via IMAP and POP3.
The main goal of DavMail is to provide standard compliant protocols in front of proprietary Exchange. This means .. IMAP to browse messages on the server in any folder, POP to retrieve inbox messages only, .. Thus any standard compliant client can be used with Microsoft Exchange.
Then question becomes how to make backup of IMAP or POP3 server.
It's not possible to export mails in bulk from OWA, as far as I know.
As you suggested the only way would be using Outlook..
I am using the built-in email component of CakePHP 1.3, and it seems that all my emails go to the hotmail junk folder.
Does any of you know what to change to make Hotmail thinking this is NOT a spam? If some of you experienced the same issue, some feedback on what they've done or tried to fix it would be much appreciated.
Cheers,
Nicolas.
Cake simply uses the PHP built-in mail() facility. Without any further setup your mail is not going to be delivered by a proper MX server but rather the sendmail binary connects directly to the SMTP port on the remote host and attempts to deliver.
You see how easy it is to set up a spam sending facility like this. Mails delivered by a random machine instead of a proper mail server are very likely to be classified as spam.
Ask the web server admin to set up mail sending from the server. Alternatively you could use any trusted SMTP server to send mail (e.g. google).