To clarify:
> Again this won't work with the smtp-send-message provided by net/smtp.
> You need to modify it to handle STARTTLS as I showed before.
The stock smtp-send-message MIGHT work with Gmail (I haven't tried)
but it definitely will NOT work with hosted Exchange.
HTH.
On Wed, Mar 9, 2011
It looks like Gmail supports the port 587 STARTTLS approach exactly
the same as does hosted Exchange (Gmail also supports connecting using
SSL on port 465).
So you can use the same approach (port 587 STARTTLS) testing against
both servers:
(smtp-send-message
server ; "smtp.gmail.com" or "smtp.m
I *am* trying to connect to a exchange server, I just used gmail as a
acceptable public target.
I'll try again, though I suspect a proxy server it the problem. I
can't tell because the server response is truncated. :(
Thanks again,
Stephen
On Wednesday, March 9, 2011, Greg Hendershott wrote:
>
Or, if instead you're wanting to connect to Gmail's SMTP server (not
Exchange) as your script suggests:
Then (although I haven't tried it) probably you want to connect to
port 465 encrypted from the git go. In which case I think you would
pass to smtp-send-message `ssl-connect' for #:tcp-connect a
If you're wanting to connect to Exchange Server as e.g. hosted by
Microsoft i.e. smtp.mail.microsoftonline.com, then it requires you to
connect on port 587 (not encrypted), then issue STARTTLS to switch to
encryption, then do AUTH LOGIN. (AUTH PLAIN won't work, ergo my mod of
net/smtp's smtp-send-m
Hi Stephen,
Here you go. Here's some code adapted from one of our apps.
I actually had to hack net/smtp to get AUTH PLAIN to work against our mail
server.
I omitted the changes here as I imagine it's not a common problem.
Cheers,
-- Dave
#lang scheme/base
(require (prefix-in net-head: net/he
I'm still getting no joy with this.
I've attached my test script, and will try on a different network (in case
it's my proxy server doing the damage)
-:(-
Welcome to DrRacket, version 5.1 [3m].
Language: racket; memory limit: 128 MB.
"Failed with reason::#(struct:exn:fail:network tcp-connect: con
Thanks Greg,
I'll test your patch against the Exchange server I'm wanting to connect to.
S.
On Mon, Mar 7, 2011 at 9:20 PM, Greg Hendershott
wrote:
> > Does anyone have an example of using #:tls-encode (net/smtp)?
>
> No, in fact I'm seeing it fail today with an SMTP server that requires
> TLS
> Does anyone have an example of using #:tls-encode (net/smtp)?
No, in fact I'm seeing it fail today with an SMTP server that requires
TLS on port 587.
The reason seems to be that the server is expecting AUTH LOGIN whereas
net/smtp only does AUTH PLAIN.
I was able to get it to work (with this pa
Hi,
Does anyone have an example of using #:tls-encode (net/smtp)?
Cheers,
Stephen
--
Stephen De Gabrielle
stephen.degabrie...@acm.org
Telephone +44 (0)20 85670911
Mobile +44 (0)79 85189045
http://www.degabrielle.name/stephen
_
For list-r
10 matches
Mail list logo