473,397 Members | 1,985 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,397 software developers and data experts.

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 2336
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Merijn Boom | last post by:
Hi there, I'm trying to create an html mail with embedded pictures in it. I run perl on Windows and Red Hat but I cannot get your module (Mail::Sender) to work. I'm just trying to run the...
6
by: DigitalRick | last post by:
I have been running CDONTS in my ASPpages to send emails to me sent from my guestbook. It had been working fine untill I upgraded to Server 2003 (I am also running Exchange 2003) all locally. I...
3
by: Phil Mc | last post by:
Hi has anyone come accross the problem.... with referance to System.Web.Mail.MailMessage and System.Web.Mail.SmtpMail THIS WORKS FINE mail=new MailMessage(); mail.From =...
3
by: RN | last post by:
I am tired of sending mail from the built-in SMTP service for so many reasons (errors are nondescriptive in the event log, it doesn't let me control which IP address it sends from, and it...
34
by: antonyliu2002 | last post by:
I've set up the virtual smtp server on my IIS 5.1 like so: 1. Assign IP address to "All Unassigned", and listen to port 25. 2. Access Connection granted to "127.0.0.1". 3. Relay only allow...
4
by: J Huntley Palmer | last post by:
How may I setup a proper HTML mail message with embedded href links using PHP, that follows all the MIME rules? Any examples or links would be appreciated. Thanks!
2
by: clevrmnkey | last post by:
I've had nothing but trouble from the System.Net.Mail objects, but I finally need to make them work, and I can't for the life of me see what I'm doing wrong. I pared back my mail transaction to...
6
by: cover | last post by:
I'm using PHP 5 at home w/Apache & MySQL on a test system where I write through a form to a database and also send an email to people on a drop down list. Purpose for this is an electronic log at...
2
by: Ruud | last post by:
Just before leaving for a holiday my collegue modified this script. Now it won't send any body text (The data filled in on the form) and in an error condition it won't send any attachments either....
2
mikek12004
by: mikek12004 | last post by:
Before posting here I google it and saw ablut 30 pages for a solution so I pretty much excluded the obvious things. The code is <?php //now to send the mails to seller...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.