No, this is a much more complex topic.
Printable View
No, this is a much more complex topic.
I wonder if this works i need it:
VB Code:
Do until send = 20 With SMTP .Sender = send .Recipient = "whomever@" & send & ".com" .SMTPhost = "smtp.myserver.com" .Subject = "SMTP test" .OpenMail If Not .Connected Then Exit Sub .Send "Bill," .CloseMail End With send = send + 1 doevents loop
will this send 20 emails to one person?
Why would you want to send the same email to the same person 20 times?Quote:
Originally Posted by Iron Skull
Someone asked me to make a program that sends one email more often at once i dont know why
were can i find the Dll?
What dll? :ehh:
i meen OCX i already found it :)
Hi moeur, how can I send the e-mail in html format ?
I tried something like:
But that just sends as is, it does not convert to html on the receiving side...Code:.Send "<html><body>"
.Send "Testing...<br>"
.Send "</body></html>"
I don't think this is part of the Simple Mail Transfer Protocol but is instead something in the mail message that the client (like outlook) sees and knows the rest of the message is html.Quote:
how can I send the e-mail in html format ?
I don't know what that is. If I could see the entire message sent to outlook including all the header info the I could see it.
I check around...
try adding somthing like
Content-Type: html/text
I played around a little but didn't get it quite right
add a line to the classes OpenMail method after the part where it sends the subjectI'll play some more if I get time later.VB Code:
Winsock.SendData "Content-Type: html/text" & vbCrLf
I posted the final solution to this earlier, but for some reason my post was deleted.
Add this line to the OpenMail subroutine somewhereVB Code:
Winsock.SendData "Content-Type: html/text; charset=ISO-8859-1" & vbCrLf
I tried this code , but i keep getting an error in the CloseMail sub.
Gives me an error about wrong connection status? Anyone seen this?
show me how you are using it.
Hi ,
i try sending using normal address it works(eg. [email protected]) however if I use something like [email protected] I will receive an error . can you teach me how to send an email using IP address.
Thanks
Hi,
I am not able to send mails to multiple recipients. If i send it to single recipeint then it works fine, but it fails everytime i try sending it to more then one recipient.
i need help pls.