Sending email in Sharepoint JSOM

Imekamilika Ilichapishwa Miaka 5 iliyopita Kulipwa wakati wa kujifungua
Imekamilika Kulipwa wakati wa kujifungua

Project skills required: Sharepoint, JSOM

I'm able to send out emails using JSOM on Sharepoint Online, but when I transfer over to my client's environment, I get "access denied". Client told me that code was trying to access the wrong mail server at another location.

Can you help me figure the following:

1. Provide for me code samples on how to use "IsEmailServerSet" method.

2. Provide for me code sample on how to specify the domain for the mail server to connect to.

My original question on Stackoverflow:

[login to view URL]

Additional Question
1) Noob question from myself... in my codes I did not specify the "From" address. Does the "From" address impact the mail server that is used to send the mail?

Attached...
1) On my client's environment, this dialog pops out asking for credentials when i tried sending a mail

Sharepoint

Kitambulisho cha Mradi: #17016178

Kuhusu mradi

20 mapendekezo Mradi wa mbali Ipo mtandaoni %project.latestActivity_relativeTime|badilisha%

Imetuzwa kwa:

haibanhxeo

I have exp on email sending of JSOM and have article on Linkedin, you can see on my link and if any question, I can explain more about the function. [login to view URL] Zaidi

$166 USD kwa siku 3
(Maoni 1)
2.7

20 wafanyakazi huru wanazabuni wastani wa $164 kwa kazi hii

bdrudra

"" SharePoint Expert "" Hello there, Hope you are doing great !! We are a small but excellent team of SharePoint and .Net developers. We have more than 6 years of experience in SharePoint development, migratio Zaidi

$200 USD kwa siku 2
(Maoni 35)
5.9
akhileshgandhi

Hello, I am Microsoft certified SharePoint developer and have 15+ years of experience working with Microsoft and Sandisk in US. I can develop, customize, integrate & migrate your SharePoint portal. Have worked on JSO Zaidi

$222 USD kwa siku 2
(Maoni 15)
5.4
jdtech2214

Hello Sir, I have more than 7 years of experience in SharePoint/Office 365 Development and Administration. I can definitely help you to resolve the issue which you are getting. I have some questions for you. Lets di Zaidi

$155 USD kwa siku 2
(Maoni 7)
4.8
PSSPL2000

Hello There, I am extremely interested to work on this assignment as I faced similar issue from Workflow which I fixed. Before I could recommend a solution - I would like to connect with you for a quick conferen Zaidi

$250 USD kwa siku 3
(Maoni 4)
4.9
erdikudu

Do you want to send email what event happened? Are you going to trigger sending email with button or another events?

$155 USD kwa siku 3
(Maoni 10)
4.4
PghProProgrammer

Hi there, this issue looks very interesting. I have previously worked on something similar. I am pretty sure that I will be able to help you out. I am not going to charge you a lot because I like working with SP and fi Zaidi

$88 USD kwa siku 3
(Maoni 1)
1.6
dishavora

Dear Sir, I have read your job and I can provide you with the skills you require. I use to work to time lines and meeting clients' expectations with prompt communication. I have got more than 8 years of experien Zaidi

$155 USD kwa siku 3
(Maoni 2)
0.0
lcsilvabr

I am sharepoint specialist

$222 USD kwa siku 4
(Maoni 0)
0.0