By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
457,916 Members | 1,319 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 457,916 IT Pros & Developers. It's quick & easy.

Creating email using sendmail

P: n/a
Good day to all.

I have found out my webhost doesn't support CDO or CDONTS(Sun ONE Active
Server Pages with SpikePack unavailable).

So, my question, is it possible to write an ASP page to call their sendmail
to sent email? Or will I have to do some quick learning on cgi?

Thanks for any input.
Jul 19 '05 #1
Share this Question
Share on Google+
3 Replies


P: n/a
Hehe,

Well I come here to ask my questions when I can't 'find' my hnit as to where
I need to look. My host doesn't 'support asp' and therefore they don't have
examples on how to wrap sendmail inside an ASP page. They have several perl
and cgi examples on sendmail, but I of course am coding in ASP.

Thanks for your responses though Ray. At least someone is reading my posts
=)

Thanks,
David

"Ray at <%=sLocation%>" <ra*@ajf8jalskdfna.sefrhja7yasdf.com> wrote in
message news:ej**************@tk2msftngp13.phx.gbl...
No, I understood that. What I'm saying is that have to have samples. Every host does, in the FAQs or something.

Ray at home

"David P. Jessup" <davidATimntDASHtechDOTcom> wrote in message
news:%2***************@TK2MSFTNGP12.phx.gbl...
Heh,
Guess I didn't make myself clear. My host does support ASP but they don't
have CDO or CDONTS enabled. They do allow unix/linux flavor of sendmail

and
was wondering if there is anyway to wrap an ASP page around that.
"Ray at <%=sLocation%>" <ra*@ajf8jalskdfna.sefrhja7yasdf.com> wrote in
message news:ev*************@tk2msftngp13.phx.gbl...
If you can send e-mail from your ASP pages on your host's server, they
should have sample code for it. Every host does, unless they do not

allow sending of e-mail. Check around the site.

Ray at home

"David P. Jessup" <davidATimntDASHtechDOTcom> wrote in message
news:%2****************@tk2msftngp13.phx.gbl...
> Good day to all.
>
> I have found out my webhost doesn't support CDO or CDONTS(Sun ONE Active > Server Pages with SpikePack unavailable).
>
> So, my question, is it possible to write an ASP page to call their
sendmail
> to sent email? Or will I have to do some quick learning on cgi?
>
> Thanks for any input.
>
>



Jul 19 '05 #2

P: n/a
Alright, I get it now. And I don't have the answer. So, now I ruined your
thread since people may skip it seeing there are replies, and you're stuck
with no answer. I suck. :[ Come on, someone, bail me out!

Ray at home

"David P. Jessup" <davidATimntDASHtechDOTcom> wrote in message
news:uc*************@TK2MSFTNGP10.phx.gbl...
Hehe,

Well I come here to ask my questions when I can't 'find' my hnit as to where I need to look. My host doesn't 'support asp' and therefore they don't have examples on how to wrap sendmail inside an ASP page. They have several perl and cgi examples on sendmail, but I of course am coding in ASP.

Thanks for your responses though Ray. At least someone is reading my posts =)

Thanks,
David

Jul 19 '05 #3

P: n/a
MN
"Ray at <%=sLocation%>" <ra*@ajf8jalskdfna.sefrhja7yasdf.com> wrote in message news:<OM**************@TK2MSFTNGP10.phx.gbl>...
Alright, I get it now. And I don't have the answer. So, now I ruined your
thread since people may skip it seeing there are replies, and you're stuck
with no answer. I suck. :[ Come on, someone, bail me out!

Ray at home

"David P. Jessup" <davidATimntDASHtechDOTcom> wrote in message
news:uc*************@TK2MSFTNGP10.phx.gbl...
Hehe,

Well I come here to ask my questions when I can't 'find' my hnit as to

where
I need to look. My host doesn't 'support asp' and therefore they don't

have
examples on how to wrap sendmail inside an ASP page. They have several

perl
and cgi examples on sendmail, but I of course am coding in ASP.

Thanks for your responses though Ray. At least someone is reading my

posts
=)

Thanks,
David


There are a couple of ways you can do what you want depending on what
is installed on your server and how badly you want to stay away from
cgi/perl.

I expect their cgi/perl example will be a page accepting a form post
with variables for mail from, mail to, subject, body etc.

Either add the cgi/perl equivalent of response.redirect back to your
script to the bottom of their script then form post to it from your
ASP. You will come out the other side with an email sent.

Or

If they have MSXML installed on the server, use that to spoof a form
post to it with the necessary data to send the email.
Jul 19 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.