Hy !! i have a big problem, i have an Ubuntu 10.10 with php 5.3.2, I use phpmailer to send mails and the function works like a month ago. But know, it just said, SendEmail with the php mail, or with the phpmailer say's send!!!
The messages never arrived!! with the 2 functions, i dont know if the php.ini get moves , or somethings else.
All scripts were tested in other servers ( digital ocean ) and they work perfectly.
But know in this server, is not working.
The time I execute #linux: mail.php , its inmediatly, and send my message " SEND MESSAGE".
In Gmail, I already check if where at Spam , but they neever arrived.
No firewall, Ubuntu 10.10, phpmailer lasta version, php 5.3.2
i check with a Python Script with same configurarion in the same system and works!!!
but with php nothing works!
Please help!!
You need contact the digital ocean support and open a ticket. Same happened to me and I found that they have a block by default for new accounts (to avoid spammers). You need open a ticket ans inform your situation.
When I do this, minutes after they check some information and my mail start to work :)
Related
I try to send email using swiftmailer the problem is, it send duplicate email (usually more than 3 mails) in same time, it only happen in my server (my local is fine though), first I think it because setting in my server and local is different but I don't find anything fishy, for your information my server running in ubuntu and my local run in xampp windows. please give me suggestion how to solve this
In magento, I have configured a cron job which will run 3 times a day.
It will send mail to the customers.That is not working from yesterday.
Then, I have tried with a simple php mail(), Thats also not working.
Any clues?
I guess some problem in your SMTP Server. You have to check with your host.
Before that, Do the following.
I assume, You have HORDE or SQUIRREL-MAIL in your cPanel.
You just try to send a mail form the clients to your email id.
To open horde, You should go to cPanel -> Mail -> Horde/Squirrelmail.
All d best.
I'm using mac OS snow leopard, and i have probs with mail, i'm not sure is it something about gmail, or php mail() func.
It's not working. I wrote it this way (just for testing ).
mail('something#example.com', 'My Subject', 'My Message');
I done * i need with postfix configuration, but it's not working (can't get the mail).
Any help, just need explanation on how things work. I'm googling last 3-4 hours, but nothing (didn't find the right answer). And yes, i'm using local server.
Thanks!
If your application is hosted in local host the mails will not be able to send. Upload to a live server and check it. (You need a mail server to send the mails)
Just a tip - if something isn't working, try and find the problem withing your code before blaming gmail or php functions. These have been tested and re-tested in live environments by literally millions of people.
Do you have a mail server installed and configured? Do you have Apache sendmail enabled?
I have installed my mail enabled professional copy on the same server as php is installed (and wordpress) and I want to use the mail server when people enter emails forms etc.
I started with looking on simple email scripts but they all have failed and I have been googling for at least 8-9 hours on different solutions on scripts with sendmail, scripts using gmail, and lots of options that almost all require PEAR or some other solution - and I have thrown in the towel before I start tearing my hair out in frustration..
So Now I want to go with this option as it’s simpler for me and I do already own a license to mail enable.
How can I accomplish this?
I have the newest version of php available... Server is a Windows server 2003 ENT with IIS 6 installed and MySQL server/wordpress.
I am not a programmer - just a "normal" guy.. I know to get around with computers - most of the time - but coding Is like greek to me! (Which in this case might be my Achilles heel)
Try using PHPMailer or SwiftMailer.
These libraries make it trivial to configure your mail server to send emails with.
Mailenable should provide you with a smtp server and credentials.
Here's an example with phpmailer :
http://phpmailer.worxware.com/index.php?pg=examplebsmtp
I'm having trouble sending mail using PHP mail() on IIS 7 using Windows 2008 Server.
The server is dedicated, thus I have full control over my machine.
php.ini looks fine - ([mail function] is configured)
I don't get any error from mail() (with the right parameters of course)
btw - I got ASP and ASP.NET sending mails without any problems.
Would be very gratefully for help
Regards,
Roman
I use http://pear.php.net/package/Mail.
I am also having the similar issues
I have tried sending email thru telnet from IIS server
Now I am having problem that i couldnt send email even with simple PHP function - mail();
The php code that i use is
<?php mail("mail#rajanmaharjan.com.np", "hi", "test on today");?> doesnot send email to mail#rajanmaharjan.com.np
I have already read lots of forums regading SMTP setup in IIS and others