@Command( [MailSend] ) - is Designer Help right?

Help for this @Command says … “The document must contain a SendTo field, indicating the document’s recipients.”

I have a SendTo field with a valid email address, but in my smtp.box, the waiting mail has an empty Recipients field, which means it cannot be delivered. I’ve tried populating the Recipients field in the document myself, but it’s still empty.

Help!

Subject: @Command( [MailSend] ) - is Designer Help right?

If you use @Command([MailSend]) with no arguments then yes, you must have a field named SendTo that is a valid Notes or Internet e-mail address. It would also be nice if you have fields named Subject and Body, so the people getting the e-mail actually receive something other than a blank message.

If you are using @Command([MailSend]…) with other arguments then you must include the recipients in arguments. Just having SendTo on the form isn’t enough, if you have other arguments you must put the recipients in the @Command arguments also. Since you already have a field named SendTo, you could do something like this:

@Command([MailSend];SendTo;“”;“”;“subject”;“”;“body”)

OR, if you have Subject and Body fields:

@Command([MailSend];SendTo;“”;“”;Subject;“”;Body)

Hope that helps,

Charles

Subject: OOPS!

I botched that pretty good. I confused @Command([MailSend]) and @MailSend. I’ve been doing workflow in LotusScript for the past few months and my remembery isn’t so good on the formula language.

In my examples above, replace @Command([MailSend]) with @MailSend and it should work.

Sorry for any confusion,

Charles

Subject: RE: OOPS!

Thanks Charles. I basically know most of that stuff. My question is, why is @Command([MailSend]) not working even though I have a valid SendTo field!

Subject: RE: OOPS!

Is it going to a Notes user or the Internet? If a Notes user, are they on the same server as the one sending the message? If not you may have a mail routing problem, try doing a trace to the other server, and check the Network names in the Ports section of your Server documents

If all that checks out, I have no idea what is going on.