Send email from workflow using a variable in the to field in SharePoint Online (Office 365)

I have a simple sharepoint workflow that sends and email to users.  I know that the mail portion works because I can put a user's email address in the to: field and it sends fine.  If I use a string variable with the email address, I get a workflow
error.
Simple steps to repro for me:
Create a new workflow in SPD  (I have tried a list workflow and site workflow)
Create a workflow variable named email.
Set the variable to an email address where the user is in the site
Send email and do a variable lookup to the email variable just set.
The workflow just hangs in this scenario
I do get an error:
Retrying last request. Next attempt scheduled in less than one minute. Details of last request: HTTP BadRequest to https://[tenant].sharepoint.com/_api/sp.utilities.utility.SendEmail
Correlation Id: 568e9c68-ea75-d057-ab9f-d86f6cae3021 Instance Id: 9cc721a4-78e6-456f-812b-67351dfc9710
The e-mail message cannot be sent. Make sure the e-mail has a valid recipient.
Retry now

Simple answer... When I used the variable, I marked it as a string.  There is an email address setting.

Similar Messages

  • Cannot send email from my iPhone or iPad. The server rejects a recepient for no apparent reason.  The recipient is not new.  This issue happens on reply or reply to all or froward; not a new email. What is happening?

    Cannot send email from my iPhone or iPad. The server rejects a recepient for no apparent reason.  The recipient is not new.  This issue happens on reply or reply to all or froward; not a new email to the same recepient. What is happening?

    I talked with a tech today and he said I cloud is having problems which should be resolved shortly.
    In the mean time I used the .me smtp server settings which allowed me to send mail.

  • How to Get user profile properties in provider -cloud hosted app in sharepoint online - office 365 using REST API?

    How to Get user profile properties in provider -cloud hosted app in sharepoint online - office 365 using REST API?
    any idea?

    Hi,
    From your description, my understanding is that you want to get user profile properties in provider-hosted app in SharePoint online using REST API.
    Here is sample code for getting user profile properties:
    http://www.vrdmn.com/2013/07/sharepoint-2013-get-userprofile.html
    Here is a blog below about accessing data from the provider-host apps:
    http://dannyjessee.com/blog/index.php/2014/07/accessing-sharepoint-data-from-provider-hosted-apps-use-the-right-context/
    Best Regards,
    Vincent Han
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • Is possible to site mailbox email address with different domains in sharepoint online - office 365

    Can I set site mailbox email address with different domains in sharepoint online - office 365?
    For eg I have two dns link with office 365 account - abc.com, xyz.com
    So can i set site mailbox email according  using powershell like follwoing
    New-SiteMailbox –DisplayName "test" -Name "[email protected]" –SharePointUrl $NewlyCreatedsiteurl
    New-SiteMailbox –DisplayName "test" -Name "[email protected]" –SharePointUrl $NewlyCreatedsiteurl

    Hi Biraj,
    From your description, you would like site mailbox to have two email address.
    Since the issue is related to SharePoint online and Exchange online, I'd recommend you contact online support engineer for sufficient resource and more assistance. For your convenience:
    http://community.office365.com/en-us/f/154.aspx
    In addition, I find some information that might be relevant for your reference:
    Quotes from
    https://support.office.com/en-sg/article/Prepare-for-using-site-mailboxes-in-Office-365-6381daa5-3d98-4629-972d-d19e1dc48c1b
    Can I rename a site mailbox?            
    The display name of a site mailbox is the SharePoint team site display name. If you change the display name of the site in SharePoint, the display name also changes in Outlook. However, the site email address won’t be changed.
    Regards,
    Rebecca Tu
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • How to get sharepoint online (office 365) data in cloud/windows azure (provider) hosted app using Javascript?

    How to get sharepoint online (office 365) data in cloud/windows azure (provider) hosted app using Javascript?
    I wish to retrieve sharepoint online data in html page (hosted in windows azure) using javascript and then need to play with AngularJS

    Hi,
    According to your description, you might want to get data from Office 365 SharePoint Online(also known as host web) and pass to the Provider Hosted App which is hosted
    in Windows Azure site.
    I would suggest you take a look at the links below about accessing data from the host web
     for a quick start:
    https://msdn.microsoft.com/en-us/library/office/fp179927(v=office.15).aspx#SP15Accessdatafromremoteapp_Codeexample
    http://dannyjessee.com/blog/index.php/2014/07/accessing-sharepoint-data-from-provider-hosted-apps-use-the-right-context/
    Aother sample solution for your reference:
    https://code.msdn.microsoft.com/SharePoint-2013-Get-the-0ec36bb6
    Best regards
    Patrick Liang
    TechNet Community Support

  • How to install app using powershell in sharepoint online - office 365?

    How to install app using powershell in sharepoint online - office 365?

    Hi
    check this similar post
    https://social.msdn.microsoft.com/Forums/sharepoint/en-US/1f0cd45a-00e1-4452-bafe-83c6ee3a59db/can-i-deploy-a-sharepointapp-to-office-365-using-powershell?forum=appsforsharepoint
    Romeo Donca, Orange Romania (MCSE, MCITP, CCNA) Please Mark As Answer if my post solves your problem or Vote As Helpful if the post has been helpful for you.

  • Any way to get all users's user profile proeprty using CSOM c# for sharepoint online - office 365?

    Any way to get all users's user profile proeprty using CSOM c# for sharepoint online - office 365?

    Since CSOM provides methods for operations related to people per
    user scope, you could retrieve all site users first using SP.Web.siteUsers
    property. and then use SP.UserProfiles.PeopleManager.getUserProfilePropertyFor
    Method to get property.
    [custom.development]

  • Cannot send email from iPhone using Outlook account

    I cannot send or reply to emails using my att.net email account. I always get the message, "The sender address was invalid". I can receive emails from this account.

    I am having the same problem. Any suggestions would be appreciated!

  • Unable to send email from Mac using Outlook for Mac 2011

    I have a single user that cannot send email from the Mac after migrating to Exchange 2013 on-prem. I myself am on the same Exchange server and am using a Mac with Office 2011 and am able to send/receive emails without any issues.
    When the user sends an email it goes to the sent mail folder and syncs with the server and can be seen on a windows machine running any other version of Office (same in OWA). I've logged the user in on my Mac and blown away my profile and seeing the same issue.
    Not sure if this narrows my issue down to the Exchange server receiving the send request from a Mac or if it's some setting in Outlook on the Mac?
    I do not see anything in the logs on the server and have not seen any error son the Mac.
    Any thoughts as to where my issues is? 

    Hi,
    According to your description, I find that there is a single user cannot send email.
    I suggest using Outlook on Windows machine and sending emails via this single user to verify whether the emails can be sent.
    If the single user can send email via Outlook on Windows machine, it seems an issue on the Mac side.
    I suggest asking Outlook for Mac Forum for help so that we can get more professional suggestions.
    For your convenience:
    http://answers.microsoft.com/en-us/mac/forum/macoutlook?tab=Threads
    If can't send emails in Outlook, it seems an issue on the single user side.
    I suggest trying to access the single user's mailbox via OWA to verify whether the mailbox has been migrated completely.
    Thanks
    Mavis
    If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Mavis Huang
    TechNet Community Support

  • Send email from SAP using SMTP-AUTH

    Dear all,
    I would like to send email from SAP to external SMTP server using authenticated method.
    Can I set up this scenario with SAPConnect?
    Or are there any other methods to set up this scenario?
    Thanks, Regards,
    Fendhy

    Hi,
    You dont need anu authentication to be set :
    Just follow below steps :
    Simple steps to do the SMTP configuration :
    1. Use transaction SCOT
    3. Double Click on SMTP
    4. You will get a window and fill in description
    5. Tick the "Node in use" box
    6. Enter the hostname of the email exchange server
    7. Mail port will be 25
    8. Click on the button next to Internet called "Set"
    9. You will get another window, in the "address area" box, enter *
    10. Click the green check button to exit the second window
    11. Click the green check button to exit the main window
    12. From top menu: Settings -> Default Domain
    13. in the small box that appears enter the domain name which is the last part after the @ sign. The domain name would be company.com
    14. You need to define a job to process the email, from top menu: View -> Jobs
    15. From top menu: Job -> Create
    16. Enter a name
    17. Click on "INT" in the list then "Schedule job" button
    18. Enter start date and time, then click on "Schedule Periodically" button
    19. Enter something like every 10 minutes.
    20. the configuration is now complete. To test it, you need to have an email defined in your user id properties. Use SU01 for that.
    21. Use transaction SO00
    22. Put Title, and text in the body, then enter your email address below, the recepient type would be "internet address"
    23. After a maximum of 10 minutes you should get the email address.
    Regards,
    Nirmal.K

  • How do I send Emails from Iphone using mobile me aliases?

    I am trying to send Emails from my iPhone whilst using the mobile me Email aliases in the 'From:' field. I can't seem to find instructions on how to do this.

    Yep. You can set up MobileMe as a regular IMAP account and specify the "from" address that way; however, your emails will show as "From [email protected] on behalf of Your Name" in the recipient's inbox. I think it kind of defeats the purpose of sending from an alias if it's just going to display your user ID.

  • Sending email from forms using 'from'

    I'm trying to send an email from forms. It goes well, but I like to use the 'from' field from Outlook. How can I use it in OLE? I have searched everywhere, but can't find it.
    It seems to me it is something like the way you do with BCC and CC options, but I haven't found a way to do the same thing with the From field. Can anyone help?
    Thanks,
    Pauline Kooy

    Fabrizio,
    Are you just sending the Line Feed character 'CHR(10)"? I typically send the Carrage Return character 'CHR(13)' as well. I'll create a variable called CRLF and assign the Carrage Return and Line Feed characters to this variable. Then reference the CRLF variable when I want to embed a new line.
    For example:
    DECLARE
       crlf         VARCHAR2(2) := chr(13)||chr(10);
       v_msg_body   VARCHAR2(2000);
    BEGIN
       v_msg_body := 'lots of text here'||crlf;
    END;Hope this helps.
    Craig...

  • Sending emails from workflow to Outlook

    Hi,
    I have a couple of questions regarding generating emails to MS Outlook:
    1.  Do we have the ability to use RTF format for emails generated out of SAP Workflow to MS Outlook?  The default is standard text.
    2.  Do we have the ability to set a follow-up flag (i.e. date/time) on email generated from SAP Workflow to MS Outlook?
    Any help would be greatly appreciated... thanks!

    Hi,
    I will try to answer your questions
    1. Do we have the ability to use RTF format for emails generated out of SAP Workflow to MS Outlook? The default is standard text.
    Email can be send to MS Outlook using SAPConnect Interface.
    You need to call the Task TS99700021 for execution. Using this Task message can be predefined.
    Otherwise there is also possibilty to use ABAP Objects to trigger the mail out to MS Outlook.
    Note : SAPConnect needs to be configured as prelimary requirement and also Mail Rely needs to be set to send mails to Exchange Server or other mail server,
    2. Do we have the ability to set a follow-up flag (i.e. date/time) on email generated from SAP Workflow to MS Outlook?
    We have handled the situation by providing Time Stamp information using Custom Code and Tables.
    I hope this will help.
    Regards
    Ajay

  • Can't Send Email from Iphone Using Pop Account

    I have check our host names, ports, user name, passwords etc (all the account mail settings are OK) for incoming and outgoing servers. I can receive email fine but can't send them back out through the outgoing server. I am using the identical settings that I used in my Treo (which sent out emails fine). Upon sending an email the error message I get on my iphone is: " The recipient [email protected] was rejected by the server." I've noticed that I can send an email to "myself" (from the iphone) and it will show up on the in my email box, but email sent to other addresses will generate the above message. I've noticed, too, that I have to keep resetting the "Authentication" to "Password" (under advance settings) because it mysteriously resets itself to "MD5 Challenge-Response". The setting should be set to "Password" however. We are using a FirstClass email system. Sending email via the iphone by way of .mac, yahoo and gmail works fine (no mysterious rest of the "Authorization" settings either) .
    It most me something obvious, but I can't see it.
    I would really appreciate some help.

    You might find this discussion helpful:
    http://discussions.apple.com/message.jspa?messageID=4976383#4976383

  • How can I send email from iPad using someone else's server

    I use the Netspace server but I'm visitng a friend and using her optusnet server for the Internet, however I am unable to send email, even though I can receive it

    Critters222-
    I assume Netspace is your Internet provider.  They may have their mail server set up to only work when you are accessing the server locally from their domain.  I suggest you contact Netspace and ask them what you need to do to send E-Mail to them from other domains.
    Have you been able to send E-Mail from other places?  If so, there might be a firewall problem in Optusnet.  In that case, they may be best able to advise you. 
    Fred
    Message was edited by: Fred*M.

Maybe you are looking for