SMTP Authentication for PHP Mail
Can anyone help me in figuring out the correct way to incorporate the SMTP authentication into a form? I am having a lot of trouble in getting my forms to send with this format. My code for my php action page is below. I have my correct information where i included *******. Please let me know what i have wrong.
CODE STARTS HERE
<?php
//new function
$to = "*******";
$nameto = "LTL Freight Shop";
$from = "*******";
$namefrom = "LTL Freight Shop";
$subject = "Account Request";
authSendEmail($from, $namefrom, $to, $nameto, $subject, $message);
?>
<?php
$recipient = "*******";
//$subject = "Account Request";
$companyname = check_input($_POST['CompanyName'], "Enter your company name");
$firstname = check_input($_POST['FirstName'], "Enter your first name");
$lastname = check_input($_POST['LastName'], "Enter your last name");
$phone = check_input($_POST['PhoneNumber'], "Enter your phone number");
$fax = check_input($_POST['FaxNumber']);
$email = check_input($_POST['Email'], "Enter your email");
$address = check_input($_POST['StreetAddress'], "Enter your address");
$city = check_input($_POST['City'], "Enter your city");
$state = check_input($_POST['State'], "Enter your state");
$zipcode = check_input($_POST['ZipCode'], "Enter your zip code");
$country = check_input($_POST['Country'], "Enter your country");
$yearsinbusiness = check_input($_POST['YearsinBusiness'], "Enter your years in business");
$typeofindustry = check_input($_POST['TypeofIndustry'], "Enter your type of industry");
$multiplelocations = check_input($_POST['MultipleLocations']);
$numberoflocations = check_input($_POST['LocationsCount']);
$ltl = check_input($_POST['ServicesLTL']);
$ftl = check_input($_POST['ServicesFTL']);
$domesticparcel = check_input($_POST['ServicesDomesticParcel']);
$intlparcel = check_input($_POST['ServicesInternationalParcel']);
$airfreight = check_input($_POST['ServicesAirFreight']);
$oceanfreight = check_input($_POST['ServicesOceanFreight']);
$other = check_input($_POST['ServicesOther']);
$none = check_input($_POST['ServicesNone']);
$volume = check_input($_POST['TypicalVolume'], "Enter your typical volume");
$carrier = check_input($_POST['CurrentCarrier'], "Enter your current carrier");
$class = check_input($_POST['AverageClass'], "Enter your average class");
$weight = check_input($_POST['AverageWeight'], "Enter your average weight");
$process = check_input($_POST['Process']);
$hearabout = check_input($_POST['HearAbout']);
$comments = check_input($_POST['Comments']);
if (!preg_match("/([\w\-]+\@[\w\-]+\.[\w\-]+)/", $email))
show_error("E-mail address not valid");
$message = "You have received an account request from:
Company Name: $companyname
First Name: $firstname
Last Name: $lastname
Phone Number: $phone
Fax Number: $fax
E-mail: $email
Street Address: $address
City: $city
State: $state
Zip Code: $zipcode
Country: $country
Years in Business: $yearsinbusiness
Type of Industry: $typeofindustry
Multiple Locations: $multiplelocations
Number of Locations: $numberoflocations
Services they use: $ltl, $ftl, $domesticparcel, $intlparcel, $airfreight, $oceanfreight, $other, $none
Typical Volume: $volume
Current Carrier: $carrier
Average Class: $class
Average Weight: $weight
How they currently process: $process
How they heard about us: $hearabout
Comments: $comments
End of message
//ini_set("SMTP","smtp.emailsrvr.com");
//ini_set("SMTP_PORT", 25);
//ini_set("sendmail_from","*******");
//mail($recipient, $subject, $message);
function check_input($data, $problem='')
$data = trim($data);
$data = stripslashes($data);
$data = htmlspecialchars($data);
if ($problem && strlen($data) == 0)
show_error($problem);
return $data;
function authSendEmail($from, $namefrom, $to, $nameto, $subject, $message)
$smtpServer = "smtp.emailsrvr.com";
$port = "25";
$timeout = "30";
$username = "********";
$password = "********";
$localhost = "smtp.emailsrvr.com";
$newLine = "\r\n";
$smtpConnect = fsockopen($smtpServer, $port, $errno, $errstr, $timeout);
$smtpResponse = fgets($smtpConnect, 515);
if(empty($smtpConnect))
$output = "Failed to connect: $smtpResponse";
return $output;
else
$logArray['connection'] = "Connected: $smtpResponse";
fputs($smtpConnect,"AUTH LOGIN" . $newLine);
$smtpResponse = fgets($smtpConnect, 515);
$logArray['authrequest'] = "$smtpResponse";
fputs($smtpConnect, base64_encode($username) . $newLine);
$smtpResponse = fgets($smtpConnect, 515);
$logArray['authusername'] = "$smtpResponse";
fputs($smtpConnect, base64_encode($password) . $newLine);
$smtpResponse = fgets($smtpConnect, 515);
$logArray['authpassword'] = "$smtpResponse";
fputs($smtpConnect, "HELO $localhost" . $newLine);
$smtpResponse = fgets($smtpConnect, 515);
$logArray['heloresponse'] = "$smtpResponse";
fputs($smtpConnect, "MAIL FROM: $from" . $newLine);
$smtpResponse = fgets($smtpConnect, 515);
$logArray['mailfromresponse'] = "$smtpResponse";
fputs($smtpConnect, "RCPT TO: $to" . $newLine);
$smtpResponse = fgets($smtpConnect, 515);
$logArray['mailtoresponse'] = "$smtpResponse";
fputs($smtpConnect, "DATA" . $newLine);
$smtpResponse = fgets($smtpConnect, 515);
$logArray['data1response'] = "$smtpResponse";
$headers = "MIME-Version: 1.0" . $newLine;
$headers .= "Content-type: text/html; charset=iso-8859-1" . $newLine;
$headers .= "To: $nameto <$to>" . $newLine;
$headers .= "From: $namefrom <$from>" . $newLine;
fputs($smtpConnect, "To: $to\nFrom: $from\nSubject: $subject\n$headers\n\n$message\n.\n");
$smtpResponse = fgets($smtpConnect, 515);
$logArray['data2response'] = "$smtpResponse";
fputs($smtpConnect,"QUIT" . $newLine);
$smtpResponse = fgets($smtpConnect, 515);
$logArray['quitresponse'] = "$smtpResponse";
function show_error($myError)
?>
<html>
<body>
<b>Please correct the following error:</b><br />
<?php echo $myError; ?>
</body>
</html>
<?php
exit();
?>
I have the same problem - user has Outlook 2010 on Exchange 2007. Mail goes directly into the deleted items folder. After browsing around the net I found 2 different site with the same potential fix. It seems that when migrating a user from Exch 2003 to
2007 (which we did) some of the configs get set incorrectly. The weird thing is we migrated over 2 years ago, and some others are experiencing the same after a long period after the migration. The fix that was suggested is:
Go to your Exch server, open up Exchange Management Shell and type the following:
get-mailboxcalendarsettings "domain/ou/user" | fl
set-mailboxcalendarsettings "doman/ou/user" -automateprocessing: Autoupdate
My user already had Autoupdate set, but this seems to have fixed it for me...
Similar Messages
-
Please turn on SMTP Authentication in your mail client in ecxhange
Hi guys i am getting the following in Undeliverable mail.
Delivery has failed to these recipients or groups:
[email protected] ([email protected]) A problem occurred during the delivery of this message to this e-mail address. Try sending this message
again. If the problem continues, please contact your helpdesk.
The following organization rejected your message: cms.cms-ss.net.
Diagnostic information for administrators:
Generating server: cmssrv.cms.local
[email protected] cms.cms-ss.net #550-Please turn on SMTP Authentication in your mail client. 550-213-180-200.netrunf.cytanet.com.cy (cmssrv.cms.local) 550-[213.149.180.200]:14544
is not permitted to relay through this server 550 without authentication. ##
Original message headers:
Received: from cmssrv.cms.local ([fe80::4441:f16c:7e2:3085]) by
cmssrv.cms.local ([fe80::4441:f16c:7e2:3085%17]) with mapi; Wed, 16 Jul 2014
10:51:16 +0300
From: Stavros Mavrommatis <[email protected]>
To: "[email protected]" <[email protected]>
Subject: stav1
Thread-Topic: stav1
Thread-Index: Ac+gyqeEulARc2WGQ+SGhAfPAfQIXg==
Disposition-Notification-To: Stavros Mavrommatis
<[email protected]>
Date: Wed, 16 Jul 2014 07:50:50 +0000
Message-ID: <[email protected]>
Accept-Language: en-GB, en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
Content-Type: multipart/alternative;
boundary="_000_5CB2426E90E0264D95475ACA2688E10E34FF4880cmssrvcmslocal_"
MIME-Version: 1.0
This started after windows updates. When i tried to send an email thought an account that is connected to exchange i get this email. if i retry to send the same email, the second time it goes normally. This is happening on all emails that are connected to
the exchange. I tried to send emails though pop3 and they are going normally.
PS: Exchange 2010 with windows server 2008 r2Hi,
Does this issue only occur on the [email protected] account? How about other Gmail account?
According to the error message, it seems that, it need to turn on SMTP Authentication in your mail client.
Find a similar thread for your reference:
Mail rejected because of 550 enable authentication error
http://social.technet.microsoft.com/forums/exchange/en-US/932093f9-cca5-40a5-a659-5d69c8d23c33/mail-rejected-because-of-550-enable-authentication-error
Thanks
Mavis
Mavis Huang
TechNet Community Support -
Smtp authentication for email invites with RTC
I'm trying to configure email invitations for Real-Time conferences and am following the documentation.
Problem I'm encountering is we use smtp host authentication with Exchange but I don't see any way to set this up for RTC invites.
rtcctl> setProperty -system true -pname EmailEnabled -pvalue true
rtcctl> setProperty -system true -pname SmtpHost -pvalue "mail-net.company.com"Where do I set an SMTP username and password?
Thanks.Any comments from Oracle? Isn't anyone doing smtp authentication for outbound emails?
-
I am using exchange 2003 connected using MAPI with outlook2010.
when i send e-mail to one of my customer.
i got below error message
There was a SMTP communication problem with the recipient’s email server. Please contact your system administrator.
<xxxx.net #5.5.0 smtp;550-Please turn on SMTP Authentication in
your mail client. >
xxxx.net was my server
and my customer was using messagelabs "cluster6a.us.messagelabs.com" to receive mail
i was strange that MAPI connect does not need smtp authentication when send out e-mail.
is that anythings i have missing to do?
thank youHello,
Kindly go through with below link.
http://www.experts-exchange.com/Software/Server_Software/Email_Servers/Exchange/Q_28133927.html
http://www.experts-exchange.com/Software/Server_Software/Email_Servers/Exchange/Q_28078232.html
Deepak Kotian.
MCP, MCTS, MCITP Server / Exchange 2010 Ent. Administrator
Disclaimer:
Please take a moment to "Vote as Helpful" and/or "Mark as Answer", where applicable.
This helps the community, keeps the forums tidy, and recognizes useful contributions. Thanks!
All the opinions expressed here is mine. This posting is provided "AS IS" with no
warranties or guarantees and confers no rights. -
Why won't Mail 8.1 access my SMTP Account for Yahoo mail?
Today a brand new problem. Incoming mail from my Yahoo mail account to Mail v8.1 is fine, but Mail cannot login to or send via the SMTP account for outgoing mail. When I run the Mail Connection Doctor all it tells me is I am connected to Yahoo! POP for incoming, but not to SMTP for outgoing. It all worked yesterday. Any idea what is happening here and how to fix it?
You might want to update your profile to the OS you are using. It helps people trying to help you. Are you using Yosemite?
Mail troubleshooting - Yosemite
Troubleshooting Apple Mail
Troubleshooting sending and receiving email messages
Troubleshooting sending email messages
SMTP servers keep going offline -
SMTP Authorization code for PHP Mail Form
Can anyone help me in figuring out the correct way to incorporate the SMTP authentication into a form? I am having a lot of trouble in getting my forms to send with this format. My code for my php action page is below. I have my correct information where i included *******. Please let me know what i have wrong.
CODE STARTS HERE
<?php
//new function
$to = "*******";
$nameto = "LTL Freight Shop";
$from = "*******";
$namefrom = "LTL Freight Shop";
$subject = "Account Request";
authSendEmail($from, $namefrom, $to, $nameto, $subject, $message);
?>
<?php
$recipient = "*******";
//$subject = "Account Request";
$companyname = check_input($_POST['CompanyName'], "Enter your company name");
$firstname = check_input($_POST['FirstName'], "Enter your first name");
$lastname = check_input($_POST['LastName'], "Enter your last name");
$phone = check_input($_POST['PhoneNumber'], "Enter your phone number");
$fax = check_input($_POST['FaxNumber']);
$email = check_input($_POST['Email'], "Enter your email");
$address = check_input($_POST['StreetAddress'], "Enter your address");
$city = check_input($_POST['City'], "Enter your city");
$state = check_input($_POST['State'], "Enter your state");
$zipcode = check_input($_POST['ZipCode'], "Enter your zip code");
$country = check_input($_POST['Country'], "Enter your country");
$yearsinbusiness = check_input($_POST['YearsinBusiness'], "Enter your years in business");
$typeofindustry = check_input($_POST['TypeofIndustry'], "Enter your type of industry");
$multiplelocations = check_input($_POST['MultipleLocations']);
$numberoflocations = check_input($_POST['LocationsCount']);
$ltl = check_input($_POST['ServicesLTL']);
$ftl = check_input($_POST['ServicesFTL']);
$domesticparcel = check_input($_POST['ServicesDomesticParcel']);
$intlparcel = check_input($_POST['ServicesInternationalParcel']);
$airfreight = check_input($_POST['ServicesAirFreight']);
$oceanfreight = check_input($_POST['ServicesOceanFreight']);
$other = check_input($_POST['ServicesOther']);
$none = check_input($_POST['ServicesNone']);
$volume = check_input($_POST['TypicalVolume'], "Enter your typical volume");
$carrier = check_input($_POST['CurrentCarrier'], "Enter your current carrier");
$class = check_input($_POST['AverageClass'], "Enter your average class");
$weight = check_input($_POST['AverageWeight'], "Enter your average weight");
$process = check_input($_POST['Process']);
$hearabout = check_input($_POST['HearAbout']);
$comments = check_input($_POST['Comments']);
if (!preg_match("/([\w\-]+\@[\w\-]+\.[\w\-]+)/", $email))
show_error("E-mail address not valid");
$message = "You have received an account request from:
Company Name: $companyname
First Name: $firstname
Last Name: $lastname
Phone Number: $phone
Fax Number: $fax
E-mail: $email
Street Address: $address
City: $city
State: $state
Zip Code: $zipcode
Country: $country
Years in Business: $yearsinbusiness
Type of Industry: $typeofindustry
Multiple Locations: $multiplelocations
Number of Locations: $numberoflocations
Services they use: $ltl, $ftl, $domesticparcel, $intlparcel, $airfreight, $oceanfreight, $other, $none
Typical Volume: $volume
Current Carrier: $carrier
Average Class: $class
Average Weight: $weight
How they currently process: $process
How they heard about us: $hearabout
Comments: $comments
End of message
//ini_set("SMTP","smtp.emailsrvr.com");
//ini_set("SMTP_PORT", 25);
//ini_set("sendmail_from","*******");
//mail($recipient, $subject, $message);
function check_input($data, $problem='')
$data = trim($data);
$data = stripslashes($data);
$data = htmlspecialchars($data);
if ($problem && strlen($data) == 0)
show_error($problem);
return $data;
function authSendEmail($from, $namefrom, $to, $nameto, $subject, $message)
$smtpServer = "smtp.emailsrvr.com";
$port = "25";
$timeout = "30";
$username = "********";
$password = "********";
$localhost = "smtp.emailsrvr.com";
$newLine = "\r\n";
$smtpConnect = fsockopen($smtpServer, $port, $errno, $errstr, $timeout);
$smtpResponse = fgets($smtpConnect, 515);
if(empty($smtpConnect))
$output = "Failed to connect: $smtpResponse";
return $output;
else
$logArray['connection'] = "Connected: $smtpResponse";
fputs($smtpConnect,"AUTH LOGIN" . $newLine);
$smtpResponse = fgets($smtpConnect, 515);
$logArray['authrequest'] = "$smtpResponse";
fputs($smtpConnect, base64_encode($username) . $newLine);
$smtpResponse = fgets($smtpConnect, 515);
$logArray['authusername'] = "$smtpResponse";
fputs($smtpConnect, base64_encode($password) . $newLine);
$smtpResponse = fgets($smtpConnect, 515);
$logArray['authpassword'] = "$smtpResponse";
fputs($smtpConnect, "HELO $localhost" . $newLine);
$smtpResponse = fgets($smtpConnect, 515);
$logArray['heloresponse'] = "$smtpResponse";
fputs($smtpConnect, "MAIL FROM: $from" . $newLine);
$smtpResponse = fgets($smtpConnect, 515);
$logArray['mailfromresponse'] = "$smtpResponse";
fputs($smtpConnect, "RCPT TO: $to" . $newLine);
$smtpResponse = fgets($smtpConnect, 515);
$logArray['mailtoresponse'] = "$smtpResponse";
fputs($smtpConnect, "DATA" . $newLine);
$smtpResponse = fgets($smtpConnect, 515);
$logArray['data1response'] = "$smtpResponse";
$headers = "MIME-Version: 1.0" . $newLine;
$headers .= "Content-type: text/html; charset=iso-8859-1" . $newLine;
$headers .= "To: $nameto <$to>" . $newLine;
$headers .= "From: $namefrom <$from>" . $newLine;
fputs($smtpConnect, "To: $to\nFrom: $from\nSubject: $subject\n$headers\n\n$message\n.\n");
$smtpResponse = fgets($smtpConnect, 515);
$logArray['data2response'] = "$smtpResponse";
fputs($smtpConnect,"QUIT" . $newLine);
$smtpResponse = fgets($smtpConnect, 515);
$logArray['quitresponse'] = "$smtpResponse";
function show_error($myError)
?>
<html>
<body>
<b>Please correct the following error:</b><br />
<?php echo $myError; ?>
</body>
</html>
<?php
exit();
?>I have tried the standard PHP mail function and it doesnt seem to work. Here is my most recent warning or error message.
Warning: mail() [function.mail]: SMTP server response: 554 5.7.1 <*****>: Sender address rejected: Access denied in D:\inetpub\vhosts\ltlfreightshop.com\httpdocs\requestaccount.php on line 78
I had the standard mailing set up but it wouldnt ever send and when i set up just the form, it requires the default email client. Am i wrong to assume that i need the SMTP authentication?
I am not sure about the sockets being enabled. We currently outsource our web hosting and email hosting. I cannot find the phpinfo(), where would this be?
Thanks,
Ben -
Smtp authentication for remote relaying ?
hi all
i've just setup the mail server and all works well, no issues.
i can send and receive email.
question...
i want to be able to send/relay via the smtp server while outside the LAN.
any suggestions ?Thanks for the link---I was looking for an answer to the same question.
I will try this alternate SMTP submission port. But my question is why does sending mail from outside the LAN on port 25 not work? With authentication required on the server and set up on the mail client, Mail app always reports the server as being offline. If I turn authentication off in Mail app, it connects to the server fine but then (of course) the server refuses the mail because it's not authenticated.
So is it only possible to send authenticated SMTP mail on port 587 and this is why you have to set up an alternate SMTP port?
Thanks for helping me to understand these things!
Peter -
Finding proper smtp server for outgoing mail
I added my school's e-mail account and i can receive mail just fine. I'm having trouble finding the right server name to send mail from that school address.
Is there any general rule for what a server should be called, or is it specific and i need to find out from the school?There are not har and fast rules about naming of SMTP servers. Naming convention usually results in 'mail.yourdomain.com' or 'smtp.yourdomain.com' but the naming is just a preference of whoever set up the server. You generally need to ask your mail server administrator for the name and/or access information. There are some definite caveats that are likely going to affect you however --
- Most mail admins do not allow SMTP access to their servers from off their network unless they've configured/enabled SMTP Authentication or some other way of verifying that you're really who you claim to be. Again, your mail system admin can let you know if they support this and how to configure Mail.
- It is almost always acceptable to use the SMTP server of your ISP (comcast, bellsouth, etc) regardless of the POP/IMAP account you are checking. You do not need to use your @comcast or @bellsouth email address to send through those servers.
- When in doubt about server settings, mail server admins would generally be happy with you contacting your local helpdesk or admins to be sure you're using the correct settings. -
Advice on SMTP setup for outgoing mail from internal devices only?
Hello.
I'm trying to set up a basic SMTP server using OS X Server (10.5.6) so I can have devices (Server Monitor, my UPS power system alerts, router alerts, etc. — all on the local LAN/same subnet) send out mail when they need to send out alerts. These devices do not have the ability to configure SMTP authentication, so I just need to set up this outgoing SMTP server on one of my Xserves so they have a way of sending said mail.
Would anyone be willing to provide information on how I'd set this up?
I thought I had it set up correctly, but whenever I try and send a test email (from my mail.app account), I never receive anything at the intended delivery address (an email address hosted by a 3rd party)?
Thanks!
Kristin.The default mail server configuration should accept mail from local clients and relay it to the destination domain. The only gotcha would be if the mail server thinks it's authoritative for the domain you're sending to (e.g. you're sending to '[email protected]' and this server thinks it is the mail server for 'yourdomain.com'. There are various ways of overcoming this - the easiest of which is to tell the server it's not authoritative for yourdomain.com.
The mail logs will give you an indication if that's the problem - it'll either say it delivered the mail locally, or that there was some problem connecting to the remote mail server.
Either way your ISP can't be blocking outgoing SMTP traffic (well, they could, but it would be pretty stupid of them), but your internal traffic shouldn't be touching your ISP's network anyway, which may indicate a configuration problem. -
SMTP authentication for wap baesd email
Hi...
I m trying my hands on WAP based email system... I m working with javamail and servlets for the same..
The application developed so far works well except while sending mails, SMTP authentication is requred..
can some one elaborate how to handle this thru java as in while creating SMTP session smtpsession, how do we use the authentication feature....
Thnkcx
v!
More details.. this is my send mail function.
public void send(HttpServletRequest request,HttpServletResponse response, UserSessionData userSessionData)
throws ServletException, IOException, MessagingException {
try {
String from = userSessionData.getEmailAddress();
String to = request.getParameter("to");
String cc = request.getParameter("cc");
String subject = request.getParameter("subject");
String text = request.getParameter("text");
//Define message
MimeMessage message = new MimeMessage(userSessionData.getSmtpSession());
message.setFrom(new InternetAddress(from));
message.addRecipient(Message.RecipientType.TO, new InternetAddress(to));
try {
message.addRecipient(Message.RecipientType.CC, new InternetAddress(cc));
} catch (AddressException ae) {
//Bad cc address
message.setSubject(subject);
message.setText(text);
//send message
Transport.send(message);
this.mainMenu(request, response, userSessionData);
}catch (Exception e) {
e.printStackTrace();
Any suggestions guys ?I hope this help you
//Define message
Session session = userSessionData.getSmtpSession();
MimeMessage message = new MimeMessage(session);
// Send message
Transport transport = session.getTransport("smtp");
transport.connect(HOST, MAIL_USER, MAIL_PWD);transport.sendMessage(message); -
Free SMTP server for Java mail testing
Hi all,
Are there any free SMTP servers that can be downloaded from the Net for Java mail. Thanks.
Regards
RamI am sorry ..may be my question was not very clear. I do not have am SMTP host. I need an SMTP host to route emails...is that possible.
If I have an SMTP host on my machine, then it will act as a router to route messages to other email severs like yahoo or hotmail.
So the "from" will be a user from the SMTP host.i.e my machine user and the "to" will be some email "[email protected]" or "[email protected]".
Is it posssible to route emails directly to any Yahoo or hotmail server using just java mail client?
Thanks
Regards
RP -
Hello,
The cusomer have exchange 2003/2010 in the same organisation for the forest @domain1.fr (main organisation exchange). all users in the same forest use smtp address @domain1.fr
This Exchange organisation is used as a rely for others branch. I mean that, they have multiples smtp connectors for another internal messaging organisation (postfix, exchange, exim....).
When a external mail sent to @toto.fr (internal or accepted smtp domain), it sent to the main organisation exchange (@domain1.fr) to be relayed for @toto.fr smtp server.
we want to filter the recipients in the main organisation exchange(only for @domain1.fr) by enable "Filter recipients who are not in the Directory" in global setting. we wonder if there is an impact for relying the mails to others accepted domain
because the recipients doesn't exist in the forest @domain1.fr.
is there a workaround ?
RegardsHi,
"Filter recipients who are not in the Directory".
Do you mean the "Block messages sent to recipients that do not exist in the directory"?
This will impact the whole Organisation.
More details to see:
http://technet.microsoft.com/en-us/library/aa995993(v=exchg.141).aspx
Please correct me if there is any misunderstanding.
Thanks
Mavis
Mavis Huang
TechNet Community Support -
SMTP Authentication for Notifications
Hi All,
I am trying to configure KM notifications. Our smtp server needs an authentication and I have configured e-mail service as follows :
Enable session debug info No
Parse personalized addresses: No
Send partial: Yes
Type: SMTP
Password: *******
Server: (IP address of exchange server)
User: portal
User and password are defined on exchange server.
When Portal tries to send mail it doesn't authenticate to the exchange server then it gets "client was not authenticated" message. Here is the communication between portal and smtp server :
<b>Portal :</b> EHLO HMSAPPRT
<b>Smtp Server :</b>
250-xxx.exchangeserver.com Hello [10.0.0.47]
250-TURN
250-ATRN
250-SIZE 51200000
250-ETRN
250-PIPELINING
250-DSN
250-ENHANCEDSTATUSCODES
250-8bitmime
250-BINARYMIME
250-CHUNKING
250-VRFY
250-X-EXPS GSSAPI NTLM LOGIN
250-X-EXPS=LOGIN
250-AUTH GSSAPI NTLM LOGIN
250-AUTH=LOGIN
250-X-LINK2STATE
250-XEXCH50
250 OK
<b>Portal :</b> : MAIL FROM:<[email protected]>
<b>Smtp Server :</b> :454 5.7.3 Client was not authenticated.
Event I fill username and password fields in e-mail channel it doesn't authenticate on smtp server.
Anybody has tried smtp authentication before ?
Thanks in advance
Abdul.Hello,
did you try to give it your Mailing user and password instead of "portal"?
regards
Guido -
I have accidentally turned off my smtp server for outgoinng mail. How do I fix this?
I keep getting message that e-mail can't be sent on my server [cox.net] when I check it shows cox.net for outgoing mail is offline. When I check act's, it shows cox.net as server for incoming mail. For outgoing mail, ignored to fix my problem, I changed toIMAPcox.net. Now I can't delete that to change back. What should I do? I am using Yosemite 10.10? I think.
Hi there joanfromid,
You may find the Mail troubleshooting steps in the article below helpful.
OS X Mail: Troubleshooting sending and receiving email messages
-Griff W. -
Mail: other smtp options for outgoing mail?
I'm sure many of you have switched over to the iPhone from a Blackberry so you'll know what I'm about to talk about. How do I change the "from" field of any outgoing mail? When you setup a mail account on a Blackberry you only need an email account, username and passwd. I'm not sure but I think Blackberry uses the same smtp for all outgoing mail and just changes the "from" field of the message to match your account right? You don't enter any type of smtp or pop3 information when you set up a Blackberry.
Here's the problem: School email is set as an imap server but there is no internet smtp server, only an intranet available smtp. If your on campus you can use the campus smtp but if your not you need an external smtp. Setting this up on a Blackberry is as simple as email, user and passwd. (there are no server settings) On the iPhone you need server settings but there is no smtp server available! Putting in a gmail or yahoo server will work but then your sending from that smtp and any replies go to that account. I need to be able to send through the gmail or yahoo or whatever smtp and still let the recipient reply to my school account. Anyone got a work around for this?
PowerBook G4 Mac OS X (10.4.7)My guess was right...
Delivered-To: [email protected]
Received: by 10.65.xxx.2 with SMTP id n2cs292736qbp;
Sun, 1 Jul 2007 17:17:35 -0700 (PDT)
Received: by 10.64.153.4 with SMTP id a4mr8166863qbe.1183335455918;
Sun, 01 Jul 2007 17:17:35 -0700 (PDT)
Return-Path: <[email protected]>
Received: from smtp03.bis.na.blackberry.com (smtp03.bis.na.blackberry.com [216.9.248.50])
by mx.google.com with ESMTP id d2si2770738qbc.2007.07.01.17.17.35;
Sun, 01 Jul 2007 17:17:35 -0700 (PDT)
Received-SPF: neutral (google.com: 216.9.248.50 is neither permitted nor denied by domain of [email protected])
X-rim-org-msg-ref-id:2055908612
Message-ID:<2055908612-1183335455-cardhudecombobulatorblackberry.rim.net-9402[email protected]>
Sensitivity: Normal
Importance: Normal
To: "Robert" <[email protected]>
Subject: Apple mail *****
From: [email protected]
Date: Mon, 2 Jul 2007 00:17:38 +0000
Content-Type: text/plain
MIME-Version: 1.0
PowerBook G4 Mac OS X (10.4.7)
Maybe you are looking for
-
I inadvertently set up a new account on an android and it doesn't match the ID for a Nook. I cannot share library books between the devices, and I can't remember the login I used for the nook. The nook books appear on my bookshelf from the library,
-
Frequency counter unreliable using rotary vane anemometer
I have set up an anemometer to measure air flow speed, with the signal being acquired by a 9402 module in a cDAQ-9174 chassis (4 slot). I am using Signal Express 2011 to program the instrument. I have set up a frequency counter task, using a maximum
-
Aspect ratio distortion when exporting iMovie '08 xml to FCE 4
Hi, I'm working on a small piece which I started in iMovie '08. Now that I have selected all the content for the piece I have attempted to "share" as Final Cut XML. However, when I import that file into FCE 4 the aspect ratio is all out of whack. Doe
-
Backup files for XML files?
Hi, I will like to check what the files needed to backup the xml files in XML DB Repository? e.g *.dbf files? Thanks.
-
Hi, I'm fairly new to flash and I have several sites that are effected by this IE Update with Microsoft. I'm currently using Flash MX. I'm not sure if I need to update my Flash program, the existing SWF's, the HTML, or all of the above. What is the b