Error message mail to address

i have a form that i want to send an email to the address
that is submitted in the form.
i get the following error message for this line of code
ObjSendMail.To = "<%=cStr(Request.Form("textfield"))%>"
'error message'
Microsoft VBScript compilation (0x800A0401)
Expected end of statement
/PRCleaning/test.asp, line 95, column 40
ObjSendMail.To = "<%=cStr(Request.Form("textfield"))
what should the code be?
thanks for your help

think i have fixed that code; but now getting a different
error.
Error Type:
(0x8004020F)
The event class for this subscription is in an invalid
partition
/PRCleaning/test.asp, line 91
<%
Set myMail=CreateObject("CDO.Message")
myMail.Subject="Sending email with CDO"
myMail.From="[email protected]"
myMail.To="(Request.Form(textfield))"
myMail.TextBody="click on this link for current special &
vbCrlf &
http://www.prcleaningsupply.com/product_special_club_4-07.asp"
myMail.Configuration.Fields.Item _
http://schemas.microsoft.com/cdo/configuration/sendusing")=2
'Name or IP of remote SMTP server
myMail.Configuration.Fields.Item _
http://schemas.microsoft.com/cdo/configuration/smtpserver")
="smtp.east.cox.net"
'Server port
myMail.Configuration.Fields.Item _
http://schemas.microsoft.com/cdo/configuration/smtpserverport")
=25
myMail.Configuration.Fields.Update
myMail.Send 'this is line 91'
set myMail=nothing
%>

Similar Messages

  • Error message :mail unable to remove deleted messages in the mailbox

    Hi,
    I am frequently getting this error message: Mail was unable to remove the deleted messages in the mailbox (my email address) on server "mail.mac.com".
    The server error encountered was: Error MFMessageErrorDomain 1028
    Sometimes the error message says that time has logged out. The thing is, most of the time, even though I get the error message, the deleted messages are being removed. Once or twice, I had to delete a couple of messages a few times. I've been getting the error message several times a day for the last couple of days.
    If anyone can enlighten me about why this happens, I would appreciate it.
    Thanks

    Well guys, all of you who are having this problem, it appears as if no one in the know is interested in giving any insight into why this happens. As of now, I haven't gotten the error message for a couple of days, so maybe it's something which resolved itself, something with the server. I would still like to know why this happens, and I wish those of you who still are having the problem could get some answers. It it's possible, go to an Apple Retail store, and see if you can talk to a genius about this issue.

  • Error message "cannot open address book file" thunderbird freezes

    If I try to write an e-mail i get an error message "cannot open address book file". Then the program freezes, and I can not close the page, and none of the features of thunderbird works.

    Do you have the .swf file available still ?

  • Error message: Mail quit unexpectedly while using the AudioToolbox plug-in.

    I am receiving the following error message: Mail quit unexpectedly while using the AudioToolbox plug-in. I would appreciate any advice about what can be done to solve this problem. Thanks much.

    I am receiving the following error message: Mail quit unexpectedly while using the AudioToolbox plug-in. I would appreciate any advice about what can be done to solve this problem. Thanks much.

  • I have set up a 'group' in my contacts.  When I go to send an email to this 'group', I get an error message saying 'Invalid Address'. What am I doing wrong?

    I have set up a 'group' in my contacts.  When I go to send an email to this 'group', I get an error message saying 'Invalid Address'. What am I doing wrong?

    I have this problem too. I've always sent messages successfully via bcc to a group using a group email list in contacts. Now ... all of a sudden when I select the same group for bcc nothing happens! Cannot email my group now. Why not?

  • HT1918 I recieve an error message that my address does not match

    When entering a new number for creidt card I receive an Error message that the address does not match the banks address. I'm taking it right off the bank's statement - the same address Apple has used for 5 years or more. How can I get them to allow this address?

    One can divide by a number less than zero. One cannot divide by zero or a null value which is considered zero.
    Unless one is dividing by a non-zero constant, one needs to test for a divisor not equal to zero. Since JavaScript is an object orientated language one needs to get the field object and then test the value property of the field.
    var nDivisor = this.getField("line_2").value;
    event.value = "";
    if(nDivisor != 0) event.value = this.getField("line_1").value / nDivisor;

  • Error message-mail won't send....

    I keep getting this error message
    This message could not be delivered and will remain in your Outbox until it can be delivered.
    The server "smtp.mac.com" did not recognize the following recipients:
    I have sent out emails to this list of recipients before, why isn't it working now?

    is your outgoing server name: smtp.live.com?
    Enter "Windows Live Hotmail" under Description: for Outgoing Mail Server.
    Type "smtp.live.com" under Outgoing Mail Server:.
    Make sure Use Authentication is checked.
    Enter your full Windows Live Hotmail address (e.g. "[email protected]") under User Name:.
    Type your Windows Live Hotmail password under Password:.
    Click Continue.

  • Can't open "People" due to error message saying email address not found

    Unable to access addresses saved in "People". I am able to open, but error message reads that email address cannot be found.

    I suppose you mean a webmail service, but it might help to know which one.

  • Error message - Specify either address number or address handle

    Hi all,
    When I tried to display an outbound delivery, there is a status message which says 'Specify either address number or address handle'.
    Please let me know the reason for the above.
    Thanks and regards,
    Anishur

    Hello Anishur
    Today I have received the same error message while processing an inbound ORDERS IDoc. The error is due to the partner segments E1EDKA1 which contained:
    PARVW     AG
    ILNNR     SHOPS02020001
    PARVW     WE
    ILNNR     SHOPS02020001
    When I changed the data in this segments as shown below it works:
    PARVW     AG
    LIFNR     SHOPS02020001
    PARVW     WE
    LIFNR     SHOPS02020001
    Regards
      Uwe

  • Error message when syncing Address book

    Help, I just recently had my BB8100 replaced due to a trackball failure ever since then when I try and sync with Outlook it works fine until I get to the address book then it stops syncing and gives me an error message 0x800040fb3.  I have searched everywhere and cannot find what this means.  Anyone have any ideas?

    Please confirm that the below steps are being follwoed to configure synchronization -
    Connect your device using Desktop Manager and click on Synchronization
    From the menu on the left click Synchronization under Configuration
    Again click Synchronization button on the right which will give you option to Select Device Application that you want to synchronize
    Put the check mark and you'll get a prompt to Select Desktop Application
    Highlight the application name and click next button
    Under Synchronization Option you get Direction of Synchronization
    Check the radio button with Two way sync 
    Note: above mentioned steps are explained as per Desltop Manager 4.5
    Example: Synchronize addressbook -
    Connect you HH with your desktop Manager in your PC. If you device is set to wireless sync then you need to turn off wireless synchronization. To do so go to Address Book -> click Menu -> Options -> Wireless Synchronization: No -> click Menu and Save the changes.
    Click on the Synchronize button on Desktop Manager -> Click on Configuration Tab then click on Configure Synchronization -> Click on Choose under Address Book (on the right side of the pop up window) -> Click on you organizer apps (like, MS outlook, Lotus notes etc) -> Select desired apps -> select Synchronization radio button and click OK twice go back to Synchronize tab ->click on Synchronize Now.
    tanzim                                                                                  
    If your query is resolved then please click on “Accept as Solution”
    Click on the LIKE on the bottom right if the post deserves credit

  • Atv error message "Your email address has changed or is invalid...."

    this error message first appeared when i originally bought my atv in the spring. After tech support and swapping the my first atv, I eventually setup a second itunes account with a new email address and the issue went away. However occasionally it persists. the full message is "Your email address has changed or is invalid. Go to the itunes store on your computer and update your account info." Surprisingly I am able to log in to itunes on my computer with the same email address and login on my apple tv, but when i attempt to purchase or rent the error message appears and prevents my from buying. Sometimes like tonight i give up and just don't purchase anything. Anyone know how to fix this?

    We had this same problem, and we found a fix that seems to have worked. It's a silly bug having to do with a change in the way your state of residence is stored in your account. The problem and fix is described here:
    http://macmost.com/apple-tv-valid-address-error.html
    Hope this helps.

  • Using my Actiontec modem's wifi, it doesn't find my new airport express.  When I use the new airport express network I created error message says ip address is wrong.  Help setting this new airport express up

    Using my Actiontec modem's wifi, it doesn't find my new airport express.  Using the new airport express network I just set up it says the ip address is invalid.  What can I do to overcome this blinking amber light and error messages?

    You need to begin by configuring the AEX to Join an existing network (Bridge Mode.) You can then connect to it using Wi-Fi, but the AEX will not extend your existing network.
    If you can connect the AEX to your existing router using Ethernet, then you could use it to Create a new network. Otherwise, if you want to extend your existing network you will need to get a Wireless Access Point - WAP - from a non-Apple product like D-Link.

  • Error message:  Mail can't connect to the account "Yahoo"

    Talked with Apple support and could not get this resolved.  We first tried going to Mail Preferences and making sure everything on the accounts were correct.  I do have two Yahoo email accounts on this computer.  Next time I called we went to System Preferences - Mail, Contacts, & Calendar's and deleted each account.  Then added them back.  I'm still getting the error message.

    Open Keychain Access in Utilities, use Keychain First Aid under the Keychain Menu item, then either check the Password under that item, change it, or delete it and start over.
    You may have multiple entries. Delte them all.
    Open Keychain Access in Utilities, enter the part after the @ sign in the search bar, hit enter
    The Password rejection can confuse people since it's a catch all meaning...
    This Password, Username, Authentication method... is not recognized on this Port to this Server, or a server end problem.
    If using a browser to login via WebMail works it's not Name or Password, but one of the other ones.
    The receiving email ports are:
    IMAP is port 143
    IMAP-SSL is port 993
    POP is port 110
    POP-SSL is port 995
    Outgoing ports are...
    SMTP and SMTP-SSL is on ports 25, 587 and 465. Port 587 has to be SSL, and port 465 is enforced TLS-wrapped and is generally used by Outlook users.

  • Received an error message Mail server didn't recognize your user/passwork combination. How you I change my password to send the email?

    Tried to send a photo, received error message The email server didn't recognize your user/password combination.  How do I correct the password?

    Mail -> Preferences -> Accounts -> Account Information -> Password.  Tho' if it has been working in the past and suddenly you're getting this message without you having changed anything in your settings then it may be a problem at the server end.  If that's the case then leave it a few hours and try again.  If the problem persists after 24 hours then try changing your settings.

  • Error Sending Mail to Addresses Not In My Address Book

    When trying to send a new email to anyone who IS in my address book, the outgoing mail sends successfully. However, when trying to send a new message to someone NOT in my address book, I get the pop-up window asking me which server to use. I click on the only server address I have set up and it immediately pops the same window right back up, won't send the message, and wants to place it into the outbox folder.
    If I go into my address book and add the address I'm sending to, then go back and resend the mail, it goes through successfully.
    I don't have this issue with my mail accounts on multiple other macs that we have. Why is the mail application on this one machine causing this annoying error?

    bump

Maybe you are looking for

  • Safari RSS does not connect to a web site (while Firefox does ..)

    I have some kind of a (new) problem here. It recently has become impossible to connect to the following URL : http://www.collishop.be/collishop/hifi/ I get the spinning symbol and a white page. I can't tell when this happened for the first time (afte

  • Acrobat 9.2.0 update message

    I keep getting messages telling me to update Adobe Acrobat (9.2.0). The lionk i the message did not allow me to download so I have downloaded all updates from the Adobe webiste but I still keep getting the message every time I turn on my computer. Is

  • Draw string in center

    Hi, I would like to draw a string into center of my own Lable component. How can I know what position of x , y ? I'm using g.drawString(mytext, x , y ); in paintComponent() method.

  • I cannot use the FS-4000DN printer with my mac pro.  What driver do I need?

    I have a refurbished Mac Book Pro with OS X 10.8.5 and cannot find a driver for the Ecosys FS-4000DN Printer.  Says my mac book is incompatible.  I realize this may not be a mac problem but one with the printer co.  Any ideas?

  • Hello!i need help

    hello! i need help with my i pad 3 i cant type anything anymore .only it shows a picture with a cable and the i tunes sign now at i tunes says that i have to clean the i pad up...that means i will loose all my pictures there???i have about 1500 pictu