General discussion

Locked

automated email sending

By brothertech ·
I want to send an email which is already written and addressed by simply clicking on the shortcut. I have the following:

mailto:person@hotmail.com?cc=test@hotmail.com?bcc=test@yahoo.com?subject=subject line?body=this is a test

This does everything I need except automatically send the email. What is the switch to automatically send the email or how may I send it without having to click on send

This conversation is currently closed to new comments.

13 total posts (Page 2 of 2)   Prev   01 | 02
Thread display: Collapse - | Expand +

All Comments

Collapse -

automated email sending

by aisp In reply to automated email sending

I'd think the only way to "eliminate" the user from the process of sending an e-mail message is to process the "send mail click" on the server. For IIS, for example, this can relatively easy be implemented, using ASP. One idea is to respond to the "send mail click" by redirecting to an ASP page (say, mail.asp) which would send the message and then redirect back to the original page. The "mailto:" part can be replaced with the appropriate <A HREF="mail.asp" Title="tooltip help string">...person name...</A> tag or even by a button. The actual addressing and forming of subject and body would be handled in mail.asp. Responce.redirect "<name of the original page>" in mail.asp would return the flow to the original page. Another approach is to use Visual InterDev 6 (VI6) to desing the "sending" page. Clicking on a DTC button (Design Time Control), for example, will be handled as a server-side event which you would code on the same page. I use the last approach in my web applications. VI6 also allows to improve the user interface and to hanle server-side sending of the e-mail message without the user actually noticing any "page swapping". Look also at http://support.microsoft.com/support/kb/articles/Q186/2/04.ASP for an MS KB Article ID:Q186204 "HOWTO: Use CDONTS to Collect and Mail Information From a User" for more details how to form and send an e-mail from ASP. I'm pretty sure a similar approach can be used on Unix using CGI and Perl, for example, but I'm more familiar with IIS.

Collapse -

automated email sending

by brothertech In reply to automated email sending

Poster rated this answer

Collapse -

automated email sending

by brothertech In reply to automated email sending

This question was closed by the author

Back to Community Forum
13 total posts (Page 2 of 2)   Prev   01 | 02

Related Discussions

Related Forums