{"action":"created","issue":{"url":"https://api.github.com/repos/PHPMailer/PHPMailer/issues/412","labels_url":"https://api.github.com/repos/PHPMailer/PHPMailer/issues/412/labels{/name}","comments_url":"https://api.github.com/repos/PHPMailer/PHPMailer/issues/412/comments","events_url":"https://api.github.com/repos/PHPMailer/PHPMailer/issues/412/events","html_url":"https://github.com/PHPMailer/PHPMailer/issues/412","id":73031838,"number":412,"title":"SMTP error - MS Exchange","user":{"login":"frankstepanski","id":7707247,"avatar_url":"https://avatars.githubusercontent.com/u/7707247?v=3","gravatar_id":"","url":"https://api.github.com/users/frankstepanski","html_url":"https://github.com/frankstepanski","followers_url":"https://api.github.com/users/frankstepanski/followers","following_url":"https://api.github.com/users/frankstepanski/following{/other_user}","gists_url":"https://api.github.com/users/frankstepanski/gists{/gist_id}","starred_url":"https://api.github.com/users/frankstepanski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/frankstepanski/subscriptions","organizations_url":"https://api.github.com/users/frankstepanski/orgs","repos_url":"https://api.github.com/users/frankstepanski/repos","events_url":"https://api.github.com/users/frankstepanski/events{/privacy}","received_events_url":"https://api.github.com/users/frankstepanski/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-05-04T14:16:31Z","updated_at":"2015-05-04T15:59:30Z","closed_at":null,"body":"Hi\r\n\r\nTrying to  send a test email via client's MS Exhange account and get the following error message:\r\n\r\n```\r\nSMTP ERROR: EHLO command failed: \r\nCalled MAIL FROM without being connected Message could not be sent.Mailer Error: The following From address failed: isigned@constitutioncenter.org : \r\n```\r\nDoes that mean the SMPT address is wrong and/or password is wrong?\r\n\r\nthanks.\r\n\r\n```php\r\n<?php\r\nrequire 'lib/PHPMailer-master/PHPMailerAutoload.php';\r\ndefine('GUSER', 'email'); \r\ndefine('GPWD', 'password'); \r\n$mail = new PHPMailer();  \r\n$mail->IsSMTP(); \r\n$mail->Host = 'Mail2.constitutioncenter.org';\r\n$mail->Port = 25; \r\n$mail->Username = GUSER;  \r\n$mail->Password = GPWD;           \r\n$mail->Subject = testing';\r\n$mail->Body = 'body testing...';\r\n$mail->IsHTML(true); \r\n$mail->SetFrom('email', 'name');\r\n$mail->AddAddress('test@gmail.com', 'test');\r\nif(!$mail->send()) {\r\n   \r\n    echo 'Message could not be sent.';\r\n    echo 'Mailer Error: ' . $mail->ErrorInfo;\r\n    \r\n   } else {\r\n    echo 'Message has been sent';\r\n   }\r\n\t?>\r\n```"},"comment":{"url":"https://api.github.com/repos/PHPMailer/PHPMailer/issues/comments/98765429","html_url":"https://github.com/PHPMailer/PHPMailer/issues/412#issuecomment-98765429","issue_url":"https://api.github.com/repos/PHPMailer/PHPMailer/issues/412","id":98765429,"user":{"login":"frankstepanski","id":7707247,"avatar_url":"https://avatars.githubusercontent.com/u/7707247?v=3","gravatar_id":"","url":"https://api.github.com/users/frankstepanski","html_url":"https://github.com/frankstepanski","followers_url":"https://api.github.com/users/frankstepanski/followers","following_url":"https://api.github.com/users/frankstepanski/following{/other_user}","gists_url":"https://api.github.com/users/frankstepanski/gists{/gist_id}","starred_url":"https://api.github.com/users/frankstepanski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/frankstepanski/subscriptions","organizations_url":"https://api.github.com/users/frankstepanski/orgs","repos_url":"https://api.github.com/users/frankstepanski/repos","events_url":"https://api.github.com/users/frankstepanski/events{/privacy}","received_events_url":"https://api.github.com/users/frankstepanski/received_events","type":"User","site_admin":false},"created_at":"2015-05-04T15:59:30Z","updated_at":"2015-05-04T15:59:30Z","body":"I did have the client add my IP address to their SPF record. Any way  I can check if they added correctly?"}}