PHP Email

Status
Not open for further replies.

lgpro01

New Member
Messages
9
Reaction score
0
Points
0
Hi, please could you tell me if you are able to send emails from my website using PHP code, as i am having trouble receiving them? Also is there a delay from when they are sent to when they are received? Thank you.
 

lemon-tree

x10 Minion
Community Support
Messages
1,420
Reaction score
46
Points
48
Sending emails through PHP with the mail() function should be enabled. Use of SMTP servers is allowed too, but there have been some previous issues with the correct ports not being available.
On free hosting there should be no delay, but bear in mind that you are limited to 100 emails per hour maximum.
 

dlukin

New Member
Messages
427
Reaction score
25
Points
0
Sending emails through PHP with the mail() function should be enabled.

It might be enabled, but something is off.

PHP script run as a cron job, sends mails perfectly. Same script, called from the web, says the mail was sent (ie send() returns success) , but it never arrives, no failure notice returned to email account.

This happens on my account on Boru and on my friend's account on Chopin. A similar situation happens with a Perl script.
 

lgpro01

New Member
Messages
9
Reaction score
0
Points
0
I have tried about 4 different php codes of sending them. Is there a setting on the account when I can enable the email? If so, where is this setting? And thanks for your replys.
 

Corey

I Break Things
Staff member
Messages
34,551
Reaction score
204
Points
63
I just tested the mail function with PHP on all the free servers a few hours ago with 5 emails each to gmail. Every email made it through and it was about 50/50 went to the spam box, however my emails were just random text.

All cron emails are automatically discarded by our mail server. This was due to people getting the mail IPs blacklisted... say 1,000 people run a cron at the same time and they all have a gmail account. 1,000 emails blasted to gmail at the same time with mostly junk in the subject\body = blacklisted for a few hours.
 

lgpro01

New Member
Messages
9
Reaction score
0
Points
0
Hi, thanks everyone's comments, i have found a code that sends it almost strait away. If you would like this code, just reply and ill be happy to post it here.
 

Corey

I Break Things
Staff member
Messages
34,551
Reaction score
204
Points
63
If further assistance is required please re-open this thread or create a new one. You can re-open this thread by clicking on the "Administrative" text at the top of the original post.
 
Status
Not open for further replies.
Top