Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Internet Mail Address

Posted on 2002-03-22
17
Medium Priority
?
209 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
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
 
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 800 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

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

For Desktop Techs: How to retain a user's Notes configuration data when swapping out the end user's computer. (Assuming that you are not upgrading to a completely different version of Notes client) All you need to do is: 1) install Notes o…
IBM Notes offer Encryption feature using which the user can secure its NSF emails or entire database easily. In this section we will discuss about the process to Encrypt Incoming and Outgoing Mails in depth.
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …
In this video you will find out how to export Office 365 mailboxes using the built in eDiscovery tool. Bear in mind that although this method might be useful in some cases, using PST files as Office 365 backup is troublesome in a long run (more on t…

670 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