473,608 Members | 1,809 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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>Somethin g!<br>"&_
" <a href='http//www.something.c om'>www.somethi ng.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 2360
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.vod atel.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>Somethin g!<br>"&_
" <a href='http//www.something.c om'>www.somethi ng.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-0000000026322AE 5531BF6438B0748 69664FD701C40C2 300/http/www.something.c om
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******** ******@TK2MSFTN GP10.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.vod atel.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>Somethin g!<br>"&_
" <a href='http//www.something.c om'>www.somethi ng.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.vod atel.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-0000000026322AE 5531BF6438B0748 69664FD701C40C2 300/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******** ******@TK2MSFTN GP10.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.vod atel.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>Somethin g!<br>"&_
" <a href='http//www.something.c om'>www.somethi ng.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.CreateOb ject("SMTPsvg.M ailer")
Mailer.FromName = Request.Form("s ender_nm")
Mailer.FromAddr ess= Request.form("s ender")
Mailer.RemoteHo st = "mail.something .com"
Mailer.AddRecip ient Request.Form("r eceipt_nm"), Request.form("r eceipt")
Mailer.CustomCh arSet = "ISO-8859-2"
Mailer.ContentT ype = "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>Somethi ng <br>"&_
" </strong>Somethin g <br>"&_
" <a href='http//www.something.c om'>www.somethi ng.com</a></p>
</td></tr> </table>"
Mailer.BodyText = text

if Mailer.SendMail then
Response.Write( "<p><b>Sent!&nb sp;Thanks</b></p>")
else
Response.Write "<p><b>Somethin g 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******** *****@TK2MSFTNG P09.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.vod atel.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-0000000026322AE 5531BF6438B0748 69664FD701C40C2 300/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******** ******@TK2MSFTN GP10.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.vod atel.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>Somethin g!<br>"&_
>> " <a href='http//www.something.c om'>www.somethi ng.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.vod atel.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>Somethin g!<br>"&_
" <a href='http//www.something.c om'>www.somethi ng.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.ContentT ype = "text/html"

Ray at work

"polilop" <fm******@inet. hr> wrote in message
news:d5******** **@magcargo.vod atel.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.CreateOb ject("SMTPsvg.M ailer")
Mailer.FromName = Request.Form("s ender_nm")
Mailer.FromAddr ess= Request.form("s ender")
Mailer.RemoteHo st = "mail.something .com"
Mailer.AddRecip ient Request.Form("r eceipt_nm"), Request.form("r eceipt")
Mailer.CustomCh arSet = "ISO-8859-2"
Mailer.ContentT ype = "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>Somethi ng <br>"&_
" </strong>Somethin g <br>"&_
" <a href='http//www.something.c om'>www.somethi ng.com</a></p>
</td></tr> </table>"
Mailer.BodyText = text

if Mailer.SendMail then
Response.Write( "<p><b>Sent!&nb sp;Thanks</b></p>")
else
Response.Write "<p><b>Somethin g 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******** *****@TK2MSFTNG P09.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.vod atel.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-0000000026322AE 5531BF6438B0748 69664FD701C40C2 300/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******** ******@TK2MSFTN GP10.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.vod atel.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>Somethin g!<br>"&_
>> " <a href='http//www.something.c om'>www.somethi ng.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******** *****@TK2MSFTNG P12.phx.gbl...
I don't know that this is your problem, but one thing, you never set your
mail format to be HTML.

Mailer.ContentT ype = "text/html"

Ray at work

"polilop" <fm******@inet. hr> wrote in message
news:d5******** **@magcargo.vod atel.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.CreateOb ject("SMTPsvg.M ailer")
Mailer.FromName = Request.Form("s ender_nm")
Mailer.FromAddr ess= Request.form("s ender")
Mailer.RemoteHo st = "mail.something .com"
Mailer.AddRecip ient Request.Form("r eceipt_nm"), Request.form("r eceipt")
Mailer.CustomCh arSet = "ISO-8859-2"
Mailer.ContentT ype = "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>Somethi ng <br>"&_
" </strong>Somethin g <br>"&_
" <a href='http//www.something.c om'>www.somethi ng.com</a></p>
</td></tr> </table>"
Mailer.BodyText = text

if Mailer.SendMail then
Response.Write( "<p><b>Sent!&nb sp;Thanks</b></p>")
else
Response.Write "<p><b>Somethin g 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******** *****@TK2MSFTNG P09.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.vod atel.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-0000000026322AE 5531BF6438B0748 69664FD701C40C2 300/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******** ******@TK2MSFTN GP10.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.vod atel.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>Somethin g!<br>"&_
>> >> " <a href='http//www.something.c om'>www.somethi ng.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*****@hotmai l.com> wrote in message
news:uE******** ******@TK2MSFTN GP10.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.vod atel.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>Somethin g!<br>"&_
" <a href='http//www.something.c om'>www.somethi ng.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******** ******@TK2MSFTN GP15.phx.gbl...
Yes if the web provider uses it but this one dosen't, or he dosent have
to?

"Kyle Peterson" <kp*****@hotmai l.com> wrote in message
news:uE******** ******@TK2MSFTN GP10.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.vod atel.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>Somethin g!<br>"&_
" <a href='http//www.something.c om'>www.somethi ng.com</a></p>
</td></tr> </table>"
I looked at code that works and its the same why dosent this work



Jul 22 '05 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
3283
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 examples. Below this message you'll find the perl example I'm using and the header of the e-mail. What am I doing wrong?
6
11171
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 will include the code I originally used. I understand I should switch from CDONTS to CDO mail but after several sttempts I am finding a very hard time getting the new CDO mail to work properly. Any assistance with this would be greatly...
3
3259
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 = "W-MyPcName.mycompany.com"; mail.To=strTo; mail.Cc=strCC; mail.Bcc=strBCC;
3
3018
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 identifies itself as the computer name which is not in domain.com format, triggering spam filter problems). Instead, I want to have my code send through an SMTP server of a company that we pay for mail service. But they require a username and password....
34
18207
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 "127.0.0.1". 4. Authentication: "Anonymous access" only. 5. Outbound connection listen to TCP 25. Besides,
4
2103
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
17469
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 the bare minimum: System.Net.Mail.SmtpClient smtp = new System.Net.Mail.SmtpClient("<my mail server IP>", 25); smtp.Send("<one of my email addresses>", "<another of my email addresses>", "Hello", "World");
6
1973
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 work where an email goes out to let a person know an entry has been made with a copy of the text on that email. Works fine on my test system at home but not at work. I'm trying to remember which version of PHP I'm using there and I'm thinking...
2
2668
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. Because I don't understand PHP I cannot find the error. Who is willing to help? regards Ruud
2
5875
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 require("class.phpmailer.php"); $mail = new PHPMailer(); //$mail->IsSMTP(); // telling the class to use SMTP //$mail->Host = "smtp.example.com"; // SMTP server $from = "vasilis@emile.com"; $mail->From = $from;
0
8069
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8503
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
6826
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6017
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
3972
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4036
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2479
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1611
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
1339
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.