Join our DNN Community    (Newsletter, Tips, Tricks and Forums for DNN Skins & Modules)

 


 
Microsoft Gold Certified Partner - DNN Benefactor

DotNetNuke Powered! 


Friday, December 05, 2008 Register · Login · Contact · Search:  
Company Solutions Portfolio Contact
Forums
Samples and other shared info.

Subject: Send An Email With Attachment

You are not authorized to post a reply.   
Author Messages
pauldes
Immortal
Posts:1392

04/10/2008 10:29 AM Alert 
Here is an example of sending an email through a form with the ability to include and attachment to the email

Attachment: EmailWAttachment.xml


ListX....makes you look brilliant, even though you're not.
robert_chumley
Please Wait...
Posts:595

04/10/2008 10:33 AM Alert 
Thanks Paul, we really need a collection of these.

Robert Chumley
r2integrated (formally bi4ce)
pauldes
Immortal
Posts:1392

04/10/2008 12:25 PM Alert 
BAD CODE ALERT!!!

Don't use the first attachment. Code is corrected in the attachment here.

Attachment: EmailWAttachment.xml


ListX....makes you look brilliant, even though you're not.
kevinmschreiner
Please Wait...
Posts:749

04/10/2008 2:09 PM Alert 
Haha - thanks Paul!

Kevin M Schreiner

Business Intelligence Force, Inc. (bi4ce)
rdsidan
Featherweight
Posts:8

04/22/2008 9:10 AM Alert 
Guess I'm stupid day...but I can't pull up the link to the XML file:

The XML page cannot be displayed
Cannot view XML input using style sheet. Please correct the error and then click the Refresh button, or try again later.


--------------------------------------------------------------------------------

Switch from current encoding to specified encoding not supported. Error processing resource 'http://dnn.bi4ce.com/Portals/0...

<?xml version="1.0" encoding="utf-16"?>


robert_chumley
Please Wait...
Posts:595

04/22/2008 9:29 AM Alert 
You can probably just right click the link and select "save target as..". Then save the file locally.
Thanks,

Robert Chumley
r2integrated (formally bi4ce)
rdsidan
Featherweight
Posts:8

04/22/2008 9:32 AM Alert 
Doh...that works. Thanks
pmanda
Superweight
Posts:267

04/23/2008 9:46 AM Alert 
Let us know if it solved your problem.

Praveena Manda
Software Engineer
Bi4ce,Inc
rdsidan
Featherweight
Posts:8

04/23/2008 1:18 PM Alert 
Yes it did....I was trying to figure out how to include data fields within the body of an e-mail...so in a roundabout way, this example helped me figure it out.

Many thanks!
penra
Posts:15

09/26/2008 5:14 PM Alert 
Can you show me how to make this send multiple attachments?
pauldes
Immortal
Posts:1392

09/26/2008 5:28 PM Alert 
just add another file form field to the display and reference it in a second action like is used for the first attachment

ListX....makes you look brilliant, even though you're not.
penra
Posts:15

09/29/2008 10:09 AM Alert 
Works great!
penra
Posts:15

09/29/2008 10:10 AM Alert 
How could I limit size of attachments?
pauldes
Immortal
Posts:1392

09/29/2008 10:25 AM Alert 
You could try testing the form variable value for
[formvariablename.Length,Form]
it returns the physical byte length

ListX....makes you look brilliant, even though you're not.
You are not authorized to post a reply.
Forums > Bi4ce.Modules.ListX > Samples and other shared info. > Send An Email With Attachment



ActiveForums 3.6
Latest Post
 
At R2integrated (formerly Bi4ce), we take support seriously.  That's why we support our customers and DNN community with daily monitoring from our experienced engineering team.  We ask that the first step taken is to read the relevant documentation and support forums prior to submitting any questions that may already be available or have been answered.  We ask that you review the documentation that we provide for our products before posting a question.

The Forums are for our customers to chat, exchange ideas and strategies, and submit feedback.  Please be sure to perform keyword searches for previous related forum responses.

To be helpful when submitting a new item, please include the following: 
  1. DNN Version
  2. Module Version
  3. Admin Log Viewer Information
  4. Environment detail: Operating system, .NET framework version, database and version, IIS version, Browser version (if appropriate)
We always try to respond quickly and monitor the forums daily during business hours (EST).  Occasionally, requests for a specific project requirement may not apply for the free support offered. For project specific support please submit via our Information Request form.

Thank you for using our Forums.

Click here to register for the Forums
 
© 2008 by R2integrated (formerly Bi4ce) | DNN® is a registered trademark of DotNetNuke Corporation