469,327 Members | 1,242 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,327 developers. It's quick & easy.

ASP Mail

I made a form in which I send the visitor a link to my page
but when the visitor gets that link in the mail it dosent send him
to the page just says invalid syntax
or something like outbound.......
I'm not trying to spam
this is the code iput into body variable

text= "<table width='310' border='0'> "&_
"<tr><td class='all'><p align='center'> Something <br>"&_
"something<br>"&_
" Something<br>"&_
" <strongAnd something <br>"&_
" </strong>Something!<br>"&_
" <a href='http//www.something.com'>www.something.com</a></p>
</td></tr> </table>"
I looked at code that works and its the same why dosent this work
Jul 22 '05 #1
16 2153
Can you tell us what the actual error is and when this error occurs? The
error appears in the e-mail? In a Web page? Somewhere else?

Ray at work

"polilop" <fm******@inet.hr> wrote in message
news:d5**********@magcargo.vodatel.hr...
I made a form in which I send the visitor a link to my page
but when the visitor gets that link in the mail it dosent send him
to the page just says invalid syntax
or something like outbound.......
I'm not trying to spam
this is the code iput into body variable

text= "<table width='310' border='0'> "&_
"<tr><td class='all'><p align='center'> Something <br>"&_
"something<br>"&_
" Something<br>"&_
" <strongAnd something <br>"&_
" </strong>Something!<br>"&_
" <a href='http//www.something.com'>www.something.com</a></p>
</td></tr> </table>"
I looked at code that works and its the same why dosent this work

Jul 22 '05 #2
When the mail arrives to the recipient and when you click on the link
outlook asks you for the executable program
when i show it to the IE in the URL it writes this adress

outbind://15-0000000026322AE5531BF6438B074869664FD701C40C2300/http/www.something.com
and in outlook express it just opens an empty IE with nothing in the url.

"Ray Costanzo [MVP]" <my first name at lane 34 dot commercial> wrote in
message news:Oa**************@TK2MSFTNGP10.phx.gbl...
Can you tell us what the actual error is and when this error occurs? The
error appears in the e-mail? In a Web page? Somewhere else?

Ray at work

"polilop" <fm******@inet.hr> wrote in message
news:d5**********@magcargo.vodatel.hr...
I made a form in which I send the visitor a link to my page
but when the visitor gets that link in the mail it dosent send him
to the page just says invalid syntax
or something like outbound.......
I'm not trying to spam
this is the code iput into body variable

text= "<table width='310' border='0'> "&_
"<tr><td class='all'><p align='center'> Something <br>"&_
"something<br>"&_
" Something<br>"&_
" <strongAnd something <br>"&_
" </strong>Something!<br>"&_
" <a href='http//www.something.com'>www.something.com</a></p>
</td></tr> </table>"
I looked at code that works and its the same why dosent this work


Jul 22 '05 #3
Please show the code that you're using to generate and send the e-mail.

Ray at work
"polilop" <fm******@inet.hr> wrote in message
news:d5**********@magcargo.vodatel.hr...
When the mail arrives to the recipient and when you click on the link
outlook asks you for the executable program
when i show it to the IE in the URL it writes this adress

outbind://15-0000000026322AE5531BF6438B074869664FD701C40C2300/http/www.somet
hing.com and in outlook express it just opens an empty IE with nothing in the url.

"Ray Costanzo [MVP]" <my first name at lane 34 dot commercial> wrote in
message news:Oa**************@TK2MSFTNGP10.phx.gbl...
Can you tell us what the actual error is and when this error occurs? The error appears in the e-mail? In a Web page? Somewhere else?

Ray at work

"polilop" <fm******@inet.hr> wrote in message
news:d5**********@magcargo.vodatel.hr...
I made a form in which I send the visitor a link to my page
but when the visitor gets that link in the mail it dosent send him
to the page just says invalid syntax
or something like outbound.......
I'm not trying to spam
this is the code iput into body variable

text= "<table width='310' border='0'> "&_
"<tr><td class='all'><p align='center'> Something <br>"&_
"something<br>"&_
" Something<br>"&_
" <strongAnd something <br>"&_
" </strong>Something!<br>"&_
" <a href='http//www.something.com'>www.something.com</a></p>
</td></tr> </table>"
I looked at code that works and its the same why dosent this work



Jul 22 '05 #4
Here is the code, it sends Ok But when it arrives the link dosent work
fine.
All fields in Request are sent

<%
Set Mailer = Server.CreateObject("SMTPsvg.Mailer")
Mailer.FromName = Request.Form("sender_nm")
Mailer.FromAddress= Request.form("sender")
Mailer.RemoteHost = "mail.something.com"
Mailer.AddRecipient Request.Form("receipt_nm"), Request.form("receipt")
Mailer.CustomCharSet = "ISO-8859-2"
Mailer.ContentType = "text/html"

Mailer.Subject = "About Something"
dim text
text= "<table width='310' border='0'> "&_
"<tr><td class='all'><p align='center'> Something <br>"&_
"Something <br>"&_
" iSomething <br>"&_
" <strong>Something <br>"&_
" </strong>Something <br>"&_
" <a href='http//www.something.com'>www.something.com</a></p>
</td></tr> </table>"
Mailer.BodyText = text

if Mailer.SendMail then
Response.Write("<p><b>Sent!&nbsp;Thanks</b></p>")
else
Response.Write "<p><b>Something happend : <br>" & Mailer.Response & "<br>try
later</b></p>"

end if
set Mailer = nothing

%>

"Ray Costanzo [MVP]" <my first name at lane 34 dot commercial> wrote in
message news:um*************@TK2MSFTNGP09.phx.gbl...
Please show the code that you're using to generate and send the e-mail.

Ray at work
"polilop" <fm******@inet.hr> wrote in message
news:d5**********@magcargo.vodatel.hr...
When the mail arrives to the recipient and when you click on the link
outlook asks you for the executable program
when i show it to the IE in the URL it writes this adress

outbind://15-0000000026322AE5531BF6438B074869664FD701C40C2300/http/www.somet
hing.com
and in outlook express it just opens an empty IE with nothing in the url.

"Ray Costanzo [MVP]" <my first name at lane 34 dot commercial> wrote in
message news:Oa**************@TK2MSFTNGP10.phx.gbl...
> Can you tell us what the actual error is and when this error occurs? The > error appears in the e-mail? In a Web page? Somewhere else?
>
> Ray at work
>
> "polilop" <fm******@inet.hr> wrote in message
> news:d5**********@magcargo.vodatel.hr...
>> I made a form in which I send the visitor a link to my page
>> but when the visitor gets that link in the mail it dosent send him
>> to the page just says invalid syntax
>> or something like outbound.......
>> I'm not trying to spam
>> this is the code iput into body variable
>>
>> text= "<table width='310' border='0'> "&_
>> "<tr><td class='all'><p align='center'> Something <br>"&_
>> "something<br>"&_
>> " Something<br>"&_
>> " <strongAnd something <br>"&_
>> " </strong>Something!<br>"&_
>> " <a href='http//www.something.com'>www.something.com</a></p>
>> </td></tr> </table>"
>> I looked at code that works and its the same why dosent this work
>>
>>
>
>



Jul 22 '05 #5
you could always try sending the email with CDOSYS

http://www.powerasp.com/content/new/...ail_cdosys.asp
http://www.powerasp.com/content/new/...ing_cdosys.asp
"polilop" <fm******@inet.hr> wrote in message
news:d5**********@magcargo.vodatel.hr...
I made a form in which I send the visitor a link to my page
but when the visitor gets that link in the mail it dosent send him
to the page just says invalid syntax
or something like outbound.......
I'm not trying to spam
this is the code iput into body variable

text= "<table width='310' border='0'> "&_
"<tr><td class='all'><p align='center'> Something <br>"&_
"something<br>"&_
" Something<br>"&_
" <strongAnd something <br>"&_
" </strong>Something!<br>"&_
" <a href='http//www.something.com'>www.something.com</a></p>
</td></tr> </table>"
I looked at code that works and its the same why dosent this work

Jul 22 '05 #6
I don't know that this is your problem, but one thing, you never set your
mail format to be HTML.

Mailer.ContentType = "text/html"

Ray at work

"polilop" <fm******@inet.hr> wrote in message
news:d5**********@magcargo.vodatel.hr...
Here is the code, it sends Ok But when it arrives the link dosent work
fine.
All fields in Request are sent

<%
Set Mailer = Server.CreateObject("SMTPsvg.Mailer")
Mailer.FromName = Request.Form("sender_nm")
Mailer.FromAddress= Request.form("sender")
Mailer.RemoteHost = "mail.something.com"
Mailer.AddRecipient Request.Form("receipt_nm"), Request.form("receipt")
Mailer.CustomCharSet = "ISO-8859-2"
Mailer.ContentType = "text/html"

Mailer.Subject = "About Something"
dim text
text= "<table width='310' border='0'> "&_
"<tr><td class='all'><p align='center'> Something <br>"&_
"Something <br>"&_
" iSomething <br>"&_
" <strong>Something <br>"&_
" </strong>Something <br>"&_
" <a href='http//www.something.com'>www.something.com</a></p>
</td></tr> </table>"
Mailer.BodyText = text

if Mailer.SendMail then
Response.Write("<p><b>Sent!&nbsp;Thanks</b></p>")
else
Response.Write "<p><b>Something happend : <br>" & Mailer.Response & "<br>try later</b></p>"

end if
set Mailer = nothing

%>

"Ray Costanzo [MVP]" <my first name at lane 34 dot commercial> wrote in
message news:um*************@TK2MSFTNGP09.phx.gbl...
Please show the code that you're using to generate and send the e-mail.

Ray at work
"polilop" <fm******@inet.hr> wrote in message
news:d5**********@magcargo.vodatel.hr...
When the mail arrives to the recipient and when you click on the link
outlook asks you for the executable program
when i show it to the IE in the URL it writes this adress

outbind://15-0000000026322AE5531BF6438B074869664FD701C40C2300/http/www.somet hing.com
and in outlook express it just opens an empty IE with nothing in the url.
"Ray Costanzo [MVP]" <my first name at lane 34 dot commercial> wrote in
message news:Oa**************@TK2MSFTNGP10.phx.gbl...
> Can you tell us what the actual error is and when this error occurs?

The
> error appears in the e-mail? In a Web page? Somewhere else?
>
> Ray at work
>
> "polilop" <fm******@inet.hr> wrote in message
> news:d5**********@magcargo.vodatel.hr...
>> I made a form in which I send the visitor a link to my page
>> but when the visitor gets that link in the mail it dosent send him
>> to the page just says invalid syntax
>> or something like outbound.......
>> I'm not trying to spam
>> this is the code iput into body variable
>>
>> text= "<table width='310' border='0'> "&_
>> "<tr><td class='all'><p align='center'> Something <br>"&_
>> "something<br>"&_
>> " Something<br>"&_
>> " <strongAnd something <br>"&_
>> " </strong>Something!<br>"&_
>> " <a href='http//www.something.com'>www.something.com</a></p> >> </td></tr> </table>"
>> I looked at code that works and its the same why dosent this work
>>
>>
>
>



Jul 22 '05 #7
if i dont set it text/html how am i able to send the recipient the link with
<a href....
I know that he can just rewrite the adress but it's easier for the
recipient just clicking on the link

"Ray Costanzo [MVP]" <my first name at lane 34 dot commercial> wrote in
message news:u5*************@TK2MSFTNGP12.phx.gbl...
I don't know that this is your problem, but one thing, you never set your
mail format to be HTML.

Mailer.ContentType = "text/html"

Ray at work

"polilop" <fm******@inet.hr> wrote in message
news:d5**********@magcargo.vodatel.hr...
Here is the code, it sends Ok But when it arrives the link dosent work
fine.
All fields in Request are sent

<%
Set Mailer = Server.CreateObject("SMTPsvg.Mailer")
Mailer.FromName = Request.Form("sender_nm")
Mailer.FromAddress= Request.form("sender")
Mailer.RemoteHost = "mail.something.com"
Mailer.AddRecipient Request.Form("receipt_nm"), Request.form("receipt")
Mailer.CustomCharSet = "ISO-8859-2"
Mailer.ContentType = "text/html"

Mailer.Subject = "About Something"
dim text
text= "<table width='310' border='0'> "&_
"<tr><td class='all'><p align='center'> Something <br>"&_
"Something <br>"&_
" iSomething <br>"&_
" <strong>Something <br>"&_
" </strong>Something <br>"&_
" <a href='http//www.something.com'>www.something.com</a></p>
</td></tr> </table>"
Mailer.BodyText = text

if Mailer.SendMail then
Response.Write("<p><b>Sent!&nbsp;Thanks</b></p>")
else
Response.Write "<p><b>Something happend : <br>" & Mailer.Response &

"<br>try
later</b></p>"

end if
set Mailer = nothing

%>

"Ray Costanzo [MVP]" <my first name at lane 34 dot commercial> wrote in
message news:um*************@TK2MSFTNGP09.phx.gbl...
> Please show the code that you're using to generate and send the e-mail.
>
> Ray at work
>
>
> "polilop" <fm******@inet.hr> wrote in message
> news:d5**********@magcargo.vodatel.hr...
>> When the mail arrives to the recipient and when you click on the link
>> outlook asks you for the executable program
>> when i show it to the IE in the URL it writes this adress
>>
>>
> outbind://15-0000000026322AE5531BF6438B074869664FD701C40C2300/http/www.somet > hing.com
>> and in outlook express it just opens an empty IE with nothing in the url. >>
>> "Ray Costanzo [MVP]" <my first name at lane 34 dot commercial> wrote
>> in
>> message news:Oa**************@TK2MSFTNGP10.phx.gbl...
>> > Can you tell us what the actual error is and when this error occurs?
> The
>> > error appears in the e-mail? In a Web page? Somewhere else?
>> >
>> > Ray at work
>> >
>> > "polilop" <fm******@inet.hr> wrote in message
>> > news:d5**********@magcargo.vodatel.hr...
>> >> I made a form in which I send the visitor a link to my page
>> >> but when the visitor gets that link in the mail it dosent send him
>> >> to the page just says invalid syntax
>> >> or something like outbound.......
>> >> I'm not trying to spam
>> >> this is the code iput into body variable
>> >>
>> >> text= "<table width='310' border='0'> "&_
>> >> "<tr><td class='all'><p align='center'> Something <br>"&_
>> >> "something<br>"&_
>> >> " Something<br>"&_
>> >> " <strongAnd something <br>"&_
>> >> " </strong>Something!<br>"&_
>> >> " <a href='http//www.something.com'>www.something.com</a></p> >> >> </td></tr> </table>"
>> >> I looked at code that works and its the same why dosent this work
>> >>
>> >>
>> >
>> >
>>
>>
>
>



Jul 22 '05 #8
Yes if the web provider uses it but this one dosen't, or he dosent have to?

"Kyle Peterson" <kp*****@hotmail.com> wrote in message
news:uE**************@TK2MSFTNGP10.phx.gbl...
you could always try sending the email with CDOSYS

http://www.powerasp.com/content/new/...ail_cdosys.asp
http://www.powerasp.com/content/new/...ing_cdosys.asp
"polilop" <fm******@inet.hr> wrote in message
news:d5**********@magcargo.vodatel.hr...
I made a form in which I send the visitor a link to my page
but when the visitor gets that link in the mail it dosent send him
to the page just says invalid syntax
or something like outbound.......
I'm not trying to spam
this is the code iput into body variable

text= "<table width='310' border='0'> "&_
"<tr><td class='all'><p align='center'> Something <br>"&_
"something<br>"&_
" Something<br>"&_
" <strongAnd something <br>"&_
" </strong>Something!<br>"&_
" <a href='http//www.something.com'>www.something.com</a></p>
</td></tr> </table>"
I looked at code that works and its the same why dosent this work


Jul 22 '05 #9
i dont think that the problem is in the SMTPsvg.Mailer i think that there is
a catch
in the outlook that just dosent get where it has to go allso i just read
sowhere it starts
with sp2 security. no one knows why. I will try copying code from a mail
message made in
outlook and then put it into the tex variable and then sending it.
"polilop" <fm******@inet.hr> wrote in message
news:ef**************@TK2MSFTNGP15.phx.gbl...
Yes if the web provider uses it but this one dosen't, or he dosent have
to?

"Kyle Peterson" <kp*****@hotmail.com> wrote in message
news:uE**************@TK2MSFTNGP10.phx.gbl...
you could always try sending the email with CDOSYS

http://www.powerasp.com/content/new/...ail_cdosys.asp
http://www.powerasp.com/content/new/...ing_cdosys.asp
"polilop" <fm******@inet.hr> wrote in message
news:d5**********@magcargo.vodatel.hr...
I made a form in which I send the visitor a link to my page
but when the visitor gets that link in the mail it dosent send him
to the page just says invalid syntax
or something like outbound.......
I'm not trying to spam
this is the code iput into body variable

text= "<table width='310' border='0'> "&_
"<tr><td class='all'><p align='center'> Something <br>"&_
"something<br>"&_
" Something<br>"&_
" <strongAnd something <br>"&_
" </strong>Something!<br>"&_
" <a href='http//www.something.com'>www.something.com</a></p>
</td></tr> </table>"
I looked at code that works and its the same why dosent this work



Jul 22 '05 #10
On Mon, 2 May 2005 22:02:54 +0200, "polilop" <fm******@inet.hr> wrote:
if i dont set it text/html how am i able to send the recipient the link with
<a href....
I know that he can just rewrite the adress but it's easier for the
recipient just clicking on the link
That's a client issue. Some clients will format any web address as a
link. Others you have to send it in HTML format or it won't show a
link.

But I don't think that's the issue. Look at the actual raw text of
the email message as received. If it has the link correctly shown,
then it's a client-side issue.

Jeff


"Ray Costanzo [MVP]" <my first name at lane 34 dot commercial> wrote in
message news:u5*************@TK2MSFTNGP12.phx.gbl...
I don't know that this is your problem, but one thing, you never set your
mail format to be HTML.

Mailer.ContentType = "text/html"

Ray at work

"polilop" <fm******@inet.hr> wrote in message
news:d5**********@magcargo.vodatel.hr...
Here is the code, it sends Ok But when it arrives the link dosent work
fine.
All fields in Request are sent

<%
Set Mailer = Server.CreateObject("SMTPsvg.Mailer")
Mailer.FromName = Request.Form("sender_nm")
Mailer.FromAddress= Request.form("sender")
Mailer.RemoteHost = "mail.something.com"
Mailer.AddRecipient Request.Form("receipt_nm"), Request.form("receipt")
Mailer.CustomCharSet = "ISO-8859-2"
Mailer.ContentType = "text/html"

Mailer.Subject = "About Something"
dim text
text= "<table width='310' border='0'> "&_
"<tr><td class='all'><p align='center'> Something <br>"&_
"Something <br>"&_
" iSomething <br>"&_
" <strong>Something <br>"&_
" </strong>Something <br>"&_
" <a href='http//www.something.com'>www.something.com</a></p>
</td></tr> </table>"
Mailer.BodyText = text

if Mailer.SendMail then
Response.Write("<p><b>Sent!&nbsp;Thanks</b></p>")
else
Response.Write "<p><b>Something happend : <br>" & Mailer.Response &

"<br>try
later</b></p>"

end if
set Mailer = nothing

%>

"Ray Costanzo [MVP]" <my first name at lane 34 dot commercial> wrote in
message news:um*************@TK2MSFTNGP09.phx.gbl...
> Please show the code that you're using to generate and send the e-mail.
>
> Ray at work
>
>
> "polilop" <fm******@inet.hr> wrote in message
> news:d5**********@magcargo.vodatel.hr...
>> When the mail arrives to the recipient and when you click on the link
>> outlook asks you for the executable program
>> when i show it to the IE in the URL it writes this adress
>>
>>
>

outbind://15-0000000026322AE5531BF6438B074869664FD701C40C2300/http/www.somet
> hing.com
>> and in outlook express it just opens an empty IE with nothing in the

url.
>>
>> "Ray Costanzo [MVP]" <my first name at lane 34 dot commercial> wrote
>> in
>> message news:Oa**************@TK2MSFTNGP10.phx.gbl...
>> > Can you tell us what the actual error is and when this error occurs?
> The
>> > error appears in the e-mail? In a Web page? Somewhere else?
>> >
>> > Ray at work
>> >
>> > "polilop" <fm******@inet.hr> wrote in message
>> > news:d5**********@magcargo.vodatel.hr...
>> >> I made a form in which I send the visitor a link to my page
>> >> but when the visitor gets that link in the mail it dosent send him
>> >> to the page just says invalid syntax
>> >> or something like outbound.......
>> >> I'm not trying to spam
>> >> this is the code iput into body variable
>> >>
>> >> text= "<table width='310' border='0'> "&_
>> >> "<tr><td class='all'><p align='center'> Something <br>"&_
>> >> "something<br>"&_
>> >> " Something<br>"&_
>> >> " <strongAnd something <br>"&_
>> >> " </strong>Something!<br>"&_
>> >> " <a

href='http//www.something.com'>www.something.com</a></p>
>> >> </td></tr> </table>"
>> >> I looked at code that works and its the same why dosent this work
>> >>
>> >>
>> >
>> >
>>
>>
>
>



Jul 22 '05 #11
Setting that property to text/html will make it an html message, not a plain
text message.

Ray at work

"polilop" <fm******@inet.hr> wrote in message
news:u$**************@TK2MSFTNGP14.phx.gbl...
if i dont set it text/html how am i able to send the recipient the link with <a href....
I know that he can just rewrite the adress but it's easier for the
recipient just clicking on the link

"Ray Costanzo [MVP]" <my first name at lane 34 dot commercial> wrote in
message news:u5*************@TK2MSFTNGP12.phx.gbl...
I don't know that this is your problem, but one thing, you never set your
mail format to be HTML.

Mailer.ContentType = "text/html"

Ray at work

"polilop" <fm******@inet.hr> wrote in message
news:d5**********@magcargo.vodatel.hr...
Here is the code, it sends Ok But when it arrives the link dosent work
fine.
All fields in Request are sent

<%
Set Mailer = Server.CreateObject("SMTPsvg.Mailer")
Mailer.FromName = Request.Form("sender_nm")
Mailer.FromAddress= Request.form("sender")
Mailer.RemoteHost = "mail.something.com"
Mailer.AddRecipient Request.Form("receipt_nm"), Request.form("receipt") Mailer.CustomCharSet = "ISO-8859-2"
Mailer.ContentType = "text/html"

Mailer.Subject = "About Something"
dim text
text= "<table width='310' border='0'> "&_
"<tr><td class='all'><p align='center'> Something <br>"&_
"Something <br>"&_
" iSomething <br>"&_
" <strong>Something <br>"&_
" </strong>Something <br>"&_
" <a href='http//www.something.com'>www.something.com</a></p>
</td></tr> </table>"
Mailer.BodyText = text

if Mailer.SendMail then
Response.Write("<p><b>Sent!&nbsp;Thanks</b></p>")
else
Response.Write "<p><b>Something happend : <br>" & Mailer.Response &

"<br>try
later</b></p>"

end if
set Mailer = nothing

%>

"Ray Costanzo [MVP]" <my first name at lane 34 dot commercial> wrote in
message news:um*************@TK2MSFTNGP09.phx.gbl...
> Please show the code that you're using to generate and send the e-mail. >
> Ray at work
>
>
> "polilop" <fm******@inet.hr> wrote in message
> news:d5**********@magcargo.vodatel.hr...
>> When the mail arrives to the recipient and when you click on the link >> outlook asks you for the executable program
>> when i show it to the IE in the URL it writes this adress
>>
>>
>

outbind://15-0000000026322AE5531BF6438B074869664FD701C40C2300/http/www.somet
> hing.com
>> and in outlook express it just opens an empty IE with nothing in the

url.
>>
>> "Ray Costanzo [MVP]" <my first name at lane 34 dot commercial> wrote
>> in
>> message news:Oa**************@TK2MSFTNGP10.phx.gbl...
>> > Can you tell us what the actual error is and when this error occurs? > The
>> > error appears in the e-mail? In a Web page? Somewhere else?
>> >
>> > Ray at work
>> >
>> > "polilop" <fm******@inet.hr> wrote in message
>> > news:d5**********@magcargo.vodatel.hr...
>> >> I made a form in which I send the visitor a link to my page
>> >> but when the visitor gets that link in the mail it dosent send him >> >> to the page just says invalid syntax
>> >> or something like outbound.......
>> >> I'm not trying to spam
>> >> this is the code iput into body variable
>> >>
>> >> text= "<table width='310' border='0'> "&_
>> >> "<tr><td class='all'><p align='center'> Something <br>"&_
>> >> "something<br>"&_
>> >> " Something<br>"&_
>> >> " <strongAnd something <br>"&_
>> >> " </strong>Something!<br>"&_
>> >> " <a

href='http//www.something.com'>www.something.com</a></p>
>> >> </td></tr> </table>"
>> >> I looked at code that works and its the same why dosent this work
>> >>
>> >>
>> >
>> >
>>
>>
>
>



Jul 22 '05 #12
read the articles... it is on most servers by default despite wht your web
proivder might tell you

I have had a lot of trouble with aspmail and html messages acting weird in
the past.. I now use CDOSYS for nearly everything and have better luck in
general
"polilop" <fm******@inet.hr> wrote in message
news:ef**************@TK2MSFTNGP15.phx.gbl...
Yes if the web provider uses it but this one dosen't, or he dosent have
to?

"Kyle Peterson" <kp*****@hotmail.com> wrote in message
news:uE**************@TK2MSFTNGP10.phx.gbl...
you could always try sending the email with CDOSYS

http://www.powerasp.com/content/new/...ail_cdosys.asp
http://www.powerasp.com/content/new/...ing_cdosys.asp
"polilop" <fm******@inet.hr> wrote in message
news:d5**********@magcargo.vodatel.hr...
I made a form in which I send the visitor a link to my page
but when the visitor gets that link in the mail it dosent send him
to the page just says invalid syntax
or something like outbound.......
I'm not trying to spam
this is the code iput into body variable

text= "<table width='310' border='0'> "&_
"<tr><td class='all'><p align='center'> Something <br>"&_
"something<br>"&_
" Something<br>"&_
" <strongAnd something <br>"&_
" </strong>Something!<br>"&_
" <a href='http//www.something.com'>www.something.com</a></p>
</td></tr> </table>"
I looked at code that works and its the same why dosent this work



Jul 22 '05 #13
Must disagree becouse when i send the same person a link that i put through
a mail message composed in outlook it works.
My bigest dilema is that the link is shown correctly in the mail message.

"Jeff Cochran" <je*********@zina.com> wrote in message
news:42***************@msnews.microsoft.com...
On Mon, 2 May 2005 22:02:54 +0200, "polilop" <fm******@inet.hr> wrote:
if i dont set it text/html how am i able to send the recipient the link
with
<a href....
I know that he can just rewrite the adress but it's easier for the
recipient just clicking on the link


That's a client issue. Some clients will format any web address as a
link. Others you have to send it in HTML format or it won't show a
link.

But I don't think that's the issue. Look at the actual raw text of
the email message as received. If it has the link correctly shown,
then it's a client-side issue.

Jeff


"Ray Costanzo [MVP]" <my first name at lane 34 dot commercial> wrote in
message news:u5*************@TK2MSFTNGP12.phx.gbl...
I don't know that this is your problem, but one thing, you never set your
mail format to be HTML.

Mailer.ContentType = "text/html"

Ray at work

"polilop" <fm******@inet.hr> wrote in message
news:d5**********@magcargo.vodatel.hr...
Here is the code, it sends Ok But when it arrives the link dosent work
fine.
All fields in Request are sent

<%
Set Mailer = Server.CreateObject("SMTPsvg.Mailer")
Mailer.FromName = Request.Form("sender_nm")
Mailer.FromAddress= Request.form("sender")
Mailer.RemoteHost = "mail.something.com"
Mailer.AddRecipient Request.Form("receipt_nm"),
Request.form("receipt")
Mailer.CustomCharSet = "ISO-8859-2"
Mailer.ContentType = "text/html"

Mailer.Subject = "About Something"
dim text
text= "<table width='310' border='0'> "&_
"<tr><td class='all'><p align='center'> Something <br>"&_
"Something <br>"&_
" iSomething <br>"&_
" <strong>Something <br>"&_
" </strong>Something <br>"&_
" <a href='http//www.something.com'>www.something.com</a></p>
</td></tr> </table>"
Mailer.BodyText = text

if Mailer.SendMail then
Response.Write("<p><b>Sent!&nbsp;Thanks</b></p>")
else
Response.Write "<p><b>Something happend : <br>" & Mailer.Response &
"<br>try
later</b></p>"

end if
set Mailer = nothing

%>

"Ray Costanzo [MVP]" <my first name at lane 34 dot commercial> wrote in
message news:um*************@TK2MSFTNGP09.phx.gbl...
> Please show the code that you're using to generate and send the
> e-mail.
>
> Ray at work
>
>
> "polilop" <fm******@inet.hr> wrote in message
> news:d5**********@magcargo.vodatel.hr...
>> When the mail arrives to the recipient and when you click on the
>> link
>> outlook asks you for the executable program
>> when i show it to the IE in the URL it writes this adress
>>
>>
>
outbind://15-0000000026322AE5531BF6438B074869664FD701C40C2300/http/www.somet
> hing.com
>> and in outlook express it just opens an empty IE with nothing in the
url.
>>
>> "Ray Costanzo [MVP]" <my first name at lane 34 dot commercial> wrote
>> in
>> message news:Oa**************@TK2MSFTNGP10.phx.gbl...
>> > Can you tell us what the actual error is and when this error
>> > occurs?
> The
>> > error appears in the e-mail? In a Web page? Somewhere else?
>> >
>> > Ray at work
>> >
>> > "polilop" <fm******@inet.hr> wrote in message
>> > news:d5**********@magcargo.vodatel.hr...
>> >> I made a form in which I send the visitor a link to my page
>> >> but when the visitor gets that link in the mail it dosent send
>> >> him
>> >> to the page just says invalid syntax
>> >> or something like outbound.......
>> >> I'm not trying to spam
>> >> this is the code iput into body variable
>> >>
>> >> text= "<table width='310' border='0'> "&_
>> >> "<tr><td class='all'><p align='center'> Something <br>"&_
>> >> "something<br>"&_
>> >> " Something<br>"&_
>> >> " <strongAnd something <br>"&_
>> >> " </strong>Something!<br>"&_
>> >> " <a
href='http//www.something.com'>www.something.com</a></p>
>> >> </td></tr> </table>"
>> >> I looked at code that works and its the same why dosent this work
>> >>
>> >>
>> >
>> >
>>
>>
>
>

Jul 22 '05 #14
Read this the nearly same problem
http://groups.google.com/groups?q=ou...4ax.com&rnum=1

"Ray Costanzo [MVP]" <my first name at lane 34 dot commercial> wrote in
message news:%2****************@TK2MSFTNGP15.phx.gbl...
Setting that property to text/html will make it an html message, not a
plain
text message.

Ray at work

"polilop" <fm******@inet.hr> wrote in message
news:u$**************@TK2MSFTNGP14.phx.gbl...
if i dont set it text/html how am i able to send the recipient the link

with
<a href....
I know that he can just rewrite the adress but it's easier for the
recipient just clicking on the link

"Ray Costanzo [MVP]" <my first name at lane 34 dot commercial> wrote in
message news:u5*************@TK2MSFTNGP12.phx.gbl...
>I don't know that this is your problem, but one thing, you never set
>your
> mail format to be HTML.
>
> Mailer.ContentType = "text/html"
>
> Ray at work
>
> "polilop" <fm******@inet.hr> wrote in message
> news:d5**********@magcargo.vodatel.hr...
>> Here is the code, it sends Ok But when it arrives the link dosent
>> work
>> fine.
>> All fields in Request are sent
>>
>> <%
>> Set Mailer = Server.CreateObject("SMTPsvg.Mailer")
>> Mailer.FromName = Request.Form("sender_nm")
>> Mailer.FromAddress= Request.form("sender")
>> Mailer.RemoteHost = "mail.something.com"
>> Mailer.AddRecipient Request.Form("receipt_nm"), Request.form("receipt") >> Mailer.CustomCharSet = "ISO-8859-2"
>> Mailer.ContentType = "text/html"
>>
>> Mailer.Subject = "About Something"
>> dim text
>> text= "<table width='310' border='0'> "&_
>> "<tr><td class='all'><p align='center'> Something <br>"&_
>> "Something <br>"&_
>> " iSomething <br>"&_
>> " <strong>Something <br>"&_
>> " </strong>Something <br>"&_
>> " <a href='http//www.something.com'>www.something.com</a></p>
>> </td></tr> </table>"
>>
>>
>> Mailer.BodyText = text
>>
>> if Mailer.SendMail then
>> Response.Write("<p><b>Sent!&nbsp;Thanks</b></p>")
>> else
>> Response.Write "<p><b>Something happend : <br>" & Mailer.Response &
> "<br>try
>> later</b></p>"
>>
>> end if
>> set Mailer = nothing
>>
>> %>
>>
>>
>>
>>
>>
>> "Ray Costanzo [MVP]" <my first name at lane 34 dot commercial> wrote
>> in
>> message news:um*************@TK2MSFTNGP09.phx.gbl...
>> > Please show the code that you're using to generate and send the e-mail. >> >
>> > Ray at work
>> >
>> >
>> > "polilop" <fm******@inet.hr> wrote in message
>> > news:d5**********@magcargo.vodatel.hr...
>> >> When the mail arrives to the recipient and when you click on the link >> >> outlook asks you for the executable program
>> >> when i show it to the IE in the URL it writes this adress
>> >>
>> >>
>> >
> outbind://15-0000000026322AE5531BF6438B074869664FD701C40C2300/http/www.somet >> > hing.com
>> >> and in outlook express it just opens an empty IE with nothing in
>> >> the
> url.
>> >>
>> >> "Ray Costanzo [MVP]" <my first name at lane 34 dot commercial>
>> >> wrote
>> >> in
>> >> message news:Oa**************@TK2MSFTNGP10.phx.gbl...
>> >> > Can you tell us what the actual error is and when this error occurs? >> > The
>> >> > error appears in the e-mail? In a Web page? Somewhere else?
>> >> >
>> >> > Ray at work
>> >> >
>> >> > "polilop" <fm******@inet.hr> wrote in message
>> >> > news:d5**********@magcargo.vodatel.hr...
>> >> >> I made a form in which I send the visitor a link to my page
>> >> >> but when the visitor gets that link in the mail it dosent send him >> >> >> to the page just says invalid syntax
>> >> >> or something like outbound.......
>> >> >> I'm not trying to spam
>> >> >> this is the code iput into body variable
>> >> >>
>> >> >> text= "<table width='310' border='0'> "&_
>> >> >> "<tr><td class='all'><p align='center'> Something <br>"&_
>> >> >> "something<br>"&_
>> >> >> " Something<br>"&_
>> >> >> " <strongAnd something <br>"&_
>> >> >> " </strong>Something!<br>"&_
>> >> >> " <a
> href='http//www.something.com'>www.something.com</a></p>
>> >> >> </td></tr> </table>"
>> >> >> I looked at code that works and its the same why dosent this
>> >> >> work
>> >> >>
>> >> >>
>> >> >
>> >> >
>> >>
>> >>
>> >
>> >
>>
>>
>
>



Jul 22 '05 #15
"polilop" <fm******@inet.hr> wrote in message
news:d5**********@magcargo.vodatel.hr...
I made a form in which I send the visitor a link to my page
but when the visitor gets that link in the mail it dosent send him
to the page just says invalid syntax
or something like outbound.......
I'm not trying to spam
this is the code iput into body variable

text= "<table width='310' border='0'> "&_
"<tr><td class='all'><p align='center'> Something <br>"&_
"something<br>"&_
" Something<br>"&_
" <strongAnd something <br>"&_
" </strong>Something!<br>"&_
" <a href='http//www.something.com'>www.something.com</a></p>
</td></tr> </table>"
I looked at code that works and its the same why dosent this work


What you're doing looks okay to me. So this is just a stab in the dark - do
you get the same problem if you use double quotes instead of single quotes
(on your a href=...)?

Brian.

www.cryer.co.uk/brian
Jul 22 '05 #16
On Tue, 3 May 2005 10:37:08 +0200, "polilop" <fm******@inet.hr> wrote:
Must disagree becouse when i send the same person a link that i put through
a mail message composed in outlook it works.
My bigest dilema is that the link is shown correctly in the mail message.
Shown correctly isn't what I suggested you look at. Look at the *raw*
text of the email and look at the link being inserted. This link will
show fine and work as intended:

<a href="http://www.microsoft.com/">Microsoft</a>

This will show exactly the same and not work:

<a href="ThisWillNotWork/http://www.microsoft.com/">Microsoft</a>

If the link is actually correct in the email and when you click on it
the link does not work as intended, it can't be a server issue. The
server is no longer ionvolved once the message gets to the client.

Jeff

"Jeff Cochran" <je*********@zina.com> wrote in message
news:42***************@msnews.microsoft.com...
On Mon, 2 May 2005 22:02:54 +0200, "polilop" <fm******@inet.hr> wrote:
if i dont set it text/html how am i able to send the recipient the link
with
<a href....
I know that he can just rewrite the adress but it's easier for the
recipient just clicking on the link


That's a client issue. Some clients will format any web address as a
link. Others you have to send it in HTML format or it won't show a
link.

But I don't think that's the issue. Look at the actual raw text of
the email message as received. If it has the link correctly shown,
then it's a client-side issue.

Jeff


"Ray Costanzo [MVP]" <my first name at lane 34 dot commercial> wrote in
message news:u5*************@TK2MSFTNGP12.phx.gbl...
I don't know that this is your problem, but one thing, you never set your
mail format to be HTML.

Mailer.ContentType = "text/html"

Ray at work

"polilop" <fm******@inet.hr> wrote in message
news:d5**********@magcargo.vodatel.hr...
> Here is the code, it sends Ok But when it arrives the link dosent work
> fine.
> All fields in Request are sent
>
> <%
> Set Mailer = Server.CreateObject("SMTPsvg.Mailer")
> Mailer.FromName = Request.Form("sender_nm")
> Mailer.FromAddress= Request.form("sender")
> Mailer.RemoteHost = "mail.something.com"
> Mailer.AddRecipient Request.Form("receipt_nm"),
> Request.form("receipt")
> Mailer.CustomCharSet = "ISO-8859-2"
> Mailer.ContentType = "text/html"
>
> Mailer.Subject = "About Something"
> dim text
> text= "<table width='310' border='0'> "&_
> "<tr><td class='all'><p align='center'> Something <br>"&_
> "Something <br>"&_
> " iSomething <br>"&_
> " <strong>Something <br>"&_
> " </strong>Something <br>"&_
> " <a href='http//www.something.com'>www.something.com</a></p>
> </td></tr> </table>"
>
>
> Mailer.BodyText = text
>
> if Mailer.SendMail then
> Response.Write("<p><b>Sent!&nbsp;Thanks</b></p>")
> else
> Response.Write "<p><b>Something happend : <br>" & Mailer.Response &
"<br>try
> later</b></p>"
>
> end if
> set Mailer = nothing
>
> %>
>
>
>
>
>
> "Ray Costanzo [MVP]" <my first name at lane 34 dot commercial> wrote in
> message news:um*************@TK2MSFTNGP09.phx.gbl...
> > Please show the code that you're using to generate and send the
> > e-mail.
> >
> > Ray at work
> >
> >
> > "polilop" <fm******@inet.hr> wrote in message
> > news:d5**********@magcargo.vodatel.hr...
> >> When the mail arrives to the recipient and when you click on the
> >> link
> >> outlook asks you for the executable program
> >> when i show it to the IE in the URL it writes this adress
> >>
> >>
> >
outbind://15-0000000026322AE5531BF6438B074869664FD701C40C2300/http/www.somet
> > hing.com
> >> and in outlook express it just opens an empty IE with nothing in the
url.
> >>
> >> "Ray Costanzo [MVP]" <my first name at lane 34 dot commercial> wrote
> >> in
> >> message news:Oa**************@TK2MSFTNGP10.phx.gbl...
> >> > Can you tell us what the actual error is and when this error
> >> > occurs?
> > The
> >> > error appears in the e-mail? In a Web page? Somewhere else?
> >> >
> >> > Ray at work
> >> >
> >> > "polilop" <fm******@inet.hr> wrote in message
> >> > news:d5**********@magcargo.vodatel.hr...
> >> >> I made a form in which I send the visitor a link to my page
> >> >> but when the visitor gets that link in the mail it dosent send
> >> >> him
> >> >> to the page just says invalid syntax
> >> >> or something like outbound.......
> >> >> I'm not trying to spam
> >> >> this is the code iput into body variable
> >> >>
> >> >> text= "<table width='310' border='0'> "&_
> >> >> "<tr><td class='all'><p align='center'> Something <br>"&_
> >> >> "something<br>"&_
> >> >> " Something<br>"&_
> >> >> " <strongAnd something <br>"&_
> >> >> " </strong>Something!<br>"&_
> >> >> " <a
href='http//www.something.com'>www.something.com</a></p>
> >> >> </td></tr> </table>"
> >> >> I looked at code that works and its the same why dosent this work
> >> >>
> >> >>
> >> >
> >> >
> >>
> >>
> >
> >
>
>


Jul 22 '05 #17

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by Merijn Boom | last post: by
34 posts views Thread by antonyliu2002 | last post: by
4 posts views Thread by J Huntley Palmer | last post: by
6 posts views Thread by cover | last post: by
2 posts views Thread by Ruud | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by zhoujie | last post: by
reply views Thread by suresh191 | last post: by
reply views Thread by Purva khokhar | last post: by
reply views Thread by haryvincent176 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.