Link to home
Start Free TrialLog in
Avatar of MaryC
MaryC

asked on

Internet Mail Address

I have several agents which send an email when a document is created on the web This is sent by the server.
I have set up the configuration document and under mime I have enabled "Lookup Internet address for all Notes addresses when internet address is not defined in document"

I have a Internet address set up in the servers Location document but still get the following return email address:
SSSS-NNN@internet {STA7_Server/Mott_Domain_Ltd.%MOTTDOMAINLTD.}

SSSS-NNN = NT Name
Sat7_Server = Server Name
Mott_Domain_Ltd. = Notes Domain
MOTTDOMAINLTD = Domain name without underscores

Avatar of zvonko
zvonko

Hello Mary,

this bahaviour is controled by GlobalDomain document in servers names.nsf

Open names.nsf on server.
Goto: Server\Domains
Open: GlobalDomain document
Goto: Conversion
Set "AddressFormat" to: AddressOnly
Set "InternetAddressLookup" to: Enabled
Set "LocalPartFormedFrom" to: ShortName
Set "NotesDomainsIncluded" to: None
Set "NotesDomainsPosition" to: LeftOf@
Set "NotesDomainSeparator" to: Dot (Period)


Additionaly use for mail generation the document field "Principal". Into Principal field put InternetAddress of desired sender address FOLOWED by Domain suffix.
E.g.: mailin.address@yourInternet.domain.com@MOTTDOMAINLTD

Define a database to have a mailin address in names.nsf to get responses and undeliverable notifications for mails sent by server.

Good luck,
zvonko

Avatar of MaryC

ASKER

Thanks for your quick response

I had a GlobalDomain document the field Set "NotesDomainsPosition" to: LeftOf@ contained RightOf@ so I changed it.

I have added the field to my document and entered the default value for my desired Internet Address but it has made no difference.
Should the field be computed or editable.

I still get the same syntx as above.  i did have two GlobalDomain documents but I have deleted one now.

Can you suggest any thing else

Regards

Mary
Left or right does not make much difference because you do not place any NotesDomain into internet address.

But your problems can be caused by duplicate GlobalDomain documents. So, now you need two things: patience and Router task and SMTP task restart.

Goto Domino server console and enter:
TELL SMTP QUIT
TELL ROUTER QUIT
LOAD ROUTER
LOAD SMTP

Perhaps you have no SMTP task running on this server to receive SMTP mails, then of corse do not start it. To see wheter it was present, look with:
SHOW TASKS

To make this field Principal working, make it: Computed
For the value enter the address string as proposed above.

Tell me how it works.

So long,
zvonko

Mary, I have one more question about first line in your question: when a web user complete a web form from where is your mail sent; from $$Return or from a WebQuerySave?

Or do you have a button with a formula behind the button to send the mail?

In either cases is as senders adress (From item) normaly the Design signer used. I suppose this is normaly you. So what do I miss in this scenario?

Uuups, when in web forms, then field of type Computed are of no use for formulas until you have not enabled the form property: GenerateHtmlForAllFields
So either enable this form option, or make this Principal field editable, give it a default value with desired internet address and give to the field html attribute: "type=hidden"

by the way: which Domino server release are we talking about :-)

and what platform; perhaps WinNT?

Avatar of MaryC

ASKER

Hi zvonko

I hope you had a good weekend

To answer you last question first I an running Domino R5.0.8 on Windows NT v4 SP6

I now have the mail sent from a WebQuerySave I have tried every thing you suggested.  I had expected it to use the id of the person who signed the form but it is using the sever to sen the mail

Can you offer any further help

I'll do my best :-)

Tell me please where the mail send command is located and how it is triggered.

If this db is a small test db, then you can zip and send it to zp@arcor.de

Sorry Mary,

I red wron your last posting. You wrote already you use WebQuerySave :-)

Please give here the agent text of this agent (or send it to me, I will extract relevant lines for the experts)

Anyways, as soon as you invoke an agent is agent signer the senders email address. The Principal field is not circumventing this, it is only a separate feature for responses. But sender stay the sender. Full stop :-)

Who is the last one who saved this agent? Look into agent property info. Are you developing with servers id file on server machine?


Avatar of MaryC

ASKER

I have sent you an email with the DB attached

Thanks
ASKER CERTIFIED SOLUTION
Avatar of zvonko
zvonko

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of MaryC

ASKER

Thanks

I will check that out.  Today I am in meetings so will get back to you tomorrow

You have worked hard for your points

MaryC
it is not only the points: it's the nursing syndrome :-)

I was really astonished that on my side too the mails was coming like you described. Therefore I had the interest to get my world picture right again :-)

Avatar of MaryC

ASKER

Thanks zvonko It works
Avatar of MaryC

ASKER

Thanks zvonko It works
Avatar of MaryC

ASKER

Response was clear quick and precise Thanks
I am happy I could help. I hope next time too :-)

So long,
zvonko