Creating newsletter application in VB
Friends,
I am having a Management System software, developed by me, for my institute. It stores all the details of the students, their activities, etc. in the database.
Now I wanted to include another function for my application. That is, for sending HTML email newsletters to the email addresses of my students (stored in the database).
Is there any code or tutorial for creating such a thing. The newsletter is for informing them the latest news about my institute (something like inaguration of new courses, etc..)
Please help me.... :(
Re: Creating newsletter application in VB
There's lots of ways to skin that cat. Search this forum for "send email". I use VBSendMail alot.
Re: Creating newsletter application in VB
Re: Creating newsletter application in VB
Sorry no...it's proprietary. Searching the forum will get you alot of examples. Here's a link to VBSendMail and it contains example to use it.
http://www.freevbcode.com/ShowCode.Asp?ID=109
You'll need to do the HTML formatting yourself.
Re: Creating newsletter application in VB
Is there any limitations for the HTML page...? Because, I am not familiar with HTML codes. I usually design webpages using Dreamweaver.. :)
The format of my HTML email is...
Banner
Heading
Hai Mr. Name,
News...... {body}
Signature
---------------
That's all...
I am having the VBSendMail component.. How could I program it....?
Mail will be send using a Gmail account (smtp & pop enabled)....
Re: Creating newsletter application in VB
Then you can do the HTML setup in Dreamweaver.
Re: Creating newsletter application in VB
How can I include images in it...?
Re: Creating newsletter application in VB
There was an error while using the vbSenMail. I had downloaded the component along with some example projects from devx.com. But while running the example project, and when I tried to send a mail, it displayed a error message...
"Your attempt to send mail failed for the following reason(s):
530 5.7.0 Must issue a STATTLS command first. y5sm14265760tia.8"
This is the error. What should I do...?
Re: Creating newsletter application in VB
Is there any working code for sending mail..?