Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $to = em1@gmail.com';
- $subject = 'Testing sendmail.exe';
- $message = 'Hi, you just received an email using sendmail!';
- $headers = 'From: em2@gmail.com' . "rn" .
- 'MIME-Version: 1.0' . "rn" .
- 'Content-type: text/html; charset=utf-8';
- mail($to, $subject, $message, $headers);
- if(mail($to, $subject, $message, $headers))
- echo "Email sent";
- else
- echo "Email sending failed";
- ; For Win32 only.
- ;SMTP = localhost
- ;smtp_port = 25
- ; For Win32 only.
- ;sendmail_from =
- ; -i
- sendmail_path = "D:Serverbinwampsendmailsendmail.exe -t"
- ;mail.force_extra_parameters =
- mail.add_x_header = On
- 15.07.08 09:10:31 : Connect timed out.
- 15.07.08 09:10:21 ** --- MESSAGE BEGIN ---
- 15.07.08 09:10:21 ** To: em1@gmail.com
- 15.07.08 09:10:21 ** Subject: Testing sendmail.exe
- 15.07.08 09:10:21 ** X-PHP-Originating-Script: 0:test.php
- 15.07.08 09:10:21 ** From: em2@gmail.com
- 15.07.08 09:10:21 ** MIME-Version: 1.0
- 15.07.08 09:10:21 ** Content-type: text/html; charset=utf-8
- 15.07.08 09:10:21 **
- 15.07.08 09:10:21 ** Hi, you just received an email using sendmail!
- 15.07.08 09:10:21 ** --- MESSAGE END ---
- 15.07.08 09:10:21 ** Connecting to smtp.gamil.com:25
- 15.07.08 09:10:31 ** Disconnected.
- 15.07.08 09:10:31 ** Disconnected.
- 15.07.08 09:10:31 ** Disconnected.
- 15.07.08 09:10:31 ** Disconnected.
- 15.07.08 09:10:31 ** Connect timed out.
- exception class : EIdConnectTimeout <p>
- exception message : Connect timed out. <p>
- main thread ($2740): <p>
- 0041fa42 +000e sendmail.exe IdException 112 +1 EIdException.Toss <p>
- 0044092e +014e sendmail.exe IdIOHandlerStack 279 +38 DoConnectTimeout <p>
- 00440b4c +01d8 sendmail.exe IdIOHandlerStack 346 +55 TIdIOHandlerStack.ConnectClient <p>
- 00444a9f +0063 sendmail.exe IdIOHandlerSocket 335 +13 TIdIOHandlerSocket.Open <p>
- 0044157d +0235 sendmail.exe IdTCPClient 318 +53 TIdTCPClientCustom.Connect <p>
- 00445cc8 +00a4 sendmail.exe IdExplicitTLSClientServerBase 257 +23 TIdExplicitTLSClient.Connect <p>
- 0045ab7b +0017 sendmail.exe IdSMTP 373 +2 TIdSMTP.Connect <p>
- 004b5f14 +1060 sendmail.exe sendmail 808 +326 initialization
- 76533378 +0010 kernel32.dll <p> BaseThreadInitThunk <p>
- thread $2570: <p>
- 774b01a2 +0e ntdll.dll NtWaitForMultipleObjects <p>
- 76533378 +10 kernel32.dll BaseThreadInitThunk <p>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement