|
For those new to message boards please try to follow a few simple rules when posting your question.- Choose the correct forum for your message. Posting a VB.NET question in the C++ forum will end in tears.
- Be specific! Don't ask "can someone send me the code to create an application that does 'X'. Pinpoint exactly what it is you need help with.
- Keep the subject line brief, but descriptive. eg "File Serialization problem"
- Keep the question as brief as possible. If you have to include code, include the smallest snippet of code you can.
- Be careful when including code that you haven't made a typo. Typing mistakes can become the focal point instead of the actual question you asked.
- Do not remove or empty a message if others have replied. Keep the thread intact and available for others to search and read. If your problem was answered then edit your message and add "[Solved]" to the subject line of the original post, and cast an approval vote to the one or several answers that really helped you.
- If you are posting source code with your question, place it inside <pre></pre> tags. We advise you also check the "Encode "<" (and other HTML) characters when pasting" checkbox before pasting anything inside the PRE block, and make sure "Use HTML in this post" check box is checked.
- Be courteous and DON'T SHOUT. Everyone here helps because they enjoy helping others, not because it's their job.
- Please do not post links to your question into an unrelated forum such as the lounge. It will be deleted. Likewise, do not post the same question in more than one forum.
- Do not be abusive, offensive, inappropriate or harass anyone on the boards. Doing so will get you kicked off and banned. Play nice.
- If you have a school or university assignment, assume that your teacher or lecturer is also reading these forums.
- No advertising or soliciting.
- We reserve the right to move your posts to a more appropriate forum or to delete anything deemed inappropriate or illegal.
cheers,
Chris Maunder
The Code Project | Co-founder
Microsoft C++ MVP
|
|
|
|
|
Apologies for the shouting but this is important.
When answering a question please:
- Read the question carefully
- Understand that English isn't everyone's first language so be lenient of bad spelling and grammar
- If a question is poorly phrased then either ask for clarification, ignore it, or mark it down. Insults are not welcome
- If the question is inappropriate then click the 'vote to remove message' button
Insults, slap-downs and sarcasm aren't welcome. Let's work to help developers, not make them feel stupid.
cheers,
Chris Maunder
The Code Project Co-founder
Microsoft C++ MVP
|
|
|
|
|
Does anyone know if the source code is available to the MVC5 project template that's available in Visual Studio?
".45 ACP - because shooting twice is just silly" - JSOP, 2010 ----- You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010 ----- When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013
|
|
|
|
|
Dear i just wanted to know how to send email From multiple SMTP to multiple Recipients.I know we can send multiple recipient by using Add CC, or BCC, But my question is suppose i have 150 Different Gmail SMTP, And i want to send Email from all Sender in one shot,thx for helping me.If any solution in Sqlerver,Winforms or MVC i am ok with any technologies.Some one is doing this, but i don't know hows so its 100% possiable.
modified 3 days ago.
|
|
|
|
|
You've posted this in the wrong forum. Your question has absolutely nothing to do with writing a CodeProject article.
And quite frankly, from the description of what you're trying to do, I suspect nobody will want to help you. We all get plenty of spam already, without helping someone else set up a spam farm.
And even if you somehow manage to get it working, Google will hopefully detect the malicious activity and suspend your 150 GMail accounts.
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|
|
Hi everyone
This isn't so much a question, I guess I'm just after peoples impressions or something like that.
I have noticed of late a tendency for a lot of web sites having a background colour of white or something like that and a font colour being a kind of soft grey.
Now for me, that combination of colours makes it quite hard to read. I'm sure that I'm not Robinson Crusoe.
Actually, on one occasion there was this page that was pale yellow and the font was canary yellow. The only reason I picked that up was that I was certain there was writing, so I copied and pasted it then changed the font colour to black.
What do other people think about this?
Kind regards
Ross
|
|
|
|
|
|
You already posted this question inn the LAMP forum; please do not repost.
|
|
|
|
|
Am totally sorry about that it's just that i needed help
|
|
|
|
|
I am new to ASP, have been working on this for some time
your help will be greatly appreciated, since your responses say do not reply, please accept my thanks
I am getting the error below
error '80040211'
/AspClassic/mail.asp, line 40
the code I am using is as below
<%@LANGUAGE="VBSCRIPT"%>
<%
'Step 1: create an object of CDO.Message
dim objMail
Set objMail = Server.CreateObject("CDO.Message")
'Step 2: set the smtp server, user name and password for authentication
dim smtpServer, yourEmail, yourPassword
smtpServer = "smtp.gmail.com"
yourEmail = "teckchandanirp@gmail.com" 'replace with a valid gmail account
yourPassword = "32233223" 'replace with a valid password for the gmail account set in yourEmail
'Step 4: set the email address to which email will be sent
sendEmailTo = "teckchandanirp@gmail.com"
'Step 5: set the configuration properties of objMail object
objMail.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/configuration/sendusing") = 2
objMail.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/configuration/smtpserver") = "smtp.gmail.com"
objMail.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/configuration/smtpauthenticate") = 1
objMail.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/configuration/smtpserverport") = 465
objMail.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/configuration/smtpusessl") = true
objMail.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/configuration/sendusername") = "teckchandanirp@gmail.com"
objMail.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/configuration/sendpassword") = "32233223"
objMail.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/configuration/smtpconnectiontimeout") = 60
'Step 6: update the configuration after setting all the required items
objMail.Configuration.Fields.Update
'Step 7: prepare your email like set subject, body, from, to etc.
objMail.From = "teckchandanirp@gmail.com"
objMail.To = "teckchandanirp@gmail.com"
objMail.Subject="Application Form Registration Details"
objMail.htmlBody = "This is test message"
'Step 8: send the email
objMail.Send
'Step 9: release the object
|
|
|
|
|
|
This isn't exactly web development, but development of a browser extension (Chrome) which in itself uses javascriopt, etc.
Has anyone have experience with writing Chrome extensions that can access the specific user profile that a tab is using? I have been pouring over the API documentation and cannot find any way to do this.
I know that if I run from the command line I can specify the profile to use with the --profile-directory switch, and it would be useful to be able to do the same from the APIs.
Thanks,
Andreas
|
|
|
|
|
I used the code below to send mail using asp classic, the code does not work. I am new to ASP
dim smtpServer, yourEmail, yourPassword
smtpServer = "smtp.gmail.com"
yourEmail = "teckchandanirp@gmail.com" 'replace with a valid gmail account
yourPassword = "32233223" 'replace with a valid password for account set in yourEmail
objMail.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/configuration/sendusing") = 2
objMail.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/configuration/smtpserver") = smtp.gmail.com
objMail.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/configuration/smtpauthenticate") = 1
objMail.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/configuration/smtpserverport") = 465
objMail.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/configuration/smtpusessl") = true
objMail.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/configuration/sendusername") = teckchandanirp@gmail.com
objMail.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/configuration/sendpassword") = 32233223
objMail.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/configuration/smtpconnectiontimeout") = 60
objMail.Subject="Application Form Registration Details"
objMail.htmlBody = "This is test message"
objMail.Send
|
|
|
|
|
|
I have a simple ASP.Net Web API on my home server. This is just for a Proof of Concept I'm working on.
There's one method on the controller called Login which takes a UserEntity:
[HttpPost]
public UserEntity Login(UserEntity user)
{
return Repository.Login(user);
}
the repo:
public UserEntity Login(UserEntity user)
{
var results = new UserEntity();
if (user.UserName.ToLower() == "admin" &&
user.Password.ToLower() == "admin")
{
results.UserName = user.UserName;
results.Password = user.Password;
results.IsLoggedIn = true;
}
return results;
}
So, if you pass "admin" and "admin", I create a new user entity with IsLoggedIn = true. Again, all I'm trying to do is make a simple call with a user object and get a repsonse.
I'm using Postman to test the API. If I make this POST call with HTTPS
https:
and pass this as the body:
{"UserName": "admin","Password": "admin"}
then it fails with "Could not get a response" and
Error: write EPROTO 1432630488:error:100000f7:SSL routines:OPENSSL_internal:WRONG_VERSION_NUMBER:../../third_party/boringssl/src/ssl/tls_record.cc:242:
However, if I change the URL to HTTP then it works fine and I get back the expected result:
{
"IsLoggedIn": true,
"UserName": "admin",
"Password": "admin",
"Id": 0
}
I'm a bit lost here. Could someone help me figure this out?
Thanks
If it's not broken, fix it until it is.
Everything makes sense in someone's mind.
Ya can't fix stupid.
|
|
|
|
|
|
What is the best combo of technologies and programming languages to use for a custom e-commerce platform in 2022. Please share your opinion and the reasoning behind it.
|
|
|
|
|
|
|
Nobody here is going to do your homework for you. Do your own research and come up with your own reasoning.
If it's not broken, fix it until it is.
Everything makes sense in someone's mind.
Ya can't fix stupid.
|
|
|
|
|
It is not a 'homework', I have my own preferences regarding this matter. I just want to see if there are different popular options from experienced people.
It is wrong learning new things from others or listen to different opinions?
|
|
|
|
|
If you don't want to be told "we don't do your homework for you" then don't ask homework type questions. Your original post stinks of a homework assignment, and looks like it was copy'n'pasted direct from a teacher's email ...
If you want intelligent discussion, share your thoughts and reasoning first - don't make it look like you just want to copy'n'paste what we say back as your own work!
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
I don't want an intelligent discussion or a discussion at all, just some opinions and then I will investigate further based on them...
|
|
|
|
|
Which again comes over as "I want my homework done because I can't be bothered".
Think about it: you are asking others to invest a fair amount of time, effort, and experience, and yet you aren't prepared to give us anything that you have already covered - so we could easily be duplicating your research and thus wasting your and our time.
Make an effort and we're pleased to help.
Look like a lazy student, and why would we? That's not saying you are a lazy student, but that the way you ask for information is the way lazy students do.
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
Maybe you are right there, I did ask a straight question and did not provide some background behind it. I'm not even a student, I'm a developer trying to find which are some good new alternatives (adopted alternatives) to ecomm traditional (established) dev stacks.
P.S. : I will not profit in any way of your answers, it is just for my curiosity. It is like I'm asking what music do you listen to, to extend my horison.
|
|
|
|