Send an email with the password

I am new to this, but I really tried to learn about this, please bear with me while I hope I have my question in a way that you can understand what I'm asking. What I'm trying to do, is to build a simple page with a form, a box and a button. In the text box, the user will provide its name and hitting the button send the user will be sent a password for access to his email address that they provided with when they registered with our company. Sounds simple right? Well, for me it has become a headache.

I work with an asp code and using CDOSYS to send my application. I enclose the code in order to review and see if you have solutions.



< %@LANGUAGE="VBSCRIPT"% >
<!-file = "Connections/register.asp #include" - > "
< %
Dim rsgetpassword__MMColParam
rsgetpassword__MMColParam = '1 '.
If (Request.Form ("txtusername") <>"") then
rsgetpassword__MMColParam = Request.Form ("txtusername")
End If
% >
< %
Dim rsgetpassword
Dim rsgetpassword_numRows

Set rsgetpassword = Server.CreateObject ("ADODB. Recordset')
rsgetpassword. ActiveConnection = MM_register_STRING
rsgetpassword. Source = "SELECT password, Email FROM dbo. ' Username WHERE UserName = ' ' + replace (rsgetpassword__MMColParam, "'", "" ") +" ' ORDER BY UserName ASC ".
rsgetpassword. CursorType = 0
rsgetpassword. CursorLocation = 2
rsgetpassword. LockType = 1
rsgetpassword. Open()

rsgetpassword_numRows = 0
% >
< %
If rsgetpassword. BOF AND rsgetpassword. When the EOF
Response.Redirect ("forgotpassword2.asp")
End If
% >

< %
Set myMail = CreateObject ("CDO. Message")

myMail.Configuration.Fields.Item (" http://schemas.microsoft.com/cdo/configuration/sendusing") = 1
myMail.Configuration.Fields.Item (" http://schemas.microsoft.com/cdo/configuration/smtpserver") = "" SMTP Server ""
myMail.Configuration.Fields.Item (" http://schemas.microsoft.com/cdo/configuration/smtpserverport") = 25
myMail.Configuration.Fields.Update
myMail.Subject = "Site name > here's your password!
myMail.From = "[email protected]."
myMail.To = rsgetpassword. Fields.Item ("Email"). Value
myMail.TextBody = "password:" & rsgetPassword.Fields.Item("Password"). "» Value & vbcrlf
myMail.Send
Set myMail = nothing
% >

I don't get any errors, but there is no e-mails either.
myMail.Configuration.Fields.Item (" http://schemas.microsoft.com/cdo/configuration/sendusing") = 2
I tried to change my code to connect to a remote server and adding the IP address of the server. When I do that my page completely fails and the only error I get is Error 500. That tells me that there is an error in programming or server. Please help me

I took a long break of it and when I came back, I changed my sendusing towards = 2. The reason why I do not think that it worked was because I sent myself a test email and it was taken in the 40s and I do not see it in my Inbox.

Tags: Dreamweaver

Similar Questions

  • How to send an email with the link that has the user id?

    Hello everyone, I'm trying to send an email with the link that includes the user id. After users click the link, they should be able to see the form with their information that has been previously fulfilled. So my question is after I have send email how and what is the best way to get information and show it to the user. What should be separate page with the cfquery limited on the id user or something else? If anyone has an idea of what is the best way to do it please let me know. I already have my code who send e-mails.

    You save all the fields submitted initially to a database?  If so, run a query and then convert them to the form field, query values. I don't know what looks like your data (or database), but a simplified version might look like this.

    SELECT FirstName

    OF SavedFormTable

    WHERE ID =

  • I use different e-mail accounts: I send an email with the sender A (standard!), email is archived to the sender sent archive and the email is sent to the sender, B

    A really strange problem!

    I use different e-mail accounts. I send an email with a sender (defined as standard!), email is archived in archive A sent from the sender, the sender is wrote in the header of the email as the sender, but the email is sent with the sender B written as the sender in the email received.

    Best regards, Michael

    It sounds like you do not use the right smtp server to send the e-mail.

    Please check what 'Sender A' smtp server account uses.
    'Tools' > 'Account settings' for the e-mail account
    or
    Right click on the email account in the folders pane, and then select "settings".
    Lower-right - outgoing (SMTP) server - select the correct SMTP server for that e-mail account.
    See the image below as an aid.
    Click OK

    If you are unsure about what to do please post the following information:

    In Thunderbird

    • Help > troubleshooting information
    • Click on 'copy text to the Clipboard.
    • In the forum, in this issue, right-click in a text box ' Post a reply ' and choose 'paste '.

    Tell me the number of the account which is "sender."
    Tell me the number of the account how recipient sees as venues.

  • Unable to send an email with the BlackBerry Simulator

    I am trying to set up the BlackBerry Simulator so it can send and receive e-mails from my e-mail server (hosted). While I followed the recommendations in the various articles on how to use the ESS or configure MDS, I can't always send electronic messages of the Simulator.

    E-mail messages are retrieved successfully by the Simulator, however.

    I tried to use both the ESS as well as the various email configuration options under [Email] in the config rimpublic.property MDS file. Both produce the same error message (pasted below).

    I checked several times that the settings for SMTP and POP are properly typed. Interestingly, the following stack trace indicates failure of the SMTP connection on port 25, but this isn't the port number that I entered.

    I wonder if the simulation of e-mail is unable to work with ports other than 25 SMTP?

    I mainly use the ESS and MDS came it with the JDE 4.3 and 4.3 OS simulator 8330, although the 4.6 OS 9000 Simulator produces the same result.

    Any help on this would be much appreciated.

    <2009-09-26 13:45:47.546="" pdt="">:[352]:::
    Exception, javax.mail.MessagingException: could not connect to SMTP host: smtpo
    UT. Secureserver.NET, port: 25;
    LAYER = CMIME, EVENT = Exception, nested exception is:
    LAYER = CMIME, EVENT except java.net.ConnectException: ti connect
    Med out: connect
    LAYER = CMIME, EVENT = Exception, at com.sun.mail.smtp.SMTPTransport.openS
    erver(SMTPTransport.Java:1227)
    LAYER = CMIME, EVENT = Exception, at com.sun.mail.smtp.SMTPTransport.proto
    colConnect(SMTPTransport.java:322)
    LAYER = CMIME, EVENT = Exception, at javax.mail.Service.connect (Service.ja
    will: 236)
    LAYER = CMIME, EVENT = Exception, at javax.mail.Service.connect (Service.ja
    will: 137)
    LAYER = CMIME, EVENT = Exception, at javax.mail.Service.connect (Service.ja
    will: 86)
    LAYER = CMIME, EVENT = Exception, at javax.mail.Transport.send0 (Transport.
    Java: 150)
    LAYER = CMIME, EVENT = Exception, at javax.mail.Transport.send (Transport.j
    AVA: 80).
    LAYER = CMIME, EVENT = Exception, at net.rim.ippp.a.b.g.ar.bx.dJ.a (mailbox
    Watcher.Java:106)
    LAYER = CMIME, EVENT = Exception, at net.rim.ippp.a.b.g.ar.bt.xr.b (CmimePa
    RSSR. Java:385)
    LAYER = CMIME, EVENT = Exception, at net.rim.ippp.a.b.g.ar.bt.xr.a (CmimePa
    RSSR. Java:48)
    LAYER = CMIME, EVENT = Exception, at net.rim.ippp.a.b.g.ar.xC.g (CmimeLayer
    Packet.Java:68)
    LAYER = CMIME, EVENT = Exception, at net.rim.ippp.a.b.g.ar.ac.hE.a (CmimeLa
    yerReceivingQueueManager.java:65)
    LAYER = CMIME, EVENT = Exception, at net.rim.ippp.a.b.g.ar.N.ab.run (listening
    ForClientsPackets.java:82)
    <2009-09-26 13:45:47.546="" pdt="">:[352]:::<>
    exception: could not connect to SMTP host: smtpout.secureserver.net, port: 25;
    nested exception is:
    java.net.ConnectException: Connection timed out: connect >
    <2009-09-26 13:45:47.546="" pdt="">:[352]:::
    MTPTransport.openServer (SMTPTransport.java:1227) >
    <2009-09-26 13:45:47.546="" pdt="">:[352]:::
    MTPTransport.protocolConnect (SMTPTransport.java:322) >
    <2009-09-26 13:45:47.546="" pdt="">:[352]:::
    Connect (Service.java:236) >
    <2009-09-26 13:45:47.546="" pdt="">:[352]:::
    Connect (Service.java:137) >
    <2009-09-26 13:45:47.546="" pdt="">:[352]:::
    Connect (Service.java:86) >
    <2009-09-26 13:45:47.546="" pdt="">:[352]:::
    t.send0 (transport. Java:150) >
    <2009-09-26 13:45:47.546="" pdt="">:[352]:::
    t.Send (transport. Java:80) >
    <2009-09-26 13:45:47.546="" pdt="">:[352]:::
    ar.bx.dJ.a(MailboxWatcher.java:106) >
    <2009-09-26 13:45:47.546="" pdt="">:[352]:::
    AR. BT. XR.b (CmimeParser.Java:385) >
    <2009-09-26 13:45:47.546="" pdt="">:[352]:::
    AR. BT. XR.a (CmimeParser.Java:48) >
    <2009-09-26 13:45:47.546="" pdt="">:[352]:::

    ar.xC.g(CmimeLayerPacket.java:68) >
    <2009-09-26 13:45:47.546="" pdt="">:[352]:::
    ar.ac.hE.a(CmimeLayerReceivingQueueManager.java:65) >
    <2009-09-26 13:45:47.546="" pdt="">:[352]:::
    AR. N.ab.Run (ListenForClientsPackets.java:82) >

    Unfortunately, I wasn't able to find a solution to this. It seems that port 25 is hardcoded in the SSE code and any value is entered in the form, it is port 25 is used.

    My guess is that probably the only way out it is either:

    (a) find an email provider that uses port 25. Unfortunately gmail and none of the other e-mail providers I use actually use port 25, or

    (b) to set up your own mail server that uses port 25.

  • Please help send an email with the html page in the body

    I need an html page on the body of an email to send a blast to send to our customers.

    HTML emails can be a bit complicated. You can design in Dreamweaver, but you shouldn't really have to send emails of mass through to your personal e-mail account (or your company account). Could you put blacklisted by spam filters in the company and make your pretty useless email addresses.

    Mass emailings (more than a few hundred addresses) I use http://www.icontact.com.

    You can build the email through their site (without DW) or you can import your DW html file to their service.

    Some things to keep in mind with the HTML email...

    1. the use of absolute links to the images and files on a server you control

    2. use a limited amount of inline css (no external css or integrated)

    3. specify in table based layouts, css support is spotty at best with email clients

    4. thewill be eliminated a number of email clients don't rely not on what it is between theTags makes to your recipients

    5. do not use an email only to images. HTML text is very important to keep from being labeled as spam, make the secondary images in the message, many email clients will not download images without permission of the user

    6. include a link to unsubscribe so people can get off your list

    There are more things to watch, but who are the biggest. Here are some other good info: http://alt-web.com/Articles/HTML-Emails.shtml

  • Send an email with the access to the content a row

    How can I send the email link to the user to access a specific document in IR report page?

    I send send plugin and send his job very well, but the body of the email.

    It comes to the test by automated DMS system message.

    " < a href =" http:// localhost:7777 / pls/apex/f? p= & APP_ID.:17: & SESSION. : & DEBUG. : "> please click < /a >"

    By,.

    DMS development team

    When I open email link his request user name and password to the normal user login page? but I need this user can access the particular record not only the rest of the row.

    Change to what I think you're asking for.

    If you would like to use ID instead of ROWID

  • Email with the password problem

    I get an error message when I send emails.  I get them, but I get a message that my "SMTP.me.com" refuse my password.  How can I fix?

    If I were you, I would like to disconnect iCloud, then reconnect.

  • Create a simple form that sends an email with the data

    I am creating a form of simple command for our Web site that allows people to fill out their name and address and have these data by e-mail to me.  I'm familiar with Dreamweaver, but have never looked into this kind of thing before.  I've read several tutorials on the use of PHP script to do this and he's going to 'confirmed' url after clicking on send, but I never have the e-mail.  Our site is hosted on GoDaddy.

    Could someone guide me through this process, or at least point me in the right direction?

    Thank you.

    Here is a link to a video tutorial that can help.

    http://www.Tutvid.com/tutorials/Dreamweaver/tutorials/phpFormHandler.php

  • I need to send an email when the recipient opens the PDF with a password, can someone help me and show me how to do

    Hello, I am trying to send an email when the recipient opens the PDF with a password, can someone show me how to do

    Hi Line,

    Password protect a PDF file, you must use Acrobat. If you do not have Acrobat, you can try it free for 30 days. See www.adobe.com/products/acrobat.html for more information.

    In Acrobat, choose file > properties when the document is open, and then click the Security tab allows you to set up a password.

    Please let us know how it goes.

    Best,

    Sara

  • TB change the sender name to my name to email classic. Fritz! Box send a pushmail with the name "Fritz!" Box '. In the Inbox of my ISP of this name is present. ...

    TB change the sender name to my name to email classic.
    Fritz! Box send a pushmail with the name of the sender "Fritz!" Box' to my standard email address.
    In the Inbox of my ISP of this name is present. Get this mail with TB the name "Fritz!" Box"is changed in lastname, firstname. This is the full name of my standard email address as I stated in my address book.

    In the toolbar > Options > view > advanced and turn off "see the show only the names of the people in my address book."

  • Since the upgrade to 31.1.0, I can't send an email with an attachment. I'm under OpenSuse 13.1 on KDE. How can I fix?

    If I try to send an email with an attachment or a picture inserted, it starts to send with a progress bar that will read a 80 to 95% completion and then stay there until it times out after a few minutes. I get this error: failed to send the message.
    The message cannot be sent because the connection to the server of SMTP outgoing.verizon.net expired. Try again or contact your network administrator.
    I use the same provider of e-mail for several years. This works for emails of simple texts without problem. If I try to transfer or to respond to an email, I get the same error.
    How can I fix?

    Thank you

    Robert

    OK, I thought about it. As I was going through the configuration editor, I saw the outgoing server settings. It made me wonder if something had changed. I went to my provider and reinforced through their list and found where mine differ. If the update for thunderbird changed something or verizon changed something.
    Thanks for the comments.

  • I need a way to send emails with the SAME unique 'from' and 'reply-to' address that my current method to use a generic account is at the origin of the problems.

    I have my own areas and when I email companies and organizations I always give them a single as e-mail address: [email protected]. This helps cut down on SPAM and identifies when organizations are hacked so I can 'kill' individual addresses with my domain registration.

    I currently do this by using a temporary NOSPAM Thunderbird "generic" account "from" address (which I need to change from time to time and 'kill' with my domain registration to prevent SPAM) and I change the 'reply-to' address when I send an email to such an organization. What tends to work OK most of the time, but often the 'reply-to' address is lost at the other end, perhaps when the emails are forwarded internally. This can leave some temporary old sent emails "from" addresses never happen to me.

    Much cleaner would be to send these emails with identical (and unique) 'from' and 'reply-to' fields. Someone has ideas how to achieve this goal, but obviously without creating an individual account each time? If Thunderbird helped change the address 'from', in special circumstances, it might be a solution.

    Have you considered adding several identities to the main account? In addition, there are modules allowing to select the correct identity to send messages:

    https://addons.Mozilla.org/en-us/Thunderbird/addon/identity-Chooser/

    https://addons.Mozilla.org/en-us/Thunderbird/addon/correct-identity/

    and another which might be of interest: https://www.absorb.it/virtual-id

  • I can't send emails with the server that I use to receive. Can you tell me how to find my server from?

    Help send emails

    I can't send emails with the server that I use to receive. Can you tell me how to find my server going.

    Your provider of messaging service for this information.

  • When I send an email with an attachment, the recipient cannot open it.

    I TRY to SEND YEAR EMAIL WITH AN ATTACHMENT OF THE WORD or PIECE WORK. THE PERSON RECEIVING THE MAIL CANNOT USE THE FORMAT AND THE APPLICATION TO BE CONVERTED TO PDF. HOW DO I DO THAT?

    Open the docunent in Word and save it as a PDF file.
     
    The Applications Microsoft Office forums
    http://answers.Microsoft.com/en-us/Office
  • I tried to send an email with attachment and without attachment and received the "windows live Hotmail was not able to complete this application. "Microsoft may contact you about problems that report you.

    I tried to send an email with attachment and without attachment and received the error "windows live Hotmail was not able to complete this application. "Microsoft may contact you about problems that report you.

    Hi AbdiNur,

    This forum is for comments on the Microsoft Answers site.  As your question is on Hotmail, I recommend posting your question on the forums for Hotmail:

    http://www.windowslivehelp.com/forums.aspx?ProductID=1

    Thank you for using Microsoft Answers!

Maybe you are looking for

  • Portege A600 - need driver for MAST * A DVD-RAM UJ 862AS

    Please, where can I find the driver for: CARPET * A DVD-RAM UJ 862AS Thank you in advance. Sabre - Italy

  • Update graphics card for want h8-1534

    I recently bought a card 750ti gtx for this computer, and the built-in sound is now disabled. That, I understand that will happen as the graphics card also has a part of the sound card to him. Now, I don't have a HDMI screen with sound, and I do not

  • ThorLabs DET10A connection in coupling AC 50 ohms digitizer

    Hello I'm scanning the signal of a ThorLabs DET10A using an adaptation NI 5772 AC FlexRIO Module.  The DET10A is 50 ohms and the 5772 is 50 ohms, but a direct link between the two does not work.  I expect pulse height N and width M, where N is the or

  • mobility system

    I can't get past the system off screen. My error code is 56727083 what is my computer model. HP2000-2c23dx please help

  • Passwords and e-mail lost

    I got a laptop with Windows VISTA home edition installed. Previous owner has forgotten her e-mail address and the password that the machine has not been used for about 3 years. I can't get updates or connect to anything except as a guest. Any ideas?