Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Creating and Sending an e-mail from a web environment

Status
Not open for further replies.

Stevens202189

Programmer
Jun 30, 2003
2
US
I'm trying to create a web page that creates and sends an email using Lotus Notes 5. Basically, I want to have a form where the end user can fill out the recipient's email address, CCs, subject, and message into text boxes, then click on a send button and have it mail. Is this possible? If so, what code would I have to use? Thank you in advance for the help.

(PS, don't ask why I don't just use Lotus Notes and forget the webpage... My boss his mind set on doing it this way.)
 
Use @MailSend
Maybe you can name the fields "sendTo", "copyTo", "blindCopyTo", "subject", "body".

(see Notes Designer Manual: @function-> @MailSend)
Better is:
@MailSend( sendTo ; copyTo ; blindCopyTo ; subject ; remark ; bodyFields ;[ flags ] )

where sendTo... could be field, text or text-lists.
The "remark" text is placed in front of the body field.

Ole
 
Hi,

Why do you not host a standard mailbox and use a webbrowser to open it? If your Domino server is running the HTTP task then this works fine.

If you want to make it very flashy you can even use iNotes.

If you really need to have a separate page on the web to submit e-mail then you indeed need to create a page and name the fields as Ohinz suggested. Your submit button can use the @MailSend formula.

The Notes Designer help covers this in detail and you can always take a look at the web-code in a normal mailbox.

But actually: if you need to sumbit requests that internal users need to react on it is better not to use e-mails but just to save and close the document. The document is then stored in a database where a team can work on it.



Kind regards,

Dominik Malfait
dominik@amazingit.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top