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...Mulitpel BCCMulitpel BCC's
Previous
 
Next
New Post
3/17/2009 9:30 AM
 

Hello all,

I have written and "Contact Me" App which works perfectly, except in one area.  The customer want's the eMail to be sent to 1 primary eMail address, 4 CC's and one BCC.

Probelm I have is one,

when using DotNetNuke.Services.Mail.Mail.SendMail

  1.  how do I add the extra recipients. 
  2. And according to the prompt that the code give's there is not CC area on the code.

Please help, thank you.

 
New Post
3/17/2009 9:43 AM
 

there are overloads of DotNetNuke.Services.Mail.Mail.SendMail, which accepts to, cc and bcc parameter, some as string (using ";" as delimiter), and the newest ones as lists of emails.


Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
3/18/2009 2:57 AM
 

Thank you Sebastian.

Is there and example that you can give me, or a tutorial that you can send me to?

I ask this because if I am working VS2008 and I type DotNetNuke.Services.Mail.Mail.SendMail  and then add the overloads, including a cc value, I am told that there are too many overloads and if I try make the bcc up as a string using ; as a separator, I get told that the string is not a valid email address.

Thanks

 
New Post
3/18/2009 11:33 AM
 

I just reviewed the source code of the mail class in DNN 4.9, all overloads accept a single string, which may contain multiple email addresses, separated by Semicolon ";" or Comma ",".

You may review in the source code of the framework the TokenizedBulkMail class, which calls the SendMail function with an appropriate list of bcc users.


Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
3/19/2009 8:01 AM
 

Thanx Sebastian, that helped a lot.

Cheers

 
Previous
 
Next
HomeHomeDevelopment and...Development and...DNN Platform (o...DNN Platform (o...Mulitpel BCCMulitpel BCC's


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