Click here to Skip to main content
15,896,557 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
The below-listed is the current e-mail configuration. However, an error occurs; "Transaction failed. The server response was: 5.7.1 SMTP Authentication is required to send email."

Here are all of our mail settings:

1) Ports - POP is 110; IMAP is 143; SMTP (outgoing) is 587.
2) SSL should not be enabled.
3) You MUST have SMTP Authentication enabled, but do NOT enable Secure Password Authentication.
4) Incoming and outgoing server name must be mail.domain.extension (example: mail.domain.com).
5) The user name is your FULL email address.

XML
<?xml version="1.0"?>

<configuration>
  <appSettings>
    <add key="SMTPServer" value="mail.XXX.com"/>
    <add key="BCCEmail" value="info@XXX.com"/>
    <add key="TOEmail" value="info@XXX.com"/>
  </appSettings>
  <system.web>
    <compilation debug="true"/>

    <customErrors mode="Off" />
Posted
Updated 23-Aug-14 9:41am
v4
Comments
[no name] 23-Aug-14 13:59pm    
"Authentication is required to send email" is pretty much self explanatory is it not?
Member 10835262 23-Aug-14 14:03pm    
My apologies, this is new to me. May you please provide an example? Thank you for your anticipated response.

1 solution

First, very bad idea. What you are describing will send everyone's passwords over the wire in plaintext. Enable SSL (STARTTLS).

Don't worry about POP3 and IMAP -- they have nothing to do with mail delivery.

Other than that we can't help you. Obviously the application is getting some settings from appSettings but without sharing the part where the application actually sends messages (usually using System.Net.Mail.SmtpClient, we can't see if it is able to authenticate.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900