Coder Social home page Coder Social logo

Comments (5)

SCullman avatar SCullman commented on July 28, 2024

@seabelis , I followed your instructions, but I cannot reproduce your issue.

Can you please export your configuration ("Save as Template"). The file can b downloaded with Site Assets within the portals template folder. Please attach that file to a comment.
If your fnl setup contains sensitive information, please setup a simplified form first, retest your issue and export then.

from dnn.formandlist.

seabelis avatar seabelis commented on July 28, 2024

I have retested with a form that has only one field and is set to send an email to my address on new. So it seems to have nothing to do with the collected data, just sending the email. I get the following error:
Error: is currently unavailable. DotNetNuke.Services.Exceptions.ModuleLoadException: The parameter 'address' cannot be an empty string. Parameter name: address ---> System.ArgumentException: The parameter 'address' cannot be an empty string. Parameter name: address at System.Net.Mail.MailAddress..ctor(String address, String displayName, Encoding displayNameEncoding) at DotNetNuke.Services.Mail.Mail.SendMail(String mailFrom, String mailSender, String mailTo, String cc, String bcc, String replyTo, MailPriority priority, String subject, MailFormat bodyFormat, Encoding bodyEncoding, String body, List1 attachments, String smtpServer, String smtpAuthentication, String smtpUsername, String smtpPassword, Boolean smtpEnableSSL) at DotNetNuke.Services.Mail.Mail.SendMail(String mailFrom, String mailTo, String cc, String bcc, String replyTo, MailPriority priority, String subject, MailFormat bodyFormat, Encoding bodyEncoding, String body, List1 attachments, String smtpServer, String smtpAuthentication, String smtpUsername, String smtpPassword, Boolean smtpEnableSSL) at DotNetNuke.Modules.UserDefinedTable.Components.TrackingController.SendMail(String from, String mailTo, String cc, String bcc, String replyto, String subject, String data, String message, String trigger, String script) at DotNetNuke.Modules.UserDefinedTable.Components.TrackingController.HandleAction(Trigger trigger, DataSet data, UserDefinedTableController udtC) at DotNetNuke.Modules.UserDefinedTable.Components.TrackingController.OnAction(Trigger trigger, Int32 rowId, UserDefinedTableController udtC) at DotNetNuke.Modules.UserDefinedTable.UserDefinedTableController.UpdateRow(DataSet ds, Int32 rowNr, Boolean isDataToImport) at DotNetNuke.Modules.UserDefinedTable.EditForm.cmdUpdate_Click(Object sender, EventArgs e) --- End of inner exception stack trace ---

There is no problem generating email from the site itself; other modules can do so without issue.
testFormList.dnn_userdefinedtable.module.zip

from dnn.formandlist.

SCullman avatar SCullman commented on July 28, 2024

Lisa, I applied your template and it worked for me.
Can you please set also your address for from: and try again?

from dnn.formandlist.

seabelis avatar seabelis commented on July 28, 2024

Yes. Thank you. This does work. I didn't realized the portal address was no longer used as default. Thank you!

from dnn.formandlist.

SCullman avatar SCullman commented on July 28, 2024

The portal address is used by default. It works for me without setting _from.

Code

                    if (from == string.Empty)
                    {
                        from = Globals.GetPortalSettings().Email;
                    }

It looks like there is no Email defined for your portal - or there is no email anymore in that portal setting for other reason, e.g. a bug within core.

from dnn.formandlist.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.