YAFLogo

lemonde
  • lemonde
  • 59.6% (Neutral)
  • YAF Forumling Topic Starter
9 months ago
Does anyone know if the smtp server settings work in 3.19

As far as I can see YAF does not even try.

I am using a local SMTP server on the IIS box and I can make it work from other websites but YAF doesn't even show up in the logs.

I have tried various different set-ups and currently have:

      
Quote:

   
            
              
              
          
          


 Using a local open relay 
Sponsor

tha_watcha
  • tha_watcha
  • 100% (Exalted)
  • YAF.NET Project Lead 🤴 YAF Version: 3.0.3
9 months ago
Yaf uses the smtp settings which are defined in the mailsettings section in the web.config. 

If you want to post xml code here use the code tags not the quote tags
lemonde
  • lemonde
  • 59.6% (Neutral)
  • YAF Forumling Topic Starter
9 months ago
    <mailSettings>
        <!--  SMTP setup for sending of e-mails from your forum.
              If the SMTP is SSL, then set SsL to true-->
              
              <network host="localhost"
                         port="25"
                         enableSsl="true"
                         defaultCredentials="true" />-->
        <smtp deliveryMethod="Network" from="accounts@domain.suffix">
            <!-- Uncomment to specify SMTP settings -->
            <!-- network host="localhost" port="25" password="" userName="" / -->
        </smtp>

        <!-- Use this setting for development: pickup directory must be exact path -->
        <!--smtp deliveryMethod="SpecifiedPickupDirectory">
        <specifiedPickupDirectory pickupDirectoryLocation="C:\Inetpub\wwwroot\email" />
        </smtp-->
    </mailSettings>
tha_watcha
  • tha_watcha
  • 100% (Exalted)
  • YAF.NET Project Lead 🤴 YAF Version: 3.0.3
9 months ago
this cannot work the network node needs to be inside the smtp node like this...

<mailSettings>
        <smtp deliveryMethod="Network" from="accounts@domain.suffix">
           <network host="localhost"
                         port="25"
                         enableSsl="true"
                         defaultCredentials="true" />
        </smtp>
    </mailSettings>
Users browsing this topic
    YAF Logo Copyright © YetAnotherForum.NET & Ingo Herbote. All rights reserved
    About Us

    The YAF.NET is an open source .NET forum project. YAF.NET is supported by an team of international developers who are build community by building community software.

    Powered by Resharper Donate with PayPal button