Having problems with your PC Desktops ?

How can i send mail in visual basic 6 using smtp.gmail.com and vbsendmail.dll.


Answers :

You can try this :\012
<%
On Error Resume Next
Dim Subject, Body, SenderEmail, RecipientEmail, SMTPServer, SMTPusername, SMTPpassword
SenderEmail = "Your Name <youremail>"
SMTPserver = "smtp.gmail.com"
SMTPusername = "your full email address"
SMTPpassword = "your password"
Subject = "Hello"
Body = "This is a test. Please ignore."
RecipientEmail= "any email address"

sch = "http://schemas.microsoft.com/cdo/configuration/"
Set cdoConfig = CreateObject("CDO.Configuration")
With cdoConfig.Fields
.Item(sch & "smtpauthenticate") = 1
.Item(sch & "smtpusessl") = True
.Item(sch & "smtpserver") = SMTPserver
.Item(sch & "sendusername") = SMTPusername
.Item(sch & "sendpassword") = SMTPpassword
.Item(sch & "smtpserverport") = 465
.Item(sch & "sendusing") = 2
.Item(sch & "connectiontimeout") = 100
.update
End With

Const cdoSendUsingPickup = "c:\\inetpub\\mailroot\\pickup"
Set cdoMessage = CreateObject("CDO.Message")
With cdoMessage
Set .Configuration = cdoConfig
cdoMessage.From = SenderEmail
cdoMessage.To = RecipientEmail
cdoMessage.Subject = Subject
cdoMessage.TextBody = Body
cdoMessage.Send
End With
Set cdoMessage = Nothing
Set cdoConfig = Nothing
If Err.Number <> 0 Then
Response.Write (Err.Description& "<br><br>")
end if
%>

tested by some friends and is working fine.
Repair Help & Product Troubleshooting for PC Desktops

Tips for a great answer:

- Provide details, support with references or personal experience .
- If you need clarification, ask it in the comment box .
- It's 100% free, no registration required.

Suggested Questions/Answers :

Cannot get or send mail. error ox8oocccod


Error 0x800CCC0DProblem: When you try to send or receive email, you get an error message. Itsays the error number is 0x800ccc0D.Solution: This error is basically saying that your computer cannot connectto the mail server ... Sony VAIO JS Series Desktop Computer VGCJS190J/B/BSTOCK

How to use web cam - Acer Aspire One A150-1006 Notebook


How does a webcam work?There are two different ways to use a webcam at home — through e-mail and with instant messaging programs.\015\012E-mail your video filesTouse a webcam with e-mail, first launch the software that comes with thecamer ... Acer Aspire One A150-1006 Notebook

I don't seem to be able to send photos by Kodak Easyshare e-mail even though I am on line and the address is correct.


Ditch Kodak Easyshare and just use your email program:\015\012Attachment basics\015\012When you send photos in e-mail, the photos go along for the ride as attachments, just like any other file you add to an e-mail.\015\012To attach a phot ... PC Desktops

POP3 & MSTP


Do you have a firewall set up? It should already be done for you, but you need ports 25 (smtp) to send and port 110 (pop3) to receive emails, it may be that your email service needs to open these ports or supply you with the ports that they are using ... Computer Processors

How can i send mail in visual basic 6 using smtp.gmail.com and vbsendmail.dll.


You can try this :\012<%On Error Resume NextDim Subject, Body, SenderEmail, RecipientEmail, SMTPServer, SMTPusername, SMTPpasswordSenderEmail = "Your Name <youremail>"SMTPserver = "smtp.gmail.com"SMTPusern ... PC Desktops

Hi,could some one walk me through setting up my Billion modem wirelessly to my Dell Desk top running XP home. I get confused with firewalls,LAN settings etc Ethernet cable is being used at the moment. Do you need drivers etc


I am not familliar with that brand, so I do not know if it is a cable/dsl modem, a router, or a combination of the 2. I will assume it is the cable or dsl modem since you said modem.The thing we need to do first is give you a basic unders ... Dell PC Desktops

Key stroke problems when using E-Mail (Only)


You probably use an online mail system. If you were to use Outlook or Outlook Express this would not occur, because they are not online. This basically means, when you type a character to an online system, it must travel to the remote server, then be ... Toshiba Satellite A135 Notebook

Dell Inspiron 1501 key stuck but not.


The most valuable test you can perform now is to buy or borrow a usb keyboard. If the problem persists with the external keyboard then it is reasonable to conclude that the problem is software based. If the problem disappears then, if the unit is sti ... Dell Inspiron 1501 Notebook

Hi there I have a Toshiba Satellite A210 laptop runing Vista Home Basic. The problem occured when i copied a file to a disk. When i boot up the laptop i have to run each programme. 3 of the programmes send back a stopped working message , one is the catalyst control centre and the flash card , and the other symphatic has stopped working. Now I cannot play nothing using the media player and there is no sound coming from the laptop at all. The Internal Microphone has stopped working as well. P


This sounds like it could be spyware. Try the following.........\015\012\015\012 Turn the system\015\012restore off. System restore keeps everything in restore. \015\012Meaning......... If you have spyware or a virus, it will sta ... Toshiba PC Desktops

Visual Basic control of Logiteck ATTACK 3 Joystick


You could try sending logitech an email..they would be the best people to help you..http://logitech-en-amr.custhelp.com/cgi-bin/logitech_en_amr.cfg/php/enduser/ask.php ... Logitech Attack 3 Joystick

When i try to send an email it lands in the outbox and stays there and when i click on it there is no message their ,i am unable to send to any previous address,s but i am receiving emails ok


Before I progress this any further \015\012\015\0121) What email program are you using? Is it windows live mail or outlook express or some other program - please identify the exact program you use for email.\015\012\015\0122) ... PC Desktops

Can receive but can't send email - PC Laptops


I can receive but can't send mail using my POP mail \012client. Why?\012\012\012If you're able to \012receive but unable to send mail using your POP mail client (such as \012Outlook), please review the possible trouble areas below.\012SMT ... PC Laptops

I want coding for visual basic 6.0 coding for library management


... Dell Inspiron 1501 Notebook

Cannot send e-mails on windows live


Hello,Thanks for using FixYa.I just read your outgoing mail server and you typed it as "smpt.digiweb.ie" and you typed in "SMPT" twice. So I'm assuming that is what you have. Its not "smpt.digiweb.ie" its SMTP = Simple Mail Tr ... Dell PC Laptops

Using thunderbird mail program on lap top. can receive e-mail, but can not send e-mail on any public wi-fi connection. error message says can not connect to mail server on port 25.


Most isp blocks port 25 for sending out mail that's the reason you cant send out mail, ask you wifi(ISP) smtp settings and you need to set it on your smtp server so you can send out mail using thier smtp as outgoing server.OR ask you emai ... PC Desktops

I am getting this error when trying to send email on Microsoft Outlook. I can receive but not send on Microsoft Outlook. I can send and receive through the mail server that I am using through Yahoo and Mail2web, but cannot send on Microsoft Outlook. Task 'ITI - Sending' reported error (0x80042109) : 'Outlook cannot connect to your outgoing (SMTP) e-mail server. If you continue to receive this message, contact your server administrator or Internet service provider (ISP).' I tried going to setting


Microsoft Outlook 2002 (XP) and 2003\015\012From the Tools menu, choose E-mail Accounts.\015\012Click in the circle beside "View or change existing e-mail accounts." Click Next.\015\012Click the email account you wish to modify and then click Change. ... HP Pavilion dv6000z Notebook

Pls. help me


Q.2#  Dim n, sum as DoubleDim i as Integern=100sum=0for i=1 to nsum=sum+1/nnext iQ.3#  Dim sum as Doublesum=0for i=1 to 99if i%2 <> 0 then sum=sum+i end ifn ... Microsoft AccRepair DS2 2004 for Fr (1256549SF)

E-mail I am using Windows XP and Outlook Express for e/mails. I have a problem in sending e-mails. If I write more than 4 words the e-mail will not send. They remain in my 'Outbox' and will not send. I get error messages when trying to send them. If I send e-mails containing 2 or 3 words they send OK.


This is a very strange solution, hopefully someone can help you out more than me, though whenever I have problems that are strange especially with microsoft email or anything internet related I delete my temporary internet files and reboot, and the p ... Dell Dimension 2400 PC Desktop

Too many intermittent problems


Hi,\015\012\015\012I suggets you to do the following:\015\012\015\0121) Go to internet explorer select tools then internet options in that click the connections tab and select never dial my connection option. This wont ask you ... Toshiba Satellite A135 Notebook

My Operating System is Windows Vista home basic and my product key will expire this october. h.so please send me a PRODUCT KEY FOR THIS ON MY e-mail :[email protected] .thanx


Hello RJ, If your trial period is about to expire and you want to continue using Windows Vista, then you need to purchase your own genuine license. Fixya does not support software piracy. Asking for product keys for free and using it wou ... Computer Utilities & Maintenance

Server Error 553, ErrorNumber 0x800CCC78 - PC Desktops


(Outlook Express) Email is not configured to relay mail to address\015\012Try this settings:\015\012 \015\012Outlook Express \015\012\015\012Click Tools then Acco ... PC Desktops

I can not send pictures when I do a cut & Past or as a attachment no mater were I send then from e-mail they ask were the pictures, In the past I had no problem sending pictures but in the past month no pictures went with the e-mail. Thank You >> Harold


Hi,Please let us know the name of the E-Mail service you are using to send the pictures (eg. Yahoo, GMail, Hotmail,etc..). Also, let us know the web browser you are using to open the email website. (Internet Explorer,F ... Dell PC Desktops

My computer refuses to change a message in Outbox to Send, leaving me with a queue ofunsent messages. I can receive incoming clls, but not send any out [email protected] world.com


Make sure your SMTP (outgoing) server is set properly.\015\012Are you on your own connection - or using a retail WiFi one?\015\012\015\012Normally most WiFi servers reject outgoing mail.\015\012You can GET mail - just not send ... PC Desktops

How do I email photos from my dell computer? - Dell Dimension 2400 PC Desktop


A simple process to e-mail photos from any computer using windows is fairly simple. Find the folder with the pictures in them. Then select the pictures you would like to send by pressing the "ctrl" key while left clicking(left mouse button) on each p ... Dell Dimension 2400 PC Desktop

Unable to use Outlook Express as my main default email..all my emails addressed to [email protected] are now accessed via Orange web mail.whereas previously all my emails came by Outlook Express....a message appears thus when i try to use Outlook Express to send an Email...as follows... Error:the host Pop3 could not be found, please verify that you have entered the correct server name..... My history of ISP providers are initially I was signed up with the FREESERVE provider whic


Help and technical support \015\012\015\012\015\012\015\012\015\012\015\012\015\012\015\012\015\012\015\012\015\012\015\012\015\012\015\012\015\012\015\012\015\012\015\012how to set up Outlook 2003 to access Orange email\015\012\01 ... PC Desktops
  • Start your question with What, Why, How, When, etc. and end with a "?"
  • Be clear and specific
  • Use proper spelling and grammar
all rights reserved to the respective owners || www.electronic-servicing.com || Terms of Use || Contact || Privacy Policy
Load time: 0.7010 seconds