close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Contact form going to spam folder

Thread began 8/10/2010 2:18 pm by mandyostermeier206997 | Last modified 8/16/2010 11:40 am by Jason Byrnes | 13337 views | 5 replies |

mandyostermeier206997

Contact form going to spam folder

Hi there,

I removed all the validation and captcha from my form.. but must have removed something I shouldn't. The form works good.. but it always goes into my spam folder with unknown as the sender. Can someone please tell me how to fix this? It took me so long to get my form right, I don't want to have to redo the whole thing!

Thank You =)

Sign in to reply to this post

Jason ByrnesWebAssist

Did you remove the email address form element? This is used by the contact form as the from address, an email with no from address will be treated as spam.


you could edit the WA_Universal_Email/WAUE_contact_1.php file, and change:

php:
$MailFrom        = "".((isset($_POST["Email_address"]))?$_POST["Email_address"]:"")  ."";




to:

php:
$MailFrom        = "your@emailaddress.com";



to hard code the from address.

Sign in to reply to this post

mandyostermeier206997

Thank You!!! =) Worked like a charm.

Can you tell me one more thing? How do I change the subject line?

Thx

Sign in to reply to this post

Jason ByrnesWebAssist

in the WA_Globals.php file, change the following:

php:
$WAGLOBAL_Contact_Email_Subject = "Online Contact Form Response" ;
Sign in to reply to this post

mandyostermeier206997

Thank You =)

Sign in to reply to this post

Jason ByrnesWebAssist

you're welcome.

Sign in to reply to this post

prankstar3445831

PHP contact form mail goin in spam box

Hey Jason,

I am also facing the same problem ie. my php enquiry form is going in my spam box.

You have mentioned that following code should be used :

$MailFrom = "your@emailaddress.com";

I am using php for the first time so in the above mail id part,do i have to enter my email id.

And i have to put a cc mail id also so what be done for that?

Awaiting your reply asap.

Sign in to reply to this post

Jason ByrnesWebAssist

yes, in the WA_Universal_Email/WAUE_contact_1.php file, you would need to change:

php:
$MailFrom        = "".((isset($_POST["Email_address"]))?$_POST["Email_address"]:"")  ."";


to:

php:
$MailFrom        = "your@emailaddress.com";




where "your@emailaddress.com" is your email address.

to add a cc address, edit the WA_Globals/WAGlobal.php file, and add the CC Address to the "$WAGLOBAL_Contact_Email_CC" setting:

php:
$WAGLOBAL_Contact_Email_CC = "ccAddress@domain.com" ;
Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...