Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

All other Modules /

Discuss all other Modules here.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

UserForm: not sending emails


Go to End


1954 Views

Avatar
marcink

Community Member, 89 Posts

19 June 2009 at 9:48am

Edited: 19/06/2009 9:55am

hi,
i just installed userForm 0.1.
when trying to send an email, i got this error:

[Warning] mail() [function.mail]: SMTP server response: 451 See http://pobox.com/~djb/docs/smtplf.html.
POST /test/Form

Line 157 in D:\_projekte\xxx\www\sapphire\email\Mailer.php

Source

148 if (isset($headers['bcc'])) {$headers['Bcc']=$headers['bcc']; unset($headers['bcc']); }
149
150
151 // Send the email
152 $headers = processHeaders($headers);
153 $to = validEmailAddr($to);
154
155 // Try it without the -f option if it fails
156 if(!($result = @mail($to, $subject, $fullBody, $headers, "-f$bounceAddress"))) {
157 $result = mail($to, $subject, $fullBody, $headers);
158 }
159
160 return $result;
161 }
162
163 /*

can anyone tell me, whats that all about?

but ive got all the emails in the submissions tab in cms, with all data correct.

thanks