Re: Fw: Authentication

"[email protected] [blat]" <[email protected]>
Newsgroups gmane.mail.blat
Message-ID <[email protected]>
Thank you for your reply “Chip”
  
 Am I missing something?
  
 OS Windows 10 
 Profile in the registry is
 Blat v3.2.11 (build : Nov 11 2015 22:22:19)
 64-bit Windows, Full, Unicode
  
 Profile(s) for current user --
 SMTP: mail.server "email_address" 1 25 
  
 Profile(s) for all users of this computer --
 SMTP: mail.sever "email_address" 1 25  ***** *****
  
 I run the following as Administrator from C:\blat_batch -----> blat d:\blat\main.txt -of d:\blat\email_optionsf.txt
  
 where d:\blat\email_optionsf.txt ----> 
 -tf d:\blat\email_to.txt -sf d:\blat\email_subj.txt -atf d:\blat\email_textf.txt -af d:\blat\email_binaryf.txt -aef d:\blat\email_embedf.txt -debug -log d:\blat\blat02.log -timestamp
  
 the following appears in the log
  
  
 2015.12.03 11:32:33 (Thu)------------Start of Session-----------------
 Read 1 TO address from d:\blat\email_to.txt
 2015.12.03 11:32:34 (Thu): <<<getline<<< 220 rgout01.bt.lon5.cpcloud.co.uk ESMTP Service ready
 2015.12.03 11:32:34 (Thu): >>>putline>>> EHLO geoff-pc.********.com
 2015.12.03 11:32:34 (Thu): <<<getline<<< 250-rgout01.bt.lon5.cpcloud.co.uk
 2015.12.03 11:32:34 (Thu): <<<getline<<< 250-DSN
 2015.12.03 11:32:34 (Thu): <<<getline<<< 250-8BITMIME
 2015.12.03 11:32:34 (Thu): <<<getline<<< 250-PIPELINING
 2015.12.03 11:32:34 (Thu): <<<getline<<< 250-AUTH=LOGIN
 2015.12.03 11:32:34 (Thu): <<<getline<<< 250-AUTH LOGIN PLAIN
 2015.12.03 11:32:34 (Thu): <<<getline<<< 250-DELIVERBY 300
 2015.12.03 11:32:34 (Thu): <<<getline<<< 250 SIZE 41943040
 2015.12.03 11:32:34 (Thu): Sending d:\blat\main.txt to geoff@email_address
 2015.12.03 11:32:34 (Thu): Subject: Test 13
 2015.12.03 11:32:34 (Thu): Login name is username
 2015.12.03 11:32:34 (Thu): >>>putline>>> MAIL FROM:<email_address>
 2015.12.03 11:32:34 (Thu): <<<getline<<< 530 authentication required - Your email could not be sent. To fix this you must make a simple change to your email client (known as SMTP authentication). For advice visit http://www.bt.com/smtp http://www.bt.com/smtp
 2015.12.03 11:32:34 (Thu): *** Error ***  The SMTP server does not like the sender name.
 *** Error ***  Have you set your mail address correctly?
 2015.12.03 11:32:34 (Thu): >>>putline>>> QUIT
 2015.12.03 11:32:34 (Thu): Error: Connection to server was dropped.
 2015.12.03 11:32:34 (Thu)-------------End of Session------------------
  
 if I amend d:\blat\email_optionsf.txt to include –u and –pw parameters it works
 -tf d:\blat\email_to.txt -sf d:\blat\email_subj.txt -atf d:\blat\email_textf.txt -af d:\blat\email_binaryf.txt -aef d:\blat\email_embedf.txt -u <username> -pw <password> -debug -log d:\blat\blat02.log –timestamp
  
  
 2015.12.03 11:24:14 (Thu)------------Start of Session-----------------
 Read 3 TO addresses from d:\blat\email_to.txt
 2015.12.03 11:24:14 (Thu): <<<getline<<< 220 rgout02.bt.lon5.cpcloud.co.uk ESMTP Service ready
 2015.12.03 11:24:14 (Thu): >>>putline>>> EHLO geoff-pc.btinternet.com
 2015.12.03 11:24:14 (Thu): <<<getline<<< 250-rgout02.bt.lon5.cpcloud.co.uk
 2015.12.03 11:24:14 (Thu): <<<getline<<< 250-DSN
 2015.12.03 11:24:14 (Thu): <<<getline<<< 250-8BITMIME
 2015.12.03 11:24:14 (Thu): <<<getline<<< 250-PIPELINING
 2015.12.03 11:24:14 (Thu): <<<getline<<< 250-AUTH=LOGIN
 2015.12.03 11:24:14 (Thu): <<<getline<<< 250-AUTH LOGIN PLAIN
 2015.12.03 11:24:14 (Thu): <<<getline<<< 250-DELIVERBY 300
 2015.12.03 11:24:14 (Thu): <<<getline<<< 250 SIZE 41943040
 2015.12.03 11:24:14 (Thu): Sending d:\blat\main.txt to geoff@email_address
 2015.12.03 11:24:14 (Thu): Subject: Test 12
 2015.12.03 11:24:14 (Thu): Login name is <user>
 2015.12.03 11:24:14 (Thu): >>>putline>>> AUTH PLAIN  *****
 2015.12.03 11:24:14 (Thu): <<<getline<<< 235 PLAIN authentication successful
 2015.12.03 11:24:14 (Thu): >>>putline>>> MAIL FROM:<email_address>
 2015.12.03 11:24:14 (Thu): <<<getline<<< 250 MAIL FROM:<email_address> OK
 2015.12.03 11:24:14 (Thu): >>>putline>>> RCPT TO:<geoff@email_address>
 2015.12.03 11:24:14 (Thu): <<<getline<<< 250 RCPT TO:<geoff@email_address> OK
 2015.12.03 11:24:14 (Thu): >>>putline>>> DATA
 2015.12.03 11:24:14 (Thu): <<<getline<<< 354 Start mail input; end with <CRLF>.<CRLF>
 2015.12.03 11:24:14 (Thu): <<<getline<<< 250 <565F104E001944F5> Mail accepted
 2015.12.03 11:24:14 (Thu): >>>putline>>> QUIT
 2015.12.03 11:24:14 (Thu): <<<getline<<< 221 rgout02.bt.lon5.cpcloud.co.uk QUIT
 2015.12.03 11:24:14 (Thu)-------------End of Session------------------
  
  
 Any advice would be most welcome, thanks Geoff
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.