Send Mail using Exchange

I am looking for a solution to send Mails on Windows using the MS Exchange protocol, because POP3, IMAP, SMTP & Co. are not available.
Can anyone help me finding a working solution for Xojo please? :slight_smile:

Please specify a little bit more:

  1. You need to send emails in general (and an Exchange is just available) or
  2. You must use this exchange server for your emails.

In case of No1 I’d suggest Blat (http://www.blat.net)

[quote=68496:@Tomas Jakobs]Please specify a little bit more:

  1. You need to send emails in general (and an Exchange is just available) or
  2. You must use this exchange server for your emails.

In case of No1 I’d suggest Blat (http://www.blat.net)[/quote]

Thank you Tomas, but both are true and blat won’t work, because SMTP is blocked.

Do you have to use Outlook (an abomination against mankind) as mail client? The thing has VBA support which surely can send email. with. Can’t help you with more details, unfortunately.

talking directly to exchange servers using the exchange protocol (since the admins didnt enable smtp), is rough no matter what language you pick. MS likes to keep that knowledge as secret as they can, so they can make as many/little changes as they want. that is why they added the smtp option.

err… sorry for half a post…

good luck on getting it to work. if you get it working, other (many?) would love to know about it.

sb

For what its worth, setting up as SMTP connector in Exchange is a ~10 minute job if the user already exists. Have you asked for one?

Yes Greg, but i think i have to put more pressure on my IT :wink:

As Scott said I would push pressure on your admin to allow you to use SMTP. This is quite usual and you won’t find another Software NOT using SMTP. The Exchange protocol you are trying to communicate with is quite proprietary and even Groupware Servers are struggeling with it. There are some open source projects like https://launchpad.net/openmapi but they look very basic and 0.x version numbers sound quite untrustworthy for stable business purposes.

Go get for SMTP :wink:

You might check this link: http://www.dimastr.com/redemption/home.htm

And this one: https://forum.xojo.com/6841-getting-headers-from-outlook-via-ole

[quote=69292:@John Hansen]You might check this link: http://www.dimastr.com/redemption/home.htm
And this one: https://forum.xojo.com/6841-getting-headers-from-outlook-via-ole[/quote]

Awesome! This may be very helpful.
Thank you John!

I use these Java classes and call them via the MBS Java stuff. Also use that to do some synchronization between Exchange and a PostgreSQL DB. Not free, but works very well.

Thank you Maximilian :slight_smile: