I use the SharePoint 2010 VHD from Microsoft and my e-mail doesn’t seem to work and I’m rather new to SharePoint 2010.
I tried to do the following. In SharePoint Designer I created a Workflow and of the action involved sending an email to the initiator of the workflow.
I received the following error message in my workflow history:
“The email message cannot be sent. Make sure the outgoing e-mail settings for the server are configured correctly.”
In my Central Administration I have the following mail settings:
Outbound SMTP Server: demo2010b.contoso.com
From Adress: administrator#contoso.com
I also started the Exchange Server in Hyper-V but still didn’t work.
I didn’t change anything in the Settings.
Any ideas on how to make it work?
Thanks in advance.
Can you test basic SMTP and network connectivity between the two VMs? Assuming telnet client is installed on demo2010a, try (from demo2010a):
telnet demo2010b.contoso.com 25
or even
ping demo2010b.contoso.com
Related
I'm trying to setup an exchange server in the following configuration:
Server can receive emails from outside (internet).
But in order to view the emails, or configure Outlook, require to be on the internal network [or VPN].
Any suggestions are appreciated.
I'm setting up an Alfresco AWS instance and trying to configure inbound email.
As per the documentation I've configured it, hosted the Alfresco mail server on port 1025, set up an iptable rule to forward port 25 --> 1025, set up an folder in Alfresco with the alias 'dropoff' and added my work email as an allowed user for sending emails. I've also ensured all the ports are open on the EC2 instance
So far so good. If I test everything from my local computer with telnet:
helo mywork.com
mail from:myname#mywork.com
rcpt to:dropoff#alfresco.mywork.com
data
From: adinihan#mywork.com
Subject: test mail from command line
this is test number 1
sent from linux box
.
Then it works. I look in the Alfresco folder and there's the test email document. However, if I use Gmail and sign into myname#mywork.com and send an email through Gmail, then it doesn't work. It sends alright and there's nothing in Alfresco logging, however the document just never appears in the Alfresco folder. The from/to address is the same as the telnet command's one.
Since I can telnet from my local computer to the instance I assume it's not an issue with ports on the EC2 instance. Why would telnet work but sending it via Gmail not?
EDIT: got an email back from Google about an hour after I sent it with the error message TLS Negotiation failed: generic::failed_precondition: starttls error (0): protocol error
EDIT 2: here are my inbound emai settings in the global properties file
# Inbound #
email.inbound.unknownUser=anonymous
email.inbound.enabled=true
email.server.enabled=true
email.server.hideTLS=false
email.server.enableTLS=true
email.server.requireTLS=false
email.server.port=1025
email.server.domain=alfresco.amritmro.com
imap.server.enabled=true
imap.server.port=1143
imap.server.host=0.0.0.0
I am able to send email using my gmail account from my grails application but when I use MS exchange server account I am getting this error
Message: Mail server connection failed; nested exception is com.sun.mail.util.MailConnectException: Couldn't connect to host, port: smtp.exg6.exghost.com/, 25; timeout -1;
Configuration I used is :
mail {
host = "smtp.exg6.exghost.com"
port = 25
username = "xxxx"
password = "xxxx"
props = ["mail.smtp.auth":"true",
"mail.smtp.socketFactory.port":"25",
"mail.smtp.socketFactory.class":"javax.net.ssl.SSLSocketFactory",
"mail.smtp.socketFactory.fallback":"false"]
I am not sure what configuration to use. I tried changing port to 465 & 993 but that didn't work too. Please help
There are several things wrong with your setup. First of all, you are submitting mail to a Microsoft Exchange server (presumably), not Outlook. Outlook is a mail client and only provides end user functionality by connecting to the same server that you are trying to get the Mail plugin to connect to.
Your host name must be a valid Internet DNS host name -- therefore it must be "smtp.exg6.exghost.com". This might be all you have to do depending on the submission/relay policies in your SMTP server. Most likely you need to read on.
The SMTP protocol supports authentication and security for mail submission (new message injection) using either SSL or SASL. If you are using SSL, the default port to connect to is 465 (SMTPS port). If you are using SASL, then most servers are configured to accept new mail with authentication on port 587 (submit service port). Most SMTP servers will not accept mail submission on port 25.
In your case it looks like you are trying to connect with SSL, so you probably want to configure it using the SMTPS setup. To make sure that you have a proper setup, use a mail client like Thunderbird to try to make an SMTP connection to the server. It actually has a discovery algorithm in it that will try the common setups and report success when it has found one. Once you know what the connection parameters are, then you can proceed with configuring the Mail plugin.
I finally got this working. Turns out Microsoft provide a separate API / web-services to send email and perform all other mail related operations. This API gives developers programmatic access to Exchange Online, Exchange Online as part of Office 365, and versions of Exchange starting with Exchange Server 2007 Service Pack 1 (SP1). Click here for details.
exg6.exghost.com is host for Exchange Server 2007
And I am not sure but I think Exchange server 2007 and onwards don't use SMTP.
I am setting up the email option on sql server 2012 in a windows azure cloud Virtual Machine. The email is not working and im getting the following error :
Error,15,The mail could not be sent to the recipients because of the mail server failure. (Sending Mail using Account 2
(2012-07-02T11:13:17).
Exception Message: Cannot send mails to mail
server. (The remote certificate is invalid according to the validation
procedure.).),3152,5,,7/2/2012 11:13:17 AM,sa
07/02/2012 11:12:05,,Error,14,The mail could not be sent to the recipients because of the mail server failure. (Sending Mail using
Account 2 (2012-07-02T11:12:05).
Exception Message: Cannot send mails
to mail server. (The remote certificate is invalid according to the
validation procedure.)
Should I have an end point 25 on my vm ? What else could cause this error ?
Looks like there is an issue with the outbound stmp server you are trying to use. Is this also hosted in Windows Azure or an external provider somewhere? In both cases, make sure they allow inbound, authenticated connections and on what port. There shouldn't be any blocks on outbound connections on your Windows Azure virtual machine, so odds are the problem is where the email server is hosted.
Has anyone figured out a way to use matlab to send email from a corporate microsoft exchange account w/o using activex? I found a solution that uses activex here, but unfortunately I don't have outlook installed on the machine that I want to send emails from.
I'm assuming that the corporate MS Exchange server and your matlab computer/server are on the same network/subnet. Like all email servers, MS Exchange supports SMTP protocol. You should be able to sending using standard SMTP libraries. I googled and found this simple example
http://www.amirwatad.com/blog/archives/2009/01/31/sending-emails-with-matlab/
Only issue I can see you running into is that the exchange server might now be open to relaying messages. Two options in that case are, determine if you need to authenticate, or ask for the exchange admin to provide your matlab computer/server with a "open relay connector" just for your computer (which further means you probably will have to have a static IP on that matlab computer).