.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Register
 
Win Surprise Gifts!!!
Congratulations!!!


Post New Web Links

SPD Email only works when I type actual e-mail, but does not send to users or groups

Posted By:      Posted Date: October 20, 2010    Points: 0   Category :SharePoint
 

I've viewed other e-mail related posts on this forum and have not seen this specific question, so I'll ask.

I've got an approval workflow that I created in SPD.  It works, but when I try to attach e-mail to it, the e-mails do not send to the e-mails associated with the user or groups profiles in SSP (User profile properties). 

For testing purposes, I tried creating a simple workflow that only sends one email to one person.  This doesn't work.  I try sending it to 2 different specific e-mail addresses instead of trying to do a "This specific user" or "Current item:Created by" or something else chosen by SPD: 1 of which is a personal e-mail, another is an e-mail that is assigned to a user's profile in SSP.  Both were received.

So basically the situation is what title says: SharePoint Designer workflow sends an e-mail when the e-mail targets specific e-mail addresses, but not SharePoint users or groups.  So basically DOMAIN\username does not work, but user@domain.com does work.  Any suggestions would be appreciated.

I'm using Moss 2007, SP1.




View Complete Post


More Related Resource Links

How to send mail to individual users.

  

Hi,

  I need to send the same mail to multiple users separately. I dont want to use comma delimeted "To Address" . Because other users can able to see the recipients.

   Each recipient should not know about the other recipients. 

   How will I achieve this one without for loop ?

Thanks.



send email to all users with certain rights

  
Hello,  I'm using Sharepoint Designer and Foundation 2010. I am a new admin and appreciate all the help I can get.  Here's what I'm trying to do.   I have several business workflows that call for notifying the users of a particular site. Rather than set the workflow to email specific users or even a group of users, I'd like to set the workflow to email anyone within a certain rights level. For example, I want to notify all users with Contribute level rights whenever a new document is loaded or modified.    Is there a quick way to do this?Beth Singley PBM Graphics

SSIS 2005 - Send Mail Task - signature appended to email is garbled - unicode problem?

  
Hi, I'm pretty new to SSIS so go easy on me. I have a Send Mail Task to notify if a file cannot be imported - the mailbody is created on the previous step by a VB.NET script task to include the name of the file and the path it's been archived to. The problem I'm having is that while the body of the email I've created is displaying fine, our company's Exchange server appends a signature to all emails, and this is coming up as undisplayable characters, presumably due to some kind of unicode encoding problem. I've tried casting the email body in an expression to DT_STR (doesn't work as DT_STR "cannot be converted to a supported type" which seems a bit odd but never mind), DT_WSTR (garbled signature), DT_TEXT/DT_NTEXT (strange error on this one - "Attempted to read or write protected memory") none of those ideas worked, and I'm a bit stumped now. Can anyone help? I'm using SSIS 2005 with SP3

"Send Email" activity doesn't send email to Google App mail only!

  

Hi, 

Suddenly i faced this issue this morning, SPD workflow can send email to all the domains except my Google App Mail domain.

It can send to gmail, yahoo, hotmail but it doesn't succeed my google app email!

i didn't change anything in google app mail setting or the local SMPT setting.

 

this is my IIS SMPT configuration

Fully qualified domain name:  mail.***

Smart host: smtp.gmail.com

TCP Port: 587


Consolidate auto workflow email and send one mail a day

  

Hi, I am facing an issue from so long and request you to provide any solution on the same.

I have created a document library and list where currently users are getting auto workflow email every time something gets uploaded to doc lib or list. However the requirement is to consolidate those auto emails so they will only get 1 summary email per day [i.e. all the file details in one email after end of the day which means “all files uploaded after 12pm midnight of (12<sup>th</sup> Oct) to 12pm midnight of (13<sup>th</sup> Oct)]

 

This seems to bit complex task and I was unable to find any solutions for the same. Please help me with the resolution/alternative
Regards, Sachin

Consolidate auto workflow email and send one mail a day

  

Hi,
I am facing an issue from so long and request you to provide any solution on the same.

I have created a document library and list where currently users are getting auto workflow email every time something gets uploaded to doc lib or list. However the requirement is to consolidate those auto emails so they will only get 1 summary email per day [i.e. all the file details in one email after end of the day which means “all files uploaded after 12pm midnight of (12<sup>th</sup> Oct) to 12pm midnight of (13<sup>th</sup> Oct)]

This seems to bit complex task and I was unable to find any solutions for the same. Please help me with the resolution/alternative

Regards, Sachin


How to modify Send E-Mail subject ("Welcome to the SharePoint group") in People and Groups?

  

Hi All,

 

I am using WSS 3.0 in our application. Whenever user is added to the SharePoint Group using People and Groups page, user will be alerted using Send E-Mail option. We want to modify the subject “Welcome to the SharePoint group: Portal Visitors for site: Home”. I found that I can modify AclInv.aspx to modify the subject.

 

Could you please tell me is there any other way to change this text since modifying Layout pages are not recommended in our environment?

 

Thanks in advance.

 

SSIS Expression to send email with dataset on the Mail Subject line.

  

Hi

I have a task - I need to email total number of products sold on the subject line of the mail task.

I have Execute SQL task process like select count(*) from tablename. Then I need to Mail the result set like "Total products sold September 2010 : 15000" on teh subject line.

I created a variable bit i dont know how to assign it on the subject line of the Send Mail Task.

I would really appreciate if you can guide me.

Thanks for your help.

Febten


Send Email to multiple users

  

Hi everyone

I have a problem with a workflow.

I use MOSS 2007 RTM
I have a custom sharepoint list with several columns where one (lets call it MailRecipients) are of the type 'Person or Group' with the property 'Allow multiple selections' set to 'yes' - this works fine, and I can create items, select multiple users from AD and so on.

Then i create a workflow using Sharepoint Designer 2007 and uses the action 'Send mail'.
I then want to send a mail to all the people selected in the column 'MailRecipients', but this column isn't present when I try to selected the column for the 'To' field in my workflow.
When I disable the proptery 'Allow multiple selections', there are no problem using the column in the To field in the Workflow

How will I be able to use the People or Group column (with 'Allow multiple selections' enabled) as a 'To' value in a workflow 'Send Email' action.?
I've tried making my own Custom Workflow action but have serious problems with this. Keep trying though!

Hope anyone have more experience with this part of MOSS 2007

Thanks

Søren Bjerre, DK

 


Send Email from SQL Server Express Using a CLR Stored Procedure

  
Problem
One of the nice things about SQL Server is the ability to send email using T-SQL. The downside is that this functionality does not exist in SQL Server Express. In this tip I will show you how to build a basic CLR stored procedure to send email messages from SQL Server Express, although this same technique could be used for any version of SQL Server.

Solution
If you have not yet built a CLR stored procedure, please refer to this tip for what needs to be done for the initial setup.

How to send an email with information in query string

  

First I will say I googled (Binged to make Bill happy) for this but could not find anything, perhaps I am not stating what I need correctly;

I have a website that a customer creates orders (for a printing company) and after the order, I would like to email the customer a link to view the status of their order;

I need to send the CustomerID in the link so on the returning page if a CustomerID is detected in the querystring, I "auto login" the client and open the "Dashboard" for the order page for that customer.

Can anyone point me in the right direction as to how to send the link and how to parse the querystring to get the values from the link;

Thank you if you can point me in the right direction.


Email Help (System.Net.Mail)

  

Hi I have a annoying problem. 
I have created a page which takes users details for a quote.

I have then created the form to be emailed to both the user and myself. (Which works fine ATM)

However I would also like to be able to attach a file containing terms and conditions to the email.

I have tried doing this using 

EmailMsg.Attachments.Add(new Attachment("C:\\attachme.txt"));

But everytime that line of code is hit it fails and is caught by my try catch.

Take that line out and the email sends fine, put it in and it breaks the whole page.

Am I missing something really obvious?


Toolbox: Create Graphs, Send E-Mail, Spell-Check, and More

  

Turn boring data into stunning graphs, create, parse, send, and receive mail messages from code, and more.

Scott Mitchell

MSDN Magazine August 2007


I cannot send mail using gmail smtp server

  

 Here is my code

Dim message As System.Net.Mail.MailMessage = New System.Net.Mail.MailMessage()
        message.To.Add("from textbox field")
        message.Subject = "Testing"
        message.From = New System.Net.Mail.MailAddress("sender email ")
        message.Body = "Just Testing"

        Dim smtp As System.Net.Mail.SmtpClient = New System.Net.Mail.SmtpClient()

        Dim client As SmtpClient = New SmtpClient()
        smtp.Credentials = New System.Net.NetworkCredential("username", "password")
        smtp.Port = 25
        smtp.Host = "smtp.gmail.com"
        smtp.EnableSsl = True
        smtp.DeliveryMethod = SmtpDeliveryMethod.Network
        lblmsg.Text = "Your Email has send"

        Try
        &

Send email throught proxy

  

hi,

i want to send a mail via my mvc application hosted by cassini ,but  i access to the internet connexion throught proxy

i add this lines on my web config :

<system.net>
    <defaultProxy  enabled="true" >
      <proxy proxyaddress="10.16.4.6"/>
    </defaultProxy>
    <mailSettings>
      <smtp>
        <network />
      </smtp>
    </mailSettings>
  </system.net>
and in my code i have :
try 
{ 
 MailMessage mail = new MailMessage();
            mail.To.Add("xxx@xxx.fr");
             mail.From = new MailAddress("yyy@xxx.fr");
                    mail.Subject = "Test";

                    string Body = "Hi, this mail is to test sending mail" 
                    mail.Body = Body;
                    mail.IsBodyHtml = true;
                    SmtpClient smtp = new SmtpClient("127.0.0.1");
                    smtp.Port = 25;
                    
                    smtp.Send(mail);

                    
   }
                catch (Exception ex)
                {
                    string exep = "Send Email Failed." + ex.Message;
                } 

 i have un exception :"Unable to connect to the remote server"

Send an Email with User fields data entered in the form

  

Hi All,

          I have a form which have some user input fields(like textboxes,dropdownlists,textarea etc) fields and a submit button.

on click i need to send email with body contents as all the details entered by user in the form

Can anyone suggest how i should approach to this in sharepoint..

any code examples would be appreciated.

 


Categories: 
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend