Hi, I just bought the dynamic forms module. I'm trying to get an email form to work with an attachment. The form works if I get rid of the file attachment dynamic field. The minute I add the "file attachment" field to the form it bombs -- it does send an email -- but there is nothing in it. Not even the fields that were working previously. In the DNN event log I am seeing the following:
AssemblyVersion: 04.08.00
PortalID: 17
PortalName: Home Court Book
UserID: -1
UserName:
ActiveTabID: 627
ActiveTabName: Form2
RawURL: /SubmitPicture/Form2/tabid/627/Default.aspx
AbsoluteURL: /Default.aspx
AbsoluteURLReferrer: http://www.abc.com/SubmitPicture/Fo...fault.aspx
UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.11) Gecko/20071127 Firefox/2.0.0.11
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: edd86ed7-c006-452f-a942-596f29a78317
InnerException: Could not find file 'D:\websites\DNN4\Portals\17\DynamicForms_Uploads\73f400cf-ad64-42be-abda-83a4bec693c1.jpg'.
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: System.IO.__Error.WinIOError
StackTrace:
Message: System.IO.FileNotFoundException: Could not find file 'D:\websites\DNN4\Portals\17\DynamicForms_Uploads\73f400cf-ad64-42be-abda-83a4bec693c1.jpg'. File name: 'D:\websites\DNN4\Portals\17\DynamicForms_Uploads\73f400cf-ad64-42be-abda-83a4bec693c1.jpg'at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy)at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)at System.Net.Mail.AttachmentBase.SetContentFromFile(String fileName, String mediaType)at System.Net.Mail.Attachment..ctor(String fileName)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, String[] Attachment, String SMTPServer, String SMTPAuthentication, String SMTPUsername, String SMTPPassword, Boolean SMTPEnableSSL)
Source:
Server Name: 66103-66103
NOTE: The path is correct and there is indeed a \DynamicForms_Uploads directory, but the file upload is not there. Thanks in advance for the help.