Problems sending to CC and BCC from script
I am moving all sites to a new server running Plesk 11.5. On the old server all forms worked fine
I cannot get the forms created in UEM to send a CC or BCC back to the hosting e mail address
which sends the form ( So it will send to the client who enters their data in the form - but where
the BCC is back to my e mail address this will not come through
The Tech Support on the server say..... this is a problem with our script
Please can you advise as I have 25 more sites to move all with forms created in UEM
Hi John
I've spent some time looking into the email issues from web forms: We have set both servers to allow relay from each other.
Check out these simple PHP email pages:
C:\Inetpub\vhosts\qrcodesforyou.co.uk\httpdocs\mail.php
C:\Inetpub\vhosts\qrcodesforyou.co.uk\httpdocs\mail2.php
I can send emails to and from iinfo@qrcodesforyou.co.uk and sales@webjectives.co.uk and to ernestltd@yahoo.co.uk and the emails are arriving. This suggests the code you have sending the emails isn't compatible with this newer plesk server. I dont have time to debug the code you have in your forms sending the email obviously to find out the exact problem. I suggest you try to do this yourself
Look at the smtp logs:
C:\Program Files (x86)\Parallels\Plesk\Mail Servers\Mail Enable\Logging\SMTP\GET THE LATEST ONE
From my email script:
2013-12-09 18:42:41 127.0.0.1 SMTP-IN 127.0.0.1 1008 HELO HELO+webjectives 250+Requested+mail+action+okay,+completed WEBJECTIVES 43 18
2013-12-09 18:42:41 127.0.0.1 SMTP-IN 127.0.0.1 1008 MAIL MAIL+FROM:<sales@webjectives.co.uk> 250+Requested+mail+action+okay,+completed WEBJECTIVES 43 37
2013-12-09 18:42:41 127.0.0.1 SMTP-IN 127.0.0.1 1008 RCPT RCPT+TO:<ernestltd@yahoo.co.uk> 250+Requested+mail+action+okay,+completed WEBJECTIVES 43 33
2013-12-09 18:42:41 127.0.0.1 SMTP-IN 127.0.0.1 1008 DATA DATA 354+Start+mail+input;+end+with+<CRLF>.<CRLF> WEBJECTIVES 46 6
2013-12-09 18:42:41 127.0.0.1 SMTP-IN 127.0.0.1 1008 DATA DATA 354+Start+mail+input;+end+with+<CRLF>.<CRLF> WEBJECTIVES 43 135
2013-12-09 18:42:41 127.0.0.1 SMTP-IN 127.0.0.1 1008 QUIT QUIT 221+Service+closing+transmission+channel WEBJECTIVES 42 6
2013-12-09 18:42:43 188.125.69.79 SMTP-OU 1120 CONN 0 63
2013-12-09 18:42:43 188.125.69.79 SMTP-OU 1120 EHLO 220+mta1188.mail.ir2.yahoo.com+ESMTP+YSmtpProxy+service+ready 23 81
2013-12-09 18:42:43 188.125.69.79 SMTP-OU 1120 MAIL EHLO+WEBJECTIVES.home 250-mta1188.mail.ir2.yahoo.com 46 41
2013-12-09 18:42:43 188.125.69.79 SMTP-OU 1120 RCPT MAIL+FROM:<sales@webjectives.co.uk>+SIZE=295 250+sender+<sales@webjectives.co.uk>+ok 33 42
2013-12-09 18:42:43 188.125.69.79 SMTP-OU 1120 DATA RCPT+TO:<ernestltd@yahoo.co.uk> 250+recipient+<ernestltd@yahoo.co.uk>+ok 6 14
2013-12-09 18:42:44 188.125.69.79 SMTP-OU 1120 DATE DATA 354+go+ahead 306 15
2013-12-09 18:42:44 188.125.69.79 SMTP-OU 1120 QUIT 250+ok+dirdel 6 32
From your email script (doesnt work)
2013-12-09 18:20:42 188.65.33.70 SMTP-IN 188.65.33.70 1088 HELO HELO+webjectives 250+Requested+mail+action+okay,+completed WEBJECTIVES 43 18
2013-12-09 18:20:42 188.65.33.70 SMTP-IN 188.65.33.70 1088 MAIL MAIL+FROM:<sales@webjectives.co.uk> 250+Requested+mail+action+okay,+completed WEBJECTIVES 43 37
2013-12-09 18:20:42 188.65.33.70 SMTP-IN 188.65.33.70 1088 RCPT RCPT+TO:<ernestltd@yahoo.co.uk> 503+This+mail+server+requires+authentication+when+attempting+to+send+to+a+non-local+e-mail+address.+Please+check+your+mail+client+settings+or+contact+your+administrator+to+verify+that+the+domain+or+address+is+defined+for+this+server. WEBJECTIVES 235 33
2013-12-09 18:20:42 188.65.33.70 SMTP-IN 188.65.33.70 1088 QUIT QUIT 221+Service+closing+transmission+channel WEBJECTIVES 42 6
Best regards,
Jon Lucas