This topic is locked

Email From

1/9/2006 6:37:11 PM
PHPRunner General questions
A
Alan4573 author

Help....
I set up email to user on registration.
Works great, but the email address I receive the email from is:
Name - Nobody

Email - nobody@server3.simplewebserver.co.uk (my host)
How do I change this so that it reads
Name - Domain Name

Email - registrations@domain.com (where domain.com is my domain name)
I tried searching the forum but all I could find was this
http://www.asprunner.com/forums/index.php?...9&hl=email+from
Can somebody explain what I need to change and where.
Thanks

admin 1/10/2006

Alan,
please try to use the following workaround.

Replace this line in register.php file

mail($strEmail,"Notification on registering",$message);



with the following

mail($strEmail,"Notification on registering",$message,"From: Domain Name <registrations@domain.com>");



or with the following:

mail($strEmail,"Notification on registering",$message,"From: registrations@domain.com");
A
Alan4573 author 1/10/2006

Thanks Sergey
And also add the same code in reminder.php after this line I presume:
mail($data[2],"Password Reminder",$message
Cheers
Alan

admin 1/11/2006

We just uploaded new build 80 where you can enter FROM email address in PHPRunner wizard.

A
Alan4573 author 1/11/2006

We just uploaded new build 80 where you can enter FROM email address in PHPRunner wizard.


Sergey you're a star <img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=reply&id=7479&image=1&table=forumreplies' class='bbc_emoticon' alt=':D' />
I'll download it now....

A
Alan4573 author 1/13/2006

I've downloaded build 83.
The Email from field is now greyed out???? <img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=reply&id=7528&image=1&table=forumreplies' class='bbc_emoticon' alt=':unsure:' />

A
Alan4573 author 1/14/2006

I've downloaded build 83.

The Email from field is now greyed out???? <img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=reply&id=7534&image=1&table=forumreplies' class='bbc_emoticon' alt=':unsure:' />


Ignore this - obviously helps if I select an email field first... <img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=reply&id=7534&image=2&table=forumreplies' class='bbc_emoticon' alt=':rolleyes:' />