[twsocket] Error in Sending mail

2014-04-16 Thread IMAGE
Hello,

 

After following an advise on a C++ forum (I use Builder C++), I download
ICS.

 

In first, I try to use the example IcsMailSnd.dproj

 

I enter my username and password, in SmtpCli (I don't need SSL).

 

When I launch the program, I enter the name of my Smtp server, the port
(587), my mail address in From, and an address in To .

 

I think it connected to the server, because I don't have any error message,
the From is OK, but I have an error message for Receipt (I try few address
of different domains, and it's the same message) : This domain isn't in our
allowed list.

 

I contact our webmaster, we verify with WireShark, and our webmaster tell me
that there isn't any authentification, but I have put the values
SmtpAuthlogin, or SmtpAuthPlain on propriety AuthType of SmtpCli 

 

May you advise me to solve this problem ?

 

Very cordially.

PL

 

-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be


Re: [twsocket] Error in Sending mail

2014-04-16 Thread Michael Gasser


Hi PL

I use Delphi - but I am pretty sure the C++ sample works (and the form 
looks) the same...


When I run IcsMailSnd, I see a form with quite a lot of buttons in the upper 
right corner.


After you had filled in the values for host, username a.s.o.,  did you click 
on these buttons or just wait ;-) ?


1. Fill in the values for host, username a.s.o.
2. Click Connect and WAIT for the smtp servers response (server response: 
see TMemo DisplayMemo - at the bottom of your form).
3. Then click Ehlo (Extended Helo), wait for the response, click Auth, wait 
again, press Mail, wait, then press the Quit button.


http://en.wikipedia.org/wiki/Simple_Mail_Transfer_Protocol


Best regards
Michael




- Original Message - 
From: IMAGE cont...@image-zafar.com

To: twsocket@lists.elists.org
Sent: Wednesday, April 16, 2014 8:40 AM
Subject: [twsocket] Error in Sending mail



Hello,



After following an advise on a C++ forum (I use Builder C++), I download
ICS.



In first, I try to use the example IcsMailSnd.dproj



I enter my username and password, in SmtpCli (I don't need SSL).



When I launch the program, I enter the name of my Smtp server, the port
(587), my mail address in From, and an address in To .



I think it connected to the server, because I don't have any error 
message,

the From is OK, but I have an error message for Receipt (I try few address
of different domains, and it's the same message) : This domain isn't in 
our

allowed list.



I contact our webmaster, we verify with WireShark, and our webmaster tell 
me

that there isn't any authentification, but I have put the values
SmtpAuthlogin, or SmtpAuthPlain on propriety AuthType of SmtpCli 



May you advise me to solve this problem ?



Very cordially.

PL



--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be 


--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be


Re: [twsocket] Error in Sending mail

2014-04-16 Thread Michael Gasser


Hi PL

if you use ICS to send an eMail f.e. from within a CGI, then you simply 
could use the SYNC SMTP client version SyncSmtpCli to send an eMail:


emailstatus : integer;
success : boolean;


   emailstatus := 1;
   Success := SyncSmtpCli1.ConnectSync;
   if not Success then goto wehaveaproblem;

   emailstatus := 2;
   Success := SyncSmtpCli1.EhloSync;
   if not Success then goto wehaveaproblem;

   emailstatus := 3;
   Success := SyncSmtpCli1.AuthSync;
   if not Success then goto wehaveaproblem;

   emailstatus := 4;
   Success := SyncSmtpCli1.MailSync;
   if not Success then goto wehaveaproblem;

   emailstatus := 5;
   Success := SyncSmtpCli1.QuitSync;
   if not Success then goto wehaveaproblem;




Async smtp sample: see ICS sample OverbyteIcsMailSndAsync.dproj.

Best regards
Michael




- Original Message - 
From: IMAGE cont...@image-zafar.com

To: twsocket@lists.elists.org
Sent: Wednesday, April 16, 2014 8:40 AM
Subject: [twsocket] Error in Sending mail



Hello,



After following an advise on a C++ forum (I use Builder C++), I download
ICS.



In first, I try to use the example IcsMailSnd.dproj



I enter my username and password, in SmtpCli (I don't need SSL).



When I launch the program, I enter the name of my Smtp server, the port
(587), my mail address in From, and an address in To .



I think it connected to the server, because I don't have any error 
message,

the From is OK, but I have an error message for Receipt (I try few address
of different domains, and it's the same message) : This domain isn't in 
our

allowed list.



I contact our webmaster, we verify with WireShark, and our webmaster tell 
me

that there isn't any authentification, but I have put the values
SmtpAuthlogin, or SmtpAuthPlain on propriety AuthType of SmtpCli 



May you advise me to solve this problem ?



Very cordially.

PL



--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be 


--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be


Re: [twsocket] Error in Sending mail

2014-04-16 Thread Arno Garrels
IMAGE cont...@image-zafar.com wrote:Hello,

Hello,

 I enter my username and password, in SmtpCli (I don't need SSL).
Perhaps they are overwritten by the demo application?

Image or not image doesn't mater here but correct SMTP authentication, the 
easiest option is to use AuthType AutoSelect (cannot recall the exact names). 
If not authenticated the SMTP server does not allow relaying mail to another 
server. Also note that some servers require SSL (StartSsl command).

--
Arno
 
-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be