email

For questions and postings not covered by the other forums
ConvertFromOldNGs
Posts: 5321
Joined: Wed Aug 05, 2009 5:19 pm

email

Postby ConvertFromOldNGs » Fri Aug 07, 2009 12:26 pm

by ellenw >> Wed, 8 Oct 2003 1:45:57 GMT

Hi

I have got a message "SMTP Error 0" "501 Invalid domain name" when I sent an email out from jade, but I can send it out by outlook express using the same email address. Only happened on this address.
Please advise.
--
Ellen.

ConvertFromOldNGs
Posts: 5321
Joined: Wed Aug 05, 2009 5:19 pm

Re: email

Postby ConvertFromOldNGs » Fri Aug 07, 2009 12:26 pm

by allistar >> Wed, 8 Oct 2003 8:58:49 GMT

What JADE code are you using for the email sending? Is it the SMTP code in CardSchema? Is it possible that it refuses to send emails to any domain outside your local one? (If so they it maybe an authentication or relay issue).

Allistar.

------------------------------------------------------------------
Allistar Melville
Software Developer, Analyst allistar@silvermoon.co.nz
Auckland, NEW ZEALAND

Silvermoon Software
Specialising in JADE development and consulting
Visit us at: http://www.silvermoon.co.nz
*NEW* Simple web access to Jade at: www.silvermoon.co.nz/jhp.html ------------------------------------------------------------------

ConvertFromOldNGs
Posts: 5321
Joined: Wed Aug 05, 2009 5:19 pm

Re: email

Postby ConvertFromOldNGs » Fri Aug 07, 2009 12:26 pm

by ellenw >> Thu, 9 Oct 2003 1:35:12 GMT

Hi Allistar:
Yes, I'm using SMTP code in CardSchema.

The email address is xxx@lbswiss.ch and you can successfully send to it from our mail server using Outlook. Therefore we are confident that it is a legitimate address, although slightly unusual in structure.

We have successfully sent emails from our Jade application to other .ch addresses so we are really confused!

I wonder if for some reason Jade is having problems with the structure given that it is .ch ?

Ellen.

ConvertFromOldNGs
Posts: 5321
Joined: Wed Aug 05, 2009 5:19 pm

Re: email

Postby ConvertFromOldNGs » Fri Aug 07, 2009 12:26 pm

by allistar >> Thu, 9 Oct 2003 3:06:11 GMT

Hi there,
Being a .ch address shouldn't matter, as long as it is valid. It is odd that you can send emails to other .ch addresses using JADE but not this one. The only thing I can suggest is for you to debug the SMTP sending code. Last time I looked the CardSchema SMTP client is implemented as a finite state machine, I have redeveloped a similar version for one of my clients.

A hint for debugging is to put a write statement at the top of CnSMTPState::handleEvent like this:

write smtp.serverMessage;

(This advice is based on quite an old version of CardSchema, so may not apply to the version you are running). That debugging should give you some indication of what the email server is sending the JADE SMTP client.

Also what you could try is manually sending an email using telnet. Do that by following the instructions on the below link.

http://www.pantz.org/email/misc/smtptelnet.shtml

See if you can send to that email address that way. Note that the SMTP client in JADE is essentially doing the same thing you are doing in that telnet session.

Hope this helps,
Allistar.

------------------------------------------------------------------
Allistar Melville
Software Developer, Analyst allistar@silvermoon.co.nz
Auckland, NEW ZEALAND

Silvermoon Software
Specialising in JADE development and consulting
Visit us at: http://www.silvermoon.co.nz
*NEW* Simple web access to Jade at: www.silvermoon.co.nz/jhp.html ------------------------------------------------------------------


Return to “General Discussion”

Who is online

Users browsing this forum: No registered users and 10 guests

cron