On 07/18/2009 09:54 AM, samuel wrote:
> 
> Hi Group,
> 
>   I have a requirement where I am making use of an URL for sending
> mails. Some thing like this
> 
> http://www.<examplemailsending>.com/messageapi.asp?username=<username>&password=<password>&destination=<A1>,<A2>,<A3>&message=Hi

Hi Abhiram,

Would it be possible to redesign the interface to not send a password in
the URL?

Since you're talking to a server, please consider using your server's
Sendmail libraries to send the message(s). There are Sendmail libraries
for all major CGI languages; such libraries are usually readily
available on any respectable hosting service.

Put the SMTP authentication parameters into a file outside the
directories accessible via the http:// protocol. For example:

private     <-- authentication values; no access via http://
web         <-- access via http://
  http          <-- .html, .js
  cgi-bin       <-- .cgi scripts

>  I am making a list of all the people A1, A2, A3... to whom the "Hi"
> message needs to be sent.

If you want the message to be sent from the client, consider using the
mailto: url. Here is an example. Google for other information:

mailto:[email protected],[email protected],[email protected]
?subject=Meeting%20at%20the%20quarry
&body=Hi:%0d%0aSee%20you%20there

If you paste this url into your brower's address window, your email
client should respond with a new message. This technique may not work on
all client computers; which is why invoking Sendmail from your hosting
provider may be a more universal solution.

>  Can someone tell me which is the best way to implement this
> requirement??

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to