puneet.verma
28th July 2011, 12:23
Hi,
I'm configuring emessage connector but I'm unsure of the Service Provider Parameters specifically the <Mail From> domain. I'd like to have some examples for this parameter.

Thanks

mark_h
28th July 2011, 15:52
Search on emssage connectors. I know there are some posts with sample code. Not sure if that is what you are looking for. NPRao linked in the help documentation on the board.

VishalMistry
29th July 2011, 08:08
Hi,
I'm configuring emessage connector but I'm unsure of the Service Provider Parameters specifically the <Mail From> domain. I'd like to have some examples for this parameter.

Thanks

Hi,

We are using eMessage connector. I am attaching screen shots. Hope it helps.

Vishal

puneet.verma
30th July 2011, 14:27
Hi Vishal, firstly thanks for your documented response, I have this setup already in place but still I'm unable to send mails. I have a few questions which might help me to corretly set this up.
1. When the mail is sent through emessage connector, what's the sender's name, subject and content of the email.
2. What mailbox does emessage connector use for sending the email ?
3. How can I configure my own sender's name (email id), subject and content ?


Regards,
Puneet

VishalMistry
1st August 2011, 07:16
Hi Vishal, firstly thanks for your documented response, I have this setup already in place but still I'm unable to send mails. I have a few questions which might help me to corretly set this up.
1. When the mail is sent through emessage connector, what's the sender's name, subject and content of the email.
2. What mailbox does emessage connector use for sending the email ?
3. How can I configure my own sender's name (email id), subject and content ?


Regards,
Puneet

Hello Mr.Punit,

*There are two ways to send emails using eMsg connector. One using SMTP in non interactive mode and other through Outlook adapter. When you use SMTP connector, you can specify in your code, what should be the from id and "from name" and it does not use any local mail profile.
*If you use Outlook adapter in your code, your local mail profile will be used and the system will automatically use the default mail account of outlook as Sender. Also mails you send using outlook will appear in Sent Items folder of your local mail profile.

I am attaching script of my session. In my program script, I have used SMTP connector in non-interactive mode. Hope it helps.

Vishal

puneet.verma
1st August 2011, 13:47
Hi Vishal,

I've configured two devices for outlook and smtp. However while using the outlook device I get a mail from system administrator
"Your message did not reach some or all of the intended recipients.
None of your e-mail accounts could send to this recipient."
I have also defined both the sender and recipient in the address book session.
For SMTP I created a scriprt from the one provided by you. While debugging I did not get any errors but the mail was not sent. Is there any additional configuration required on the ERP server for this ? Do I need to setup a new mailbox ? Infor told me to use the ERP server name as the <mail from> domain in the Provider parameters, but you have defined your company domain and it's working for you !

VishalMistry
2nd August 2011, 06:54
Hi Vishal,

I've configured two devices for outlook and smtp. However while using the outlook device I get a mail from system administrator
"Your message did not reach some or all of the intended recipients.
None of your e-mail accounts could send to this recipient."
I have also defined both the sender and recipient in the address book session.
For SMTP I created a scriprt from the one provided by you. While debugging I did not get any errors but the mail was not sent. Is there any additional configuration required on the ERP server for this ? Do I need to setup a new mailbox ? Infor told me to use the ERP server name as the <mail from> domain in the Provider parameters, but you have defined your company domain and it's working for you !

Hi Mr.Punit,

As you would have seen in my code, I am not fetching recipient from address book defined in ERPLn, but I use the e-mail id defined in addresses session, and this address in-turn is linked to business partner.

Also, we have a proxy mail server, which does not require any authentication and I use SMTP service of this server. There is no extra configuration done apart from this.

Vishal

puneet.verma
3rd August 2011, 06:49
Hi Vishal,

Thanks for all your inputs. Infor has validated the application setup for emessage connector, there is some issue with the mail server blocking these mails.

I'm attaching the screenhots of the setup for future reference.

VishalMistry
4th August 2011, 08:41
Hi Vishal,

Thanks for all your inputs. Infor has validated the application setup for emessage connector, there is some issue with the mail server blocking these mails.

I'm attaching the screenhots of the setup for future reference.

Hello Punit,

One possible cause (which I faced initially in our setup too) might be your mail server is treating the e-mails generated through eMsg connector as SPAMs. There must be some feature in you mail system where you can specify IP address of the ERPLn application server which is generating mails, which in-turn will allow messages from particular IP address and will not consider as SPAMs.

Regards,
Vishal

MilindV
16th January 2017, 12:12
Hi All,

Could you please help me with issue while setting up Device for sending mail in LN 10.4?

Refer attached file for device set up and CMF set up.
With this set up I get error message in my mail box Refer attached file 'Capture'.

It will be of great help, if you could provide your inputs.

Thank you very much in advance.

Regards,
Milind