PDA

View Full Version : connect to mail server


mohan
09-18-2003, 08:06 AM
Hi Antun,

How can i connect to the mail server from the laszlo server.
Here i have to send the mail from my application (laszlo) to user account (user E-mail ID ).

Thanks
Mallesh.

antun
09-18-2003, 08:30 AM
You'd have to write a server-side script to do this. Your best bet would be to have a dataset that's pointed to a .jsp file that accepts some details (say for example Recipient name, email and topic).

I would keep the email templates on the jsp if I were you - use the above "topic" to determine which email you want to send. That way you won't need to worry about get request length limits.

-Antun

mohan
09-24-2003, 10:21 PM
Hi Antun,

Regarding to our last question about "sending mail",
if i use serverside script and jsp for sending mail, then we have to use mail server (SMTP).So how can i interface this (smtp mail server) with laszlo sever.
Is it possible to do this without SMTP server? And how can i integrate "sending mail" with my lzx file.

I need more help on this.


Thanks alot
Mallesh