I have a continuously upgraded and minimalistically developed LAMP environment with an all-core CMS website.
The main reason that my contact form in my website is backend (PHP) instead frontend (vanilla JavaScript) is to protect my email address from spambots that might scan for email address in HTML output sources and then abuse the email address.
So, say I have created a small simple backend contact form program from 4 files (structure.html, backend.php, frontend.js, style.css) and hardcoded my current email address inside backend.php; this is still a file which annoying bots can find somehow (bruteforce-searching?) and accesses via some user agent (say a web browser) and read and "mine" my email address from there and still abuse it, right? If so than:
How to protect an email address in a php file?
Related
I have recently developed a website for a client and don't have much experience working with emails. I have set up and configured an info#ourdomain.com email address and can access it through our web hosting service.
However I want to be able to get my client to log into the email so they can begin working with it, ideally with Windows mail.
This is the information I have been given by the host (I changed all the information for security).
Information Provided
Would be great if I could get a step by step on what options to choose, account type, and where to put the certain port numbers etc.
Thanks in advance
Hi i am grapich designer but temporary asked working to check this emails problem.
we are using drupal for our website. When we are using google apps as our email server, the contact form on our webpage (which our customer used to use for sending us question) was stop sending emails seems the mail fuction is not working anymore. Is that because we hosted our emails to google apps? Is there anyway that to make work? We need the contact form on our webpage send mail
If you are using Webform you can set your email address a few places:
This is where the default Webform email is set:
yoursite.com/admin/config/content/webform
and that default can be overridden in the individual Webform E-mail tab:
yoursite.com/node/1234/webform/emails (1234 is node id of your webform)
Drupal also has a global email address for your site that could be used as the default also, so its worth checking here: yoursite.com/admin/config/system/site-information
Currently, I am developing a website using Drupal 7 in my local computer.
I have set up Contact Form (Drupal core module) for user to send feedbacks.
However, I have no idea how to send email from Contact form. I didn't receive any email after I filled in and submitted the contact form. And website displays the status "The message has been sent." But there is no email received.
I know there must be something I need to setup before using Contact Form. Maybe mail server?
I use Drupal 7 with XAMPP.
Is there any step-by-step guideline on sending email? Maybe for both cases
Local machine as web server (for testing on my local computer)
Real web server (for publishing after everything is done)
I have searched some solutions in some forums but I do not understand.
I am new to Drupal.
Thank you so much for your help and guidance.
For getting mail from contact form,
Enable the module
Go to admin-> structure-> contact form
Create new category
Fill the details Category, Recipients (you need to give the mail you need to get notified), etc...
If you need to test the mail in local then you need to setup SMTP module in your drupal, this will work in server also.
If you don't have any any SMTP settings then you need to test in server. In server you may don't need any smtp mail, simply php mail may work if your hosting server is support. So no need to do any extra effort for that.
I am working on a web application, and am having trouble with the most basic of functions, sending an email. My email code does work, I can send to gmail, yahoo, and my work email address all day long. The problem is that when ever the web application attempts to send to an Apple iCloud email address, the email never makes it. I've checked the email server logs, and it does send, which would lead me to believe that Apple is somehow blocking my emails before they ever reach the user.
System Setup
Domain name purchased through GoDaddy. I set up a DNS A record to forward all traffic that hits that domain name to our virtual server, which is hosted at 1and1
The virtual server is a windows 2008 server. I set it up as an email server that actually sends the email itself, as opposed to relaying through GoDaddy.
Note: on the above, all i did was add a *. entry in the iis email configuration
Below is my PHP test code, that sends to every where with no problems, except iCloud.
mail("person#me.com", "test", "this is a plain test", 'From: Site <no- reply#domainname.com>');
Any help would be greatly appreciated!
Had a reverse DNS entry added for our server's IP address, and got the server's IP address taken off of Apple's blacklist.
I have a dedicated Linux web server where my website is running like www.example.com.
Now I want to start another service for my users and want to give mailing features like Gmail and Yahoo mail.
I want to give facility to my users to create email IDs as they create on Gmail or Yahoo Mail and use it as their email address like XYZ#example.com or ABC#example.com.
Is this possible for me to use my dedicated web server as mail server too,
or I need to hire a new specific mail server for this purpose.
Also, if I can use my server as mail server and can give IMAP and POP like features then what are the PROs and CONs in that?
My hosting company says that I have facility to create unlimited email addresses
and I have created a few for mt like support#example.com and feedback#example.com
and I am getting emails on these IDs.
Is that mean, my hosting already have setup a mail server for me (the same I mentioned in my question and want to setup)
Or this is just for me to use and manage my website and I can not share these email addresses with my users by giving an email service.
Yes you can run simultaneously a web and mail server. Follow part 3 of this guide: http://mysql-apache-php.com/ to set up email. Just make sure that your router is fully capable (supports NAT etc.) - it should be able anyway
However it does appear from your question that your hosting company has set up its own mail server. Which does mean unlimited emails, however the only issue could be the amount of space they are willing to host for you (As in you can only have 2 GB of space on their mail server). Hope this helps.