|
 |
asp_components thread: email problem
Message #1 by 9724613@s... on Fri, 16 Mar 2001 14:27:26
|
|
I trying to send an email to users who have just registered to my site.
the code below gives me this error
jmail.SMTPMail error '8000ffff'
The message was undeliverable. All servers failed to receive the message
/christine/asp-bin/register.asp, line 126
Where line 126 is JMail.Execute
Set JMail = Server.CreateObject("JMail.SMTPMail")
JMail.ServerAddress = "<gabriel.ul.ie>"
JMail.SenderName = "9724613@s..."
JMail.Subject = "Registered
JMail.AddRecipient Request.Form("emailaddress")
JMail.Body = "Thankyou for registering"
JMail.Priority = 1
jmail.AddHeader "Originating-IP", Request.ServerVariables("REMOTE_ADDR")
JMail.Execute
Any help would be greatly appreciated
christine
Message #2 by "Jonothon Ortiz" <jon@x...> on Fri, 16 Mar 2001 09:42:35 -0500
|
|
do you have this set up on a server that is not Windows NT4 / SP5 or greater
OR does not have SMTP installed?
If that's not the case, replace
JMail.ServerAddress = "<gabriel.ul.ie>"
with
JMail.ServerAddress = "gabriel.ul.ie"
and see if that works.
Jonothon Ortiz
Senior Web Developer
Xnext, Inc.
Ph: xxx.xxx.xxxx
or 888.84.XNEXT
http://www.Xnext.com
mailto:jon@x...
-----Original Message-----
From: 9724613@s... [mailto:9724613@s...]
Sent: Friday, March 16, 2001 5:46 PM
To: ASP components
Subject: [asp_components] email problem
I trying to send an email to users who have just registered to my site.
the code below gives me this error
jmail.SMTPMail error '8000ffff'
The message was undeliverable. All servers failed to receive the message
/christine/asp-bin/register.asp, line 126
Where line 126 is JMail.Execute
Set JMail = Server.CreateObject("JMail.SMTPMail")
JMail.ServerAddress = "<gabriel.ul.ie>"
JMail.SenderName = "9724613@s..."
JMail.Subject = "Registered
JMail.AddRecipient Request.Form("emailaddress")
JMail.Body = "Thankyou for registering"
JMail.Priority = 1
jmail.AddHeader "Originating-IP", Request.ServerVariables("REMOTE_ADDR")
JMail.Execute
Any help would be greatly appreciated
christine
Message #3 by "Fotopoulos, Lefteris" <LFot@e...> on Fri, 16 Mar 2001 16:57:21 +0200
|
|
I don't know if it's a missprint but there is a " missing from JMail.Subject
= "Registered.
Also try to Trim all your strings.
For example:
JMail.AddRecipient Trim(Request.Form("emailaddress"))
PS. I think the .AddRecipient method must be called each time you want to
add a recipient.
The JMail.AddRecipient Request.Form("emailaddress") will work only if there
is one email address in the Request.Form("emailaddress") collection.
-----Original Message-----
From: 9724613@s... [mailto:9724613@s...]
Sent: Saturday, March 17, 2001 12:46 AM
To: ASP components
Subject: [asp_components] email problem
I trying to send an email to users who have just registered to my site.
the code below gives me this error
jmail.SMTPMail error '8000ffff'
The message was undeliverable. All servers failed to receive the message
/christine/asp-bin/register.asp, line 126
Where line 126 is JMail.Execute
Set JMail = Server.CreateObject("JMail.SMTPMail")
JMail.ServerAddress = "<gabriel.ul.ie>"
JMail.SenderName = "9724613@s..."
JMail.Subject = "Registered
JMail.AddRecipient Request.Form("emailaddress")
JMail.Body = "Thankyou for registering"
JMail.Priority = 1
jmail.AddHeader "Originating-IP", Request.ServerVariables("REMOTE_ADDR")
JMail.Execute
Any help would be greatly appreciated
christine
Message #4 by CoolBratt <shardulmahajan@y...> on Mon, 19 Mar 2001 03:59:17 -0800 (PST)
|
|
hi there...
i am a fresher but i think that pls check the line for
jmail.subject the quotes are not closed...may be that
is causing the prob.
if this is not then do let me know the solution...when
u will get it...bye
--- 9724613@s... wrote:
> I trying to send an email to users who have just
> registered to my site.
> the code below gives me this error
>
> jmail.SMTPMail error '8000ffff'
> The message was undeliverable. All servers failed to
> receive the message
> /christine/asp-bin/register.asp, line 126
> Where line 126 is JMail.Execute
>
> Set JMail = Server.CreateObject("JMail.SMTPMail")
>
> JMail.ServerAddress = "<gabriel.ul.ie>"
>
> JMail.SenderName = "9724613@s..."
> JMail.Subject = "Registered
>
> JMail.AddRecipient Request.Form("emailaddress")
>
> JMail.Body = "Thankyou for registering"
> JMail.Priority = 1
>
> jmail.AddHeader "Originating-IP",
> Request.ServerVariables("REMOTE_ADDR")
>
> JMail.Execute
>
> Any help would be greatly appreciated
>
> christine
Message #5 by CHRISTINE CAREW <9724613@s...> on Tue, 20 Mar 2001 11:42:23 +0000
|
|
Hi
The line where the quotes are not closed is a misprint.
The solution to my problem was to replace this,
JMail.ServerAddress = "<gabriel.ul.ie>"
with
JMail.ServerAddress = "gabriel.ul.ie"
-----Original Message-----
From: CoolBratt [mailto:shardulmahajan@y...]
Sent: Monday, March 19, 2001 11:59 AM
To: ASP components
Subject: [asp_components] Re: email problem
hi there...
i am a fresher but i think that pls check the line for
jmail.subject the quotes are not closed...may be that
is causing the prob.
if this is not then do let me know the solution...when
u will get it...bye
--- 9724613@s... wrote:
> I trying to send an email to users who have just
> registered to my site.
> the code below gives me this error
>
> jmail.SMTPMail error '8000ffff'
> The message was undeliverable. All servers failed to
> receive the message
> /christine/asp-bin/register.asp, line 126
> Where line 126 is JMail.Execute
>
> Set JMail = Server.CreateObject("JMail.SMTPMail")
>
> JMail.ServerAddress = "<gabriel.ul.ie>"
>
> JMail.SenderName = "9724613@s..."
> JMail.Subject = "Registered
>
> JMail.AddRecipient Request.Form("emailaddress")
>
> JMail.Body = "Thankyou for registering"
> JMail.Priority = 1
>
> jmail.AddHeader "Originating-IP",
> Request.ServerVariables("REMOTE_ADDR")
>
> JMail.Execute
>
> Any help would be greatly appreciated
>
> christine
---
SoftArtisans helps developers build robust, scalable Web applications!
Excel Web reports, charts: http://www.softartisans.com/excelwriter.html
File uploads: http://www.softartisans.com/saf.html
Transactional file management: http://www.softartisans.com/saf1.html
Scalability: http://www.softartisans.com/saxsession.html
ASPstudio value pack: http://www.softartisans.com/aspstudiosuite.html
$subst('Email.Unsub')
Message #6 by "Richard Flapper" <flapper@r...> on Tue, 20 Mar 2001 13:00:00 +0100
|
|
Hi there, this is some actual working code using the JMail component:
Set oMail = Server.CreateObject ("JMail.SMTPMail")
oMail.ServerAddress = "193.67.32.37"
oMail.SenderName = "Test.nl"
oMail.Sender = "justanemailadres@t..."
oMail.Subject = "Test.nl"
oMail.AddRecipient szEMail
oMail.Body = szBody
oMail.Priority = 3
oMail.AddHeader "Originating-IP", Request.ServerVariables("REMOTE_ADDR")
oMail.Execute
It uses the variables szEmail and szBody but it should be readable!
Cheers,
Richard
----- Original Message -----
From: "CHRISTINE CAREW" <9724613@s...>
To: "ASP components" <asp_components@p...>
Sent: Tuesday, March 20, 2001 12:42 PM
Subject: [asp_components] Re: email problem
> Hi
> The line where the quotes are not closed is a misprint.
> The solution to my problem was to replace this,
>
> JMail.ServerAddress = "<gabriel.ul.ie>"
>
> with
>
> JMail.ServerAddress = "gabriel.ul.ie"
>
>
> -----Original Message-----
> From: CoolBratt [mailto:shardulmahajan@y...]
> Sent: Monday, March 19, 2001 11:59 AM
> To: ASP components
> Subject: [asp_components] Re: email problem
>
>
> hi there...
>
> i am a fresher but i think that pls check the line for
> jmail.subject the quotes are not closed...may be that
> is causing the prob.
>
> if this is not then do let me know the solution...when
> u will get it...bye
>
> --- 9724613@s... wrote:
> > I trying to send an email to users who have just
> > registered to my site.
> > the code below gives me this error
> >
> > jmail.SMTPMail error '8000ffff'
> > The message was undeliverable. All servers failed to
> > receive the message
> > /christine/asp-bin/register.asp, line 126
> > Where line 126 is JMail.Execute
> >
> > Set JMail = Server.CreateObject("JMail.SMTPMail")
> >
> > JMail.ServerAddress = "<gabriel.ul.ie>"
> >
> > JMail.SenderName = "9724613@s..."
> > JMail.Subject = "Registered
> >
> > JMail.AddRecipient Request.Form("emailaddress")
> >
> > JMail.Body = "Thankyou for registering"
> > JMail.Priority = 1
> >
> > jmail.AddHeader "Originating-IP",
> > Request.ServerVariables("REMOTE_ADDR")
> >
> > JMail.Execute
> >
> > Any help would be greatly appreciated
> >
> > christine
>
>
> ---
> SoftArtisans helps developers build robust, scalable Web applications!
> Excel Web reports, charts: http://www.softartisans.com/excelwriter.html
> File uploads: http://www.softartisans.com/saf.html
> Transactional file management: http://www.softartisans.com/saf1.html
> Scalability: http://www.softartisans.com/saxsession.html
> ASPstudio value pack: http://www.softartisans.com/aspstudiosuite.html
> $subst('Email.Unsub')
>
>
> ---
> SoftArtisans helps developers build robust, scalable Web applications!
> Excel Web reports, charts: http://www.softartisans.com/excelwriter.html
> File uploads: http://www.softartisans.com/saf.html
> Transactional file management: http://www.softartisans.com/saf1.html
> Scalability: http://www.softartisans.com/saxsession.html
> ASPstudio value pack: http://www.softartisans.com/aspstudiosuite.html
$subst('Email.Unsub')
>
Message #7 by "Richard Flapper" <flapper@r...> on Tue, 20 Mar 2001 12:58:24 +0100
|
|
Hi, this is some actually working code using the JMail component:
----- Original Message -----
From: "CHRISTINE CAREW" <9724613@s...>
To: "ASP components" <asp_components@p...>
Sent: Tuesday, March 20, 2001 12:42 PM
Subject: [asp_components] Re: email problem
> Hi
> The line where the quotes are not closed is a misprint.
> The solution to my problem was to replace this,
>
> JMail.ServerAddress = "<gabriel.ul.ie>"
>
> with
>
> JMail.ServerAddress = "gabriel.ul.ie"
>
>
> -----Original Message-----
> From: CoolBratt [mailto:shardulmahajan@y...]
> Sent: Monday, March 19, 2001 11:59 AM
> To: ASP components
> Subject: [asp_components] Re: email problem
>
>
> hi there...
>
> i am a fresher but i think that pls check the line for
> jmail.subject the quotes are not closed...may be that
> is causing the prob.
>
> if this is not then do let me know the solution...when
> u will get it...bye
>
> --- 9724613@s... wrote:
> > I trying to send an email to users who have just
> > registered to my site.
> > the code below gives me this error
> >
> > jmail.SMTPMail error '8000ffff'
> > The message was undeliverable. All servers failed to
> > receive the message
> > /christine/asp-bin/register.asp, line 126
> > Where line 126 is JMail.Execute
> >
> > Set JMail = Server.CreateObject("JMail.SMTPMail")
> >
> > JMail.ServerAddress = "<gabriel.ul.ie>"
> >
> > JMail.SenderName = "9724613@s..."
> > JMail.Subject = "Registered
> >
> > JMail.AddRecipient Request.Form("emailaddress")
> >
> > JMail.Body = "Thankyou for registering"
> > JMail.Priority = 1
> >
> > jmail.AddHeader "Originating-IP",
> > Request.ServerVariables("REMOTE_ADDR")
> >
> > JMail.Execute
> >
> > Any help would be greatly appreciated
> >
> > christine
|
|
 |