exchange-server


Email Signatures in Office365


I want to build a email signature application . In that these are the main functionalities
a) Display a list of email signature templates
b) Customer will select any one of the template and will modify the text
c) Customer will add that signature to their office365 account by clicking on confirm button
Here my requirement is i want to know how to generate a email signature to the office365 account through API in C# code?
Collection<PSObject> psresult;
using (Runspace myRunSpace = RunspaceFactory.CreateRunspace())
{
myRunSpace.Open();
PowerShell powershell = PowerShell.Create();
powershell.Runspace = myRunSpace;
using (powershell)
{
powershell.AddScript("$Username = 'username'; $Password = ConvertTo-SecureString 'password' -AsPlainText -Force; $cred = new-object -typename System.Management.Automation.PSCredential -argumentlist $username, $password; $Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri 'https://outlook.office365.com/powershell-liveid/' -Credential $cred -Authentication Basic -AllowRedirection; Import-PSSession $Session; Set-Mailboxmessageconfiguration -identity 'user' -signaturehtml 'SignatureInHTML' -autoaddsignature $true ; Remove-PSSession $session");
psresult = powershell.Invoke();
}
powershell = null;
myRunSpace.Close();
}

Related Links

EWS attachment id vs attachment contentid
Get appointments for all rooms
EWS Edit Attachments in a Forward Email
Exchange web services API - Get all mailboxes
exchange server: how to check database of specific mailbox through exchange shell
Implementing Provision on Exchange ActiveSync client
How to Capture Meeting-Created Event in MS Exchange 2013
KQL Syntax using a variable - Exchange 2013
Detecting calendar-event mail items in Office365 REST Mail API
Exchange Server - Get CASMailbox - Parameters
Accessing all email on Exchange Server
Adding a user to a specific GAL in a multitenant exchange environment
EWS appointment time intervals
Facing issue in setting follow up for email
Get Complete User List in Microsoft Exchange
Exchange Managed API: Get Resources List of an appointment

Categories

HOME
plesk
blast
gaming
shinyapps
dafny
ews
cryptography
gallery
openflow
drag-and-drop
azure-mobile-services
firebase-dynamic-links
gtk
clickable-image
driver
fullcalendar-scheduler
freertos
bundler
squirrel-sql
texas-instruments
fresco
synthesis
web-deployment
rpmbuild
gravity
raml
bluemix-mobile-services
maven-surefire-plugin
sybase-ase
sipp
opentext
tracing
python-appium
multi-dimensional-scaling
miniprofiler
bonita
monitor
source-insight
autodesk-model-derivative
tightvnc
argv
seafile-server
knights-tour
rails-postgresql
textmate2
sbjson
section508
photoswipe
lightning-workbench
renderman
sigsegv
sequence-diagram
htmlspecialchars
perl-data-structures
finder
java-2d
streamwriter
visual-studio-monaco
nvda
right-to-left
adp
powerpoint-2013
timestamping
facebook-ios-sdk
gravatar
godeps
swagger-maven-plugin
algebraixlib
wicked-gem
shoes
quercus
microsoft-expression-web
configurable-product
cout
angular-ui-select
distributed-r
stripe.net
forio-contour
grails-2.3
hints
live-wallpaper
getproperty
litespeed
drawimage
glassfish-esb
qt-mobility
cewolf
jmenu
android-2.1-eclair
cleartype
spring-modules
watchpoint
rendering-engine
community-server
error-detection

Resources

Database Users
RDBMS discuss
Database Dev&Adm
javascript
java
csharp
php
android
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App