Send email from custom workflow to group
Hi!
We have Office 365 A2 Plan subscription. We use InfoPath form to submit travel request and custom 2013 workflow made in Sharepoint Designer 2013 to route that form for approval.
If we send email using workflow to individual user it works fine.
Problem occurs when we try to send email to group. we can't send email to security group made in office 365, distribution group from exchange online or security group in exchange online.
My question is: is there any kind of group inside Office 365 (Sharepoint Online or Exchange online) that we can send mail to using workflow and if that is possible, how can we do that?
Thank you,
SD
It is simple powershell script and without such small changes it may not work
May be Office365 team might have given you there AD. If users are in your AD then you need t make sure normally users from outside org can send you email on that email address.
Try to use this email address in Office365 and check if that helps. mostly without AD sync it is difficult
Similar Messages
-
Send emails from a csv file (grouping records with the same email addresses)
Writing a script to send emails from a csv which contains record details and email addresses using the Send-Mailmessage cmdlet.
That part is no trouble, however, the csv file contain records that can have the same email address.
Is there a way/method I could send the records with the same email address once instead of sending individual email messages?
Thanks
Data in the csv file
Record number, description, email
1234, Test 1, [email protected]
5678, Test 2, [email protected]
1245, Test 3, [email protected]
4578, Test 4, [email protected]
$data = Import-csv c:\records.csv
ForEach($address in $data)
Send-mailmessage -To $address.emails -from [email protected] -subject "List of records" -Body $data -SmtpServer 192.168.1.1The following code does what you are looking for:
$data = Import-csv c:\records.csv$mx = "192.168.1.1"
$subject = "List of records"
$from = "[email protected]"
$data| Group-Object email|Select-Object Name, @{n='msg'; e={$_.Group| Select-Object -Property "record number", description|ConvertTo-Csv -notypeinformation|Out-String}}|
ForEach-Object {Send-MailMessage -to $_.Name -Body $_.msg -SmtpServer $mx -Subject $subject -From $from}
I also recommend no forcing everything into one line. "One-liner" means "one pipeline" not putting all code on one unreadable line.
Your code should look like this:
$data|
Group-Object email|
Select-Object Name, @{
n='msg'; e={
$_.Group| Select-Object -Property "record number", description|
ConvertTo-Csv -notypeinformation|Out-String
}|
ForEach-Object {
Send-MailMessage -to $_.Name -Body $_.msg -SmtpServer $mx -Subject $subject -From $from
Now we can see the code and see that you are still unnecessarily converting back and forth.
To get the group look at how I did it.
$body=$_.Group | Format-Table |Out-String
Isn't that much easier?
Once you master the pipeline these things will become second nature. In PowerShell it is not necessary to write lots of code most of the time.
¯\_(ツ)_/¯ -
Cannot send email from an iPhone to a Outlook group.
Hi,
My question is simple and I'd like an exactly same answer : Can iPhone users send emails from their iPhone's to one or more groups created in Outlook?
This is my situation: our organization is using iPhone to provide email, calendar, contact, task etc. to some of their employees. We are using Airwatch MDM Agent on user's iPhone because we have an Airwatch server in place. I have an user and she has an iPhone 5 and she has created some groups in Outlook but these groups are not reflected in her Contacts in the iPhone. I have update her phone with the latest update, although I was almost sure that this was not the issue, then I've found some interesting posts on internet saying that this was a known problem for the users with the previous iOS but I thought this might has been corrected with the iOS, apparently not.
Also I've tried ''the trick'' that is posted on several forums with the iCloud but neither so it's working. I am looking for a straight answer, if this works or not on iPhone's?
Thanks,
Sebastian.There indeed ARE apps in the app store that will do what you want. Just search and find the one that best fits your needs.
-
How can i send email from a custom domain connected to gmail on iphone?
Hi there,
I am trying to add a gmail account to my iphone 5S which i have added a custom godaddy email to through pop3 but when i add the gmail account i cant send from the custom domain email.
lets say the account is [email protected] with a [email protected] email attached to it, is there a way of sending emails from my iphone from this address?
I have tried to find other guides but cannot seem to.
thanks in advanceLook in the JavaMail forum on how to create Mime format emails. This allows you to use HTML instead of plain text.
Anthony -
How do I send pictures from iphoto to a group via email instead of to just one individual? I can't type in more than one name or send the pictures to a group.
I had a similar problem in that my wife's iphone 5 could not send pics with imessage. Had to set the settings to default to SMS or whatever. After laboring many hours on the web I coincidentally was on the phone with the internet people to question my internet speed. They changed the router channel, which is something that I am capable of doing myself. After that, the pics go over imessage. My own Iphone didn't have the problem. We are both latest IOS 7.0.6.
-
How do I send an email from an icloud contact group?
How do I send an email from an icloud contact group?
Sorry hgarya,
Unfortunately, it's not possible to pick a group for sending an email to multiple recipients.
With kind regards,
David -
Using send email step in workflow
Hi Experts,
I have a question regarding the send email step in workflow.
We have the Receipient Type as Organizational Object and Expression as &WF_INITIATOR&.
I want to know if the mail will be sent to the SAP email ID (i.e) in SBWP or will be it be sent to the Outlook email ID.
We want to send it to the Outlook email ID of the User. Can you guide us as to how we can do the same.
In some cases, we want to send the notification to both the employee and his manager. Can this be managed through the SEND EMAIL step in the workflow or do we have to explicitly create a method and use a std FM that sends the email to the concerned.
Request your help on the same.
Cheers,
Belinda Clarke>We are getting the pernr of the employee. We can retrieve his email address for the same. So do we need to pass this to a workflow container and then use that workflow container value in the space provided for the email address.
Yes. It is really up to you how you will develop everything. I personally like to get all the data into the workflow container, because it might be handy later in the life. Let's say that you go on with your custom email sending step and add there the code the get the data that you need in the email. It will work perfectly. But let's say that after six months the HR administrators want to get emails with a bit different content from this same workflow. Now you will need do another custom step. But if you had already all the data in the container you can simply add another standard email step and formulate the text with the editor and add the variables from the workflow container. Easy and simple.
So, my advice is that for example add just add some background step to get all the possible data regarding the employees & leave request & managers or whatever. Now you have everything in the container and you can use them in the email(s) - and you can use them in other places too - for example in the work item texts, etc.
Regards,
Karri -
Cannot Send Email from SAP Business One
Hi Experts
I have configured SAP Email Services from the Mailer Service and Customer can send emails all the while,
Now I have an Issue for One User,
Iam using the Same Machine, Same Database with Manager Login, I can send Email from SAP with Attachments
But When I use another Super user the system is not delivering the Email and it Goes to the Sent box (but not delivered)
Have anyone encountered the Issue before
Please hep to solve this issue permanently
Thanks and Regards
Vinodh Kumar MohanHi Vinodh Kumar Mohan,
If the email can be found in Sent box, it must be delivered already.
The problem could be on the email recipient side. It may go to the junk mail.
Thanks,
Gordon -
Unable to send emails from any Apple devices
Since BT made the changes to Yahoo mail i have had problems with sending emails from my ipad and iphone (IOS8). The only way that i can successfully send an email is to log onto my laptop and send from a windows platform. I have checked all of the settings which are correct and im stumped. I am continuing to receive mail so why cant i send mail? I have contacted the BT customer support to be told that they are not trained on ios platforms so they cant help! pretty gobsmacked with that reposnse tbh, anyone have any ideas?
You may want to delete the email account and try setting it up again. Once you have deleted it, re-start your phone.
Set it up manually and do not use the wizard.
It is best to go through settings >mail contacts, calendars > add account… > don’t choose the BT or BTYahoo option, tap the ‘other’ option from the bottom of the list > Add Mail Account and enter the following details:
Name – it can be anything you want, but usually your real name is preferable
Address – your full BT Internet email address
Password – your email account password
Description – this can be used if you have more than one email account on the device but put something like ‘work’ or ‘BT Internet
Press “Next” and allow the verification (this may take a few minutes)
On the next screen it will want you to input incoming and outgoing mail server details:
Tap ‘IMAP’ at the top,
Incoming mail server settings:
Host name: mail.btinternet.com
Username: your full BT Internet email address
Password: your email account password
Outgoing mail server settings:
Host name: mail.btinternet.com
Username: your full BT Internet email address
Password: your email account password
Press ‘next’
Slide the notes and mail to be ‘on’ and press ‘save’ in the top-right
Check your email on the device and see if it is working. Try sending yourself a message and see if it arrives. If messages are not able to send do the following:
Additional setting changes
Go to Settings > Mail, Contacts, Calendars > tap your BT email account > a window will appear, tap on your email address > scroll down to the bottom of the window and tap where it says ‘SMTP’ > tap the primary server (which should be mail.btinternet.com) >make sure the following is on or enabled:
‘Use SSL’ should be ‘ON’
Authentication should be ‘password’
Server port should be ‘465’
Press ‘done’ in the top-right -
I can receive emails, but I cannot send emails. This just started happening. I have an iPhone and I can send emails from my phone fine. It's just not working on my Macbook. Every time I try to send an email it goes straight to my outbox. Can anyone help?
Thank you for heading me in the right direction. I reset my Mail account for Outgoing Mail Server to outbound.att.net:(customer ID)@att.net (instead of smtp.att.yahoo.com, per Apple's online troubleshooting information). I'm not sure what "(Offline)" means when it appears at the end of my Outgoing Mail Server (SMTP)?? In the Advanced box I clicked on "Use custom port: 465" and checked "Use Secure Sockets Layer." Authentication: Password; I have correct User Name and Password put in. After doing all this, when I try to send emails again today, they go directly to the Outbox and sit there.
What's curious is that my first sent email this morning did go out using the Outgoing Mail Server, smtp.att.yahoo.com: (customer ID)@att.net(Offline) but subsequent emails I tried to send with this server were rejected with the message: "Cannot send message using the server smtp.att.yahoo.com (etc.). The SMTP server doesn't support TLS(SSL) on port 587. Verify your account settings and try again." That's when I tried resetting my Outgoing Mail Server to outbound.att.net (etc.), as mentioned above, and was unsuccessful in sending out any further emails. I guess my next step is to contact my email service provider, AT&T, and see if they can help me. Thanks, again, for taking the time to respond and for giving me your input! Much appreciated! -
TS3899 cannot send email from one of my email accounts on my iPad
I am able to receive email on one of my email accounts on my iPad but I cannot send email from that account. I've obviously missed a step in the set up process but do not know what that step might be. Can anyone help? Thanks
iOS: Unable to send or receive email
http://support.apple.com/kb/TS3899http://support.apple.com/kb/TS3899
Can’t Send Emails on iPad – Troubleshooting Steps
http://ipadhelp.com/ipad-help/ipad-cant-send-emails-troubleshooting-steps/http://ipadhelp.com/ipad-help/ipad-cant-send-emails-troubleshooting-steps/
Setting up and troubleshooting Mail
http://www.apple.com/support/ipad/assistant/mail/http://www.apple.com/support/ipad/assistant/mail/
Using a POP account with multiple devices
http://support.apple.com/kb/ht3228http://support.apple.com/kb/ht3228
iOS: Adding an email account
http://support.apple.com/kb/HT4810http://support.apple.com/kb/HT4810
iOS: Setting up an Outlook.com, Hotmail, Live, or MSN email account
http://support.apple.com/kb/ht1694http://support.apple.com/kb/ht1694
Server does not allow relaying email error, fix
http://appletoolbox.com/2012/01/server-does-not-allow-relaying-email-error-fix/http://appletoolbox.com/2012/01/server-does-not-allow-relaying-email-error-fix/
Why Does My iPad Say "Cannot Connect to Server"?
http://www.ehow.co.uk/info_8693415_ipad-say-cannot-connect-server.htmlhttp://www.ehow.co.uk/info_8693415_ipad-say-cannot-connect-server.html
How to Sync Contacts with Your iPad Using iTunes
http://www.dummies.com/how-to/content/how-to-sync-contacts-with-your-ipad-using- itunes.htmlhttp://www.dummies.com/how-to/content/how-to-sync-contacts-with-your-ipad-using- itunes.html
iOS: 'Mailbox Locked', account is in use on another device, or prompt to re-enter POP3 password
http://support.apple.com/kb/ts2621http://support.apple.com/kb/ts2621
eMail Groups - You can use a third party app that many users recommend.
MailShot - https://itunes.apple.com/us/app/mailshot-pro-group-email-done/id445996226?mt=8https://itunes.apple.com/us/app/mailshot-pro-group-email-done/id445996226?mt=8
Group Email - https://itunes.apple.com/us/app/group-email!-mail-client-attachments/id380690305https://itunes.apple.com/us/app/group-email!-mail-client-attachments/id380690305 ?mt=8
iPad Mail
http://www.apple.com/support/ipad/mail/http://www.apple.com/support/ipad/mail/
Configuration problems with IMAP e-mail on iOS with a non-standard SSL port.
http://colinrobbins.me/2013/02/09/configuration-problems-with-imap-e-mail-on-ios -with-a-non-standard-ssl-port/http://colinrobbins.me/2013/02/09/configuration-problems-with-imap-e-mail-on-ios -with-a-non-standard-ssl-port/
Try this first - Reset the iPad by holding down on the Sleep and Home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider - let go of the buttons. (This is equivalent to rebooting your computer.)
Or this - Delete the account in Mail and then set it up again. Settings->Mail, Contacts, Calendars -> Accounts Tap on the Account, then on the red button that says Remove Account.
Cheers, Tom -
Send Email from approval task form
In my reusable workflow, I have added an approval action. Everything works perfectly. What I want is - When approver comes to approval form, he should be able to send notification email to the initiator (From that form) that he has started working on that document.
What I have tried - I have added a button clicking on which will submit the form to initiator.
But it fails. possible reason - when I create a data connection in workflow's infopath form to submit form as email, I am getting following warning
"Domain trust form templates cannot be sent as email attachments. to fix this problem, modify the form option to change the security level of form template to restricted".
I also tried to update status field and wait for it to changes in workflow and send an email from sp designer workflow. it didn't work.
Please help or suggest any other possible way to achieve this functionality (Send Email from approval task form to initiator).Hi mry,
I could reproduce on my SharePoint 2013 on-premise based on your another
post.
Based on the the following article, SharePoint workflow cannot use the InfoPath form in restricted mode which doesn't allow the data connection, but as your image warning message shows sending InfoPath form as mail attachments will need restricted level.
http://msdn.microsoft.com/en-us/library/office/ee526352.aspx
You can consider to send a mail to initiator in "Whe a Task Completes" step when you click button approved/rejected, and construct the current task form link format as follow,
http://sp/_layouts/15/WrkTaskIP.aspx?List=WorkflowTasksListGUID&ID=[%Current Task:ID%]
Thanks
Daniel Yang
TechNet Community Support -
Unable to send email from iPhone or ipad, Unable to send email from iPhone or ipad
Recently, I have become unable to send emails from my comcast email account. I tried uninstalling and reinstalling the account, but get an error (Cannot send. Username or password for Comcast invalid). The username and password are correct, though, as my email works fine on my non-Mac laptop. Any suggestions?
iOS: Unable to send or receive email
http://support.apple.com/kb/TS3899
Can’t Send Emails on iPad – Troubleshooting Steps
http://ipadhelp.com/ipad-help/ipad-cant-send-emails-troubleshooting-steps/
Setting up and troubleshooting Mail
http://www.apple.com/support/ipad/assistant/mail/
Using a POP account with multiple devices
http://support.apple.com/kb/ht3228
iOS: Adding an email account
http://support.apple.com/kb/HT4810
iOS: Setting up an Outlook.com, Hotmail, Live, or MSN email account
http://support.apple.com/kb/ht1694
iPhone, iPad, iPod touch: Microsoft Outlook 2003, Outlook 2007, Outlook 2010 may not display contacts and calendars after sync
http://support.apple.com/kb/TS1944
Server does not allow relaying email error, fix
http://appletoolbox.com/2012/01/server-does-not-allow-relaying-email-error-fix/
Why Does My iPad Say “Cannot Connect to Server”?
http://www.ehow.co.uk/info_8693415_ipad-say-cannot-connect-server.html
Gmail Account Will Not Connect to Gmail Server
http://support.apple.com/kb/ts3058
How to Delete Email on the iPad
http://ipad.about.com/od/iPad_Guide/ss/How-To-Delete-Email-On-The-Ipad.htm
How to Mass Delete Emails from iPhone and iPad Inbox (with video)
http://suiteminute.com/how-to-mass-delete-emails-from-iphone-and-ipad-inbox/
How to delete ALL mail messages from iPhone/iPad in one step
http://www.conferencesthatwork.com/index.php/technology/2014/01/how-to-delete-al l-mail-messages-from-iphoneipad-in-one-step/
How to add, send and open iPad email attachments
http://www.iskysoft.com/apple-ipad/ipad-email-attachments.html
How to Sync Contacts with Your iPad Using iTunes
http://www.dummies.com/how-to/content/how-to-sync-contacts-with-your-ipad-using- itunes.html
Importing a Contact List CSV to the iPad
http://techchannel.radioshack.com/importing-contact-list-csv-ipad-2235.html
iOS: ‘Mailbox Locked’, account is in use on another device, or prompt to re-enter POP3 password
http://support.apple.com/kb/ts2621
iCloud: Create a group and add contacts to it
http://support.apple.com/kb/PH2667
eMail Groups - You can use a third party app that many users recommend.
MailShot - https://itunes.apple.com/us/app/mailshot-pro-group-email-done/id445996226?mt=8
Group Email - https://itunes.apple.com/us/app/mailshot-pro-group-email-done/id445996226?mt=8
iPad Mail
http://www.apple.com/support/ipad/mail/
Configuration problems with IMAP e-mail on iOS with a non-standard SSL port.
http://colinrobbins.me/2013/02/09/configuration-problems-with-imap-e-mail-on-ios -with-a-non-standard-ssl-port/
Try this - Reset the iPad by holding down on the Sleep and Home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider - let go of the buttons. (This is equivalent to rebooting your computer.) No data/files will be erased. http://support.apple.com/kb/ht1430
Or this - Delete the account in Mail and then set it up again. Settings->Mail, Contacts, Calendars -> Accounts Tap on the Account, then on the red button that says Remove Account.
How to delete an email account on your iPad
http://www.shoppepro.com/support/knowledgebase/228/How-to-delete-an-email-accoun t-on-your-iPad.html
Cheers, Tom -
Sending email from different addresses under one account.
Hello,
So, I'm having an issue that's a little bit complicated, and in fact, I don't even know if there is a solution. But, if anyone knows how to do this, I'd greatly appreciatte your help.
So, here's what I'm trying to do.
Right now, I have three different email accounts, an icloud and two gmails. I have both of those gmails set up so that they forward to my icloud account. So, in the mail app on my iphone, I only have my icloud account. I've been trying to reduce clutter by doing this, and it seems to be working pretty well, save for this issue.
The problem I am having is still being able to respond to emails sent to one of those two gmail accounts with the same email address. I.e.-if someone emails me at my gmail account, it's then forwarded to icloud, but I still want to respond from that gmail account using the mail app on my iphone. I'd like to do this without setting adding the two "dead" gmail accounts onto my phone, because everything is more streamlined when I'm only using icloud.
I've been able to do this using iMail on my mac by adding the two gmail addresses to my icloud account in settings, as well as the gmail server. So on my mac, I only have icloud set up in imail, but I can compose emails using my two gmail addresses. I pretty much want to be able to do the same thing on my iphone.
Does anyone know how this can, or even if, it can be set up?
Also, if it can't be done in the native mail app to ios, do you know of any third party apps where something like this would be possible?
Thanks!!1Hi 3s1k,
Thank you for your question.
When he replies to my email and changes the "send From"
to [email protected] and send the email, It will still show that it was sent from @mainDomain.com.
Now, I think the issue is within his Exchange mailbox, his default reply email address is @MainDomain.com.
A:You are right. By our testing. We could just send emails with primary address, but we could receive emails with primary address and second address.
How do I get around this. The client wants to utilize sending email from both domains since he has clients in both domains.
A: If we want to send email with specific email address, we could manually modify the primary email address to the specific domain by Exchange administrator. And the client didn’t use customized email address to send emails.
If there are any questions regarding this issue, please be free to let me know.
Best Regard,
Jim -
Can not send mail from PR Workflow to the approver
Dear all,
I have issues about send mail from PR Workflow to the approver.
Now when user create PR and the corresponding user can receive the workflow items in SBWP.
But no email from the user to approver.
If I assign authorization SAP_ALL to the user that create PR. The approver can recieve the workflow item PR in SBWP and email to their mail
Can you tell me about the authorization that can allow the user to send the workflow item PR in SBWP and email to the approver?
Now user can send mail to external and internal mail and I also configured the mail server in SCOT and can successfully send a mail to users in SO01 by manually creating a message.
Now the approver not receive any email but can receive a workflow item in SBWP
Regards,
PanneeDear all,
Thank you for all suppport, Now I can solve issues.
Regards,
Pannee
Maybe you are looking for
-
My iphone shows up as a camera on my computer but doesn't recognize as a device on itunes
Do any of you know how to fix this?
-
I need to edit out parts of a song to cut it down to two minutes for my daughter's talent show. I went to info/start time and it will cut down one part but only one part. I need to put three parts together. I tried adding duplicates of the song to th
-
How to use GPS with n73?
hihi, just bought n73 couple days ago, i am new to this cellphone thing. can any1 tell me how can i have gps with my n73. like procedures, accessories and softwares i need to get it to work. is there a step by step guide.
-
whats the auto update link in support if its no good for any O/S? maybe except vista.... hello people at CL but xp isn't quite redundant yet and alot more stable than vista. or should i say..the new windows millenium edition. i have a soundcard made
-
How to make print larger without blurring
On my MacBook Pro I am having problems with my print (fonts) being very small (compared to my G4 which was fine). I fixed my desktop print so that my eyes are not too stressed, however, in all my programs, incoming mail, etc. the screens are very sma