Solved

Internet Mail Address

Posted on 2002-03-22
17
197 Views
Last Modified: 2013-12-18
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

0
Comment
Question by:MaryC
  • 10
  • 7
17 Comments
 
LVL 10

Expert Comment

by:zvonko
ID: 6888336
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

0
 

Author Comment

by:MaryC
ID: 6888956
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
0
 
LVL 10

Expert Comment

by:zvonko
ID: 6889050
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

0
 
LVL 10

Expert Comment

by:zvonko
ID: 6889192
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?

0
 
LVL 10

Expert Comment

by:zvonko
ID: 6889204
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"

0
 
LVL 10

Expert Comment

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

and what platform; perhaps WinNT?

0
 

Author Comment

by:MaryC
ID: 6893662
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

0
 
LVL 10

Expert Comment

by:zvonko
ID: 6893722
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

0
What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

 
LVL 10

Expert Comment

by:zvonko
ID: 6893771
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?


0
 

Author Comment

by:MaryC
ID: 6893904
I have sent you an email with the DB attached

Thanks
0
 
LVL 10

Accepted Solution

by:
zvonko earned 200 total points
ID: 6894625
I got the same effects as you got: mails are sent always with servers email address

This changed when the agent no more was simple action or formula.
If the agent is LotusScript, then it works as desired.
Here the code for the agent doing same as your simple action:
Sub Initialize
     Dim session As New NotesSession
     Dim doc As NotesDocument
     Set doc = session.DocumentContext
     doc.Subject = "Shared Agent"
     doc.Principal = "Workflow Domino@yourDomain"
     Call doc.Save(True, False)
     doc.Form = "FeedbackForm"
     'Call doc.Send(True, "xxx@yyy.com")
     Dim recipients (1 To 2) As String
     recipients(1) = "xxx@yyy.com"
     recipients(2) = "aaa@bbbb.com"
     Call doc.Send(True, recipients)
End Sub

Good luck,
zvonko

0
 

Author Comment

by:MaryC
ID: 6895896
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
0
 
LVL 10

Expert Comment

by:zvonko
ID: 6895964
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 :-)

0
 

Author Comment

by:MaryC
ID: 6898930
Thanks zvonko It works
0
 

Author Comment

by:MaryC
ID: 6898942
Thanks zvonko It works
0
 

Author Comment

by:MaryC
ID: 6898949
Response was clear quick and precise Thanks
0
 
LVL 10

Expert Comment

by:zvonko
ID: 6899012
I am happy I could help. I hope next time too :-)

So long,
zvonko
0

Featured Post

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

For users on the Lotus Notes 8 Standard client, this article provides information on checking the Java Heap size and adjusting it to half of your system RAM in attempt to get the Lotus Notes 8.x Standard client to run faster.  I've had to exercise t…
Article by: Rob
Notes 8.5 Archiving Steps and Tips This article covers setting up a Notes archive, and helps understand some of the menu choices making setting up and maintaining a Notes archive file easier.
This video discusses moving either the default database or any database to a new volume.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

760 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now