delphi - Crash.txt generated while sending mail from xampp php & Socket Error # 11001 -
following file generated while trying send email
date/time : 2015-05-15, 15:00:18, 188ms computer name : gs-1459 user name : gs-1076 registered owner : gslab / hewlett-packard company operating system : windows 7 x64 service pack 1 build 7601 system language : english system time : 6 hours 11 minutes program time : 4 seconds processors : 4x intel(r) core(tm) i5-3470 cpu @ 3.20ghz physical memory : 5446/8080 mb (free/total) free disk space : (c:) 306.09 gb display mode : 1600x900, 32 bit process id : $a08 allocated memory : 23.68 mb command line : "c:\xampp\sendmail\sendmail.exe" -t executable : sendmail.exe exec. date/time : 2011-06-18 01:10 compiled : delphi 2006/07 madexcept version : 3.0l callstack crc : $fecf9b34, $3d6bf7f9, $3d6bf7f9 exception number : 1 exception class : eidsmtpreplyerror exception message : <https://accounts.google.com/continuesignin?sarp=1&scc=1&plt=akgnsbtfv 5hd_hqmfrnpudhee2tdrsqlsz26cc_h0zkqfvqkjah4xxyftlfcekb9mnj8p4ydol7zbxk s95_ifknpjxc2kciqfxi43dgps34fkashaglvjfe_mh9gxpc4ypwjgwcwm0n9tluawke5l jnlxgdtcgjdbkwvax6n3xq5ucq_mdixintmvjyrvwidnbjzligjro8kq-bb1fgjpboh9qo lx8vueva9b4q0hkrascuklgn3vfi> please log in via web browser , try again. learn more @ https://support.google.com/mail/bin/answer.py?answer=78754 ki3sm1250206pdb.74 - gsmtp. main thread ($1644): 0045918a +003e sendmail.exe idreplysmtp 501 +1 tidreplysmtp.raisereplyerror 0043ff28 +0008 sendmail.exe idtcpconnection 576 +0 tidtcpconnection.raiseexceptionforlastcmdresult 004402f4 +003c sendmail.exe idtcpconnection 751 +10 tidtcpconnection.checkresponse 0043feba +002a sendmail.exe idtcpconnection 565 +2 tidtcpconnection.getresponse 0043ff87 +005b sendmail.exe idtcpconnection 585 +4 tidtcpconnection.sendcmd 0044020e +0056 sendmail.exe idtcpconnection 723 +4 tidtcpconnection.sendcmd 0045aa16 +0192 sendmail.exe idsmtp 341 +40 tidsmtp.authenticate 004b5f81 +10cd sendmail.exe sendmail 822 +340 initialization 76853368 +0010 kernel32.dll basethreadinitthunk thread $f54: 77ba1f3b +0b ntdll.dll ntwaitforworkviaworkerfactory 76853368 +10 kernel32.dll basethreadinitthunk thread $16e8: 77ba0152 +0e ntdll.dll ntwaitformultipleobjects 76853368 +10 kernel32.dll basethreadinitthunk stack dump: 0018fccc 8f 91 45 00 de fa ed 0e - 01 00 00 00 07 00 00 00 ..e............. 0018fcdc e0 fc 18 00 8f 91 45 00 - 18 cb e3 01 10 1e e5 01 ......e......... 0018fcec 00 00 00 00 16 02 00 00 - 10 fd 18 00 fc fc 18 00 ................ 0018fcfc 50 fd 18 00 c8 4b 40 00 - 10 fd 18 00 34 a5 45 00 p....k@.....4.e. 0018fd0c 00 00 00 00 2c fd 18 00 - 2b ff 43 00 f7 02 44 00 ....,...+.c...d. 0018fd1c 00 00 00 00 98 fd 18 00 - 98 fd 18 00 40 40 df 01 ............@@.. 0018fd2c 44 fd 18 00 bd fe 43 00 - 00 00 00 00 94 34 46 00 d.....c......4f. 0018fd3c 00 00 00 00 34 a5 45 00 - 70 fd 18 00 8a ff 43 00 ....4.e.p.....c. 0018fd4c 00 00 00 00 80 fd 18 00 - c8 4b 40 00 70 fd 18 00 .........k@.p... 0018fd5c 00 00 00 00 eb 00 00 00 - 34 a5 45 00 98 fd 18 00 ........4.e..... 0018fd6c 00 00 00 00 a0 fd 18 00 - 14 02 44 00 00 00 00 00 ..........d..... 0018fd7c 00 00 00 00 ac fd 18 00 - c8 4b 40 00 a0 fd 18 00 .........k@..... 0018fd8c 14 3f 41 00 00 00 00 00 - 34 a5 45 00 eb 00 18 00 .?a.....4.e..... 0018fd9c 00 00 00 00 e8 fd 18 00 - 1b aa 45 00 00 00 00 00 ..........e..... 0018fdac b8 fd 18 00 c8 4b 40 00 - e8 fd 18 00 f0 fd 18 00 .....k@......... 0018fdbc c8 4b 40 00 e8 fd 18 00 - ff 00 00 00 48 67 dd 01 .k@.........hg.. 0018fdcc 00 00 00 00 00 00 00 00 - eb 00 4e 01 00 00 00 00 ..........n..... 0018fddc 50 6a e2 01 00 00 00 00 - 40 40 df 01 88 ff 18 00 pj......@@...... 0018fdec 87 5f 4b 00 fc fd 18 00 - c8 4b 40 00 88 ff 18 00 ._k......k@..... 0018fdfc 08 fe 18 00 c8 4b 40 00 - 88 ff 18 00 14 fe 18 00 .....k@......... disassembling: [...] 00459177 call -$1f480 ($439cfc) ; idreply.tidreply.getnumericcode 0045917c mov ecx, eax 0045917e mov dl, 1 00459180 mov eax, [$458844] 00459185 call +$182 ($45930c) ; idreplysmtp.eidsmtpreplyerror.createerror 0045918a > call -$544a3 ($404cec) ; system.@raiseexcept 0045918f 502 xor eax, eax 00459191 pop edx 00459192 pop ecx 00459193 pop ecx 00459194 mov fs:[eax], edx [...]
replicacted settings link , off cource email not getting sent..
error in error.log file
15-05-15 15:00:37 : <https://accounts.google.com/continuesignin?sarp=1&scc=1&plt=akgnsbtvr<eol>rdtj74fc6pxnyqtmrn-cbnehs3cfrp1jyu26ns6nkte8fkcdwcrnpore2gbpfpg44xwzmn<eol>iuvn7twbxhdkjvlznzv_br0vy4towe2tnxvmapw3koiudeapxx2ygwgju1kvmhhodum17l<eol>qzuxjqqe5cds9fok5hj4qcccc4b2gffsbfc-xdqukuvv0jk_olhwkaeclu3w0nax4evecy<eol>8fbg7ypsfliyyrtd3c8nfrimakgi> please log in via web browser and<eol>then try again.<eol>learn more at<eol>https://support.google.com/mail/bin/answer.py?answer=78754 pd10sm1254397pdb.66 - gsmtp<eol>
this error when using gmail id
and while using other domain
15-05-15 14:31:52 : socket error # 11001<eol>host not found.
i found solution here on link works
this solution requires sendmail.exe (a command line interface (cli) executable accepts email php, connects smtp server , sends email). not require use command, don’t bother :-) download sendmail.zip , follow these steps:
create folder named “sendmail” in “c:\wamp\”. extract these 4 files in “sendmail” folder: “sendmail.exe”, “libeay32.dll”, “ssleay32.dll” , “sendmail.ini”. open “sendmail.ini” file , configure following smtp_server=smtp.gmail.com smtp_port=465 smtp_ssl=ssl default_domain=localhost error_logfile=error.log debug_logfile=debug.log auth_username=[your_gmail_account_username]@gmail.com auth_password=[your_gmail_account_password] pop3_server= pop3_username= pop3_password= force_sender= force_recipient= hostname=localhost
you not need specify value these properties: pop3_server
, pop3_username
, pop3_password
, force_sender
, force_recipient
. error_logfile
, debug_logfile
settings should kept blank if have sent successful email(s) otherwise size of file keep increasing. enable these log file settings if don’t able send email using sendmail.
Comments
Post a Comment