Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeDevelopment and...Development and...DNN Platform (o...DNN Platform (o...DotNetNuke...Sendmail with multiple attachments?DotNetNuke...Sendmail with multiple attachments?
Previous
 
Next
New Post
6/30/2009 6:21 AM
 

As always, thanks for the insight Sebastian!  We are working on it.  We have a number of third party modules that we have to make sure have no issues before upgrading. 

Thanks again,

Chuck

 
New Post
6/30/2009 7:49 AM
 

Hello,

Just try following code to send multiple attachments

dim attachment  as string()  ' Declare one string array

attachment  =strAttachment.Trim().Split(","c)   'Here strAttachment is the string ofl attachment path separated by  coma (",")

Mail.SendMail(strFrom, strTo, strSecEmailId, strBcc, strReplyTo, MailPriority.Normal, strSubject, objBodyformat, strBody , attachment  , strSMTPServer, strSMTPAuthentication, strSMTPUsername, strSMTPPassword, False)

I tried and it is working fine.

Regards,

Leo TechnoSoft Pvt. Ltd.
http://www.leosys.in
dnn@leosys.in

 


 

 


Leo TechnoSoft Pvt.Ltd - The Biggest DotNetNuke Development Team
 
New Post
7/2/2009 4:20 AM
 

Hey,

 

the attachment issue was in the fridge for a while, but I've taken it out of the fridge again..

The multipleattachment-thing was solved, but how do I attach files that are not on the server or in the network?
To be short:  I want the user to select a file and attach it to a mail.

I used a <asp:FileUpload ...>  to select the file, and again, if I choose a  "local" file it works fine.
If I however call the website from another PC, the file I select is  "local" to me, but not to the site.

Please advise, do I need to make a  "temp-directory" to first upload the file, and then mail?

 

Thnx in advance.

 
New Post
7/2/2009 4:38 AM
 

since the mail is composed and sent from the server, you need to upload all attachments to the server first, e.g. into a temp directory, attach it to the mail, send the mail and after send is completed(!) you are safe to delete temp files. 


Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
Previous
 
Next
HomeHomeDevelopment and...Development and...DNN Platform (o...DNN Platform (o...DotNetNuke...Sendmail with multiple attachments?DotNetNuke...Sendmail with multiple attachments?


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out